Stuck at installing plugin

Tom Luo January 20, 2016

We have been stuck in installing JIRA Syntax Highlighter Plugin for more than one day. The progress bar is staying at about 50%, and the status below is showing something like "Downloading    Installing". When other admins click on Add-ons tab, it says :

"A long-running task has been initiated by another user.  To avoid conflicts, you will not be able to update add-ons until this task has completed. "

Now JIRA prevents us from doing anything on the Add-ons tab.

 Below are some info and error in catalina.out. Please kindly help us out. Thanks.

 

  • 2016-01-19 12:58:40,402 UpmAsynchronousTaskManager:thread-4 INFO foh 680x153490x4 uwgohe 10.100.20.159 /rest/plugins/1.0/available/popular [c.a.plugin.loaders.ScanningPluginLoader] No plugins found to b
    e installed
    2016-01-19 12:58:40,852 UpmAsynchronousTaskManager:thread-4 INFO foh 680x153490x4 uwgohe 10.100.20.159 /rest/plugins/1.0/available/popular [c.a.plugin.util.WaitUntil] Plugins that have yet to be enabled
    : (1): [jira.plugin.syntaxhighlighter.macro.syntaxplugin], 60 seconds remaining
    2016-01-19 12:58:52,160 Caesium-1-4 WARN anonymous    MRM Security handler [c.a.mail.incoming.mailfetcherservice] MRM Security handler[10102]: javax.mail.AuthenticationFailedException: Logon failure: un
    known user name or bad password. while connecting to host '10.6.0.23' as user 'JIRAsecurityMRM' via protocol 'pop3
    2016-01-19 12:58:57,633 http-bio-8443-exec-761 WARN DOrtega 778x301393x5 1uhhxku 10.25.110.32 /rest/dev-status/1.0/issue/summary [c.a.j.p.devstatus.provider.DefaultCoordinator] sav-jira01 (not_configure
    d)
    2016-01-19 12:59:47,544 http-bio-8443-exec-771 WARN DOrtega 779x302119x1 1uhhxku 10.25.110.32 /rest/dev-status/1.0/issue/summary [c.a.j.p.devstatus.provider.DefaultCoordinator] sav-jira01 (not_configure
    d)
    2016-01-19 12:59:52,262 Caesium-1-1 WARN anonymous    MRM Security handler [c.a.mail.incoming.mailfetcherservice] MRM Security handler[10102]: javax.mail.AuthenticationFailedException: Logon failure: un
    known user name or bad password. while connecting to host '10.6.0.23' as user 'JIRAsecurityMRM' via protocol 'pop3
    2016-01-19 13:00:20,315 http-bio-8443-exec-758 WARN JeMartinez 780x302274x1 1rgjvpo 10.50.20.70 /rest/dev-status/1.0/issue/summary [c.a.j.p.devstatus.provider.DefaultCoordinator] sav-jira01 (not_configu
    red)
    2016-01-19 13:00:52,165 Caesium-1-2 WARN anonymous    MRM Security handler [c.a.mail.incoming.mailfetcherservice] MRM Security handler[10102]: javax.mail.AuthenticationFailedException: Logon failure: un
    known user name or bad password. while connecting to host '10.6.0.23' as user 'JIRAsecurityMRM' via protocol 'pop3
    2016-01-19 13:00:56,970 http-bio-8443-exec-785 ERROR anonymous 780x302408x4 dgbnk6 10.50.20.61 /s/6975220d14a1ac1a8b0613526e088c4e-CDN/en_USvqep62/70114/b6b48b2829824b869586ac216d119363/78ac4aef1a6c275a
    361cbc495d461dc6/_/download/contextbatch/js/jira.view.issue,jira.navigator.simple,jira.navigator.advanced,jira.navigator.kickass,atl.general,atl.global,jira.global,jira.general,-_super/batch.js [o.a.c.c
    .C.[.[localhost].[/].[file-server]] Servlet.service() for servlet file-server threw exception
    java.lang.RuntimeException: org.apache.catalina.connector.ClientAbortException: java.net.SocketException: Broken pipe
            at com.atlassian.plugin.cache.filecache.impl.StreamsCache.streamFromFile(StreamsCache.java:140)
            at com.atlassian.plugin.cache.filecache.impl.OneStreamCache.stream(OneStreamCache.java:65)
            at com.atlassian.plugin.cache.filecache.impl.FileCacheImpl.cache(FileCacheImpl.java:100)
            at com.atlassian.plugin.webresource.http.Controller$1CachedContentImpl.cache(Controller.java:317)
            at com.atlassian.plugin.webresource.http.Controller$1CachedContentImpl.writeTo(Controller.java:272)
            at com.atlassian.plugin.webresource.http.Controller.sendCached(Controller.java:364)
            at com.atlassian.plugin.webresource.http.Controller.serveResources(Controller.java:179)
            at com.atlassian.plugin.webresource.http.Controller.serveBatch(Controller.java:78)
            at com.atlassian.plugin.webresource.http.Router$5.apply(Router.java:97)
            at com.atlassian.plugin.webresource.http.Router$5.apply(Router.java:89)
            at com.atlassian.plugin.webresource.support.http.BaseRouter.callHandler(BaseRouter.java:185)
            at com.atlassian.plugin.webresource.support.http.BaseRouter.dispatch(BaseRouter.java:161)
            at com.atlassian.plugin.webresource.servlet.PluginResourceDownload.serveFile(PluginResourceDownload.java:67)
            at com.atlassian.plugin.servlet.AbstractFileServerServlet.doGet(AbstractFileServerServlet.java:33)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:618)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)

 

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 20, 2016

This install should take a few seconds at most.

The errors in your log are not actually much to do with the add-on, they seem to be email related, and saying that you need to fix a couple of connections to your email server (you've configured the wrong username/password combination in one or more JIRA "incoming email" servers, and it can't connect because the login is wrong)

Tom Luo January 21, 2016

Nic,

Thank you very much for your reply.

I double check the catalina log file, the line in bold in my previous reported log is the only line contains the add-on name.

Is there any way to restore or clean it up without affecting the data?

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 21, 2016

It's complaining about other long-running tasks, which could be a lot of things.  I suspect you need to try to id them to rule them out or fix them.

As a short term attempt to fix it, you could try clearing the add-on cache.

  • Stop JIRA
  • Go to <JIRA installation>/work
  • Move the files in that directory to a backup directory somewhere outside the installation (your home directory is a good one).  Do NOT delete the directory itself, only the content.
  • Go to <JIRA data>/Plugins
  • Move the .osgi-plugins and .bundled-plugins directories to somewhere safe (your home again?)
  • Restart JIRA and monitor the logs for errors
Peter Pasho December 8, 2016

Hi Nic,

I'm having the same issue trying to upgrade gliffy add-on for confluence.  Should the same concept work there of moving the osgi-plugins and bundled-plugins directories and restarting?

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 9, 2016

It's a "hard clearing of the plugin cache".  The same steps can be used on Confluence, up until 5.10 (I'm not sure about 6 yet).  Do NOT try it on a Data Centre install though... (That goes for JIRA DC too)

Suggest an answer

Log in or Sign up to answer