Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-72964

Plugin install shows "An unexpected error occurred. Please refer to the logs for more information."

    XMLWordPrintable

Details

    Description

      Issue Summary

      Plugin install shows "An unexpected error occurred. Please refer to the logs for more information."

      Steps to Reproduce

      1. Go to admin UI, Manage Apps, User-installed apps, Upload app
      2. upload the application jar

      Expected Results

      The modal window shows progress, disappears on completion, and the page shows the installed plugin.

      Actual Results

      A page element appears in red "An unexpected error occurred. Please refer to the logs for more information." The modal window does not show progress and does not go away on completion. Page does not refresh to see the new installed plugin.

      No exceptions are thrown in the atlasian-jira.log file:

      2021-10-28 05:54:20,341-0400 UpmAsynchronousTaskManager:thread-4 INFO admin 354x811x1 hgit8x 10.0.2.2 /rest/plugins/1.0/ [c.a.plugin.loaders.ScanningPluginLoader] No plugins found to be installed
      2021-10-28 05:54:24,264-0400 UpmAsynchronousTaskManager:thread-4 INFO admin 354x811x1 hgit8x 10.0.2.2 /rest/plugins/1.0/ [c.a.plugin.util.WaitUntil] Plugins that have yet to be enabled: (1): [com.xiplink.jira.git.jira_git_plugin], 300 seconds remaining
      2021-10-28 05:54:25,277-0400 UpmAsynchronousTaskManager:thread-4 INFO admin 354x811x1 hgit8x 10.0.2.2 /rest/plugins/1.0/ [c.a.plugin.util.WaitUntil] Plugins that have yet to be enabled: (1): [com.xiplink.jira.git.jira_git_plugin], 298 seconds remaining
      2021-10-28 05:54:26,279-0400 UpmAsynchronousTaskManager:thread-4 DEBUG admin 354x811x1 hgit8x 10.0.2.2 /rest/plugins/1.0/ [c.a.activeobjects.osgi.OsgiServiceUtilsImpl] Registering service net.java.ao.atlassian.AtlassianTableNameConverter@6ee5fe92 with interface net.java.ao.schema.TableNameConverter and properties {com.atlassian.plugin.key=com.xiplink.jira.git.jira_git_plugin}
      2021-10-28 05:54:26,283-0400 UpmAsynchronousTaskManager:thread-4 DEBUG admin 354x811x1 hgit8x 10.0.2.2 /rest/plugins/1.0/ [c.a.activeobjects.osgi.OsgiServiceUtilsImpl] Registering service com.atlassian.activeobjects.config.internal.DefaultActiveObjectsConfiguration@95002c79 with interface com.atlassian.activeobjects.config.ActiveObjectsConfiguration and properties {com.atlassian.plugin.key=com.xiplink.jira.git.jira_git_plugin}
      2021-10-28 05:54:26,290-0400 UpmAsynchronousTaskManager:thread-4 DEBUG admin 354x811x1 hgit8x 10.0.2.2 /rest/plugins/1.0/ [c.a.activeobjects.osgi.ActiveObjectsServiceFactory] onPluginModuleEnabledEvent storing unattached <ao> configuration module for [com.xiplink.jira.git.jira_git_plugin]
      2021-10-28 05:54:26,633-0400 UpmAsynchronousTaskManager:thread-4 INFO admin 354x811x1 hgit8x 10.0.2.2 /rest/plugins/1.0/ [c.a.c.e.c.a.j.config.DefaultReindexMessageManager.propertiesReference] Cache com.atlassian.jira.config.DefaultReindexMessageManager.propertiesReference was flushed
      2021-10-28 05:54:26,636-0400 UpmAsynchronousTaskManager:thread-4 INFO admin 354x811x1 hgit8x 10.0.2.2 /rest/plugins/1.0/ [c.a.c.e.c.a.j.config.DefaultReindexMessageManager.propertiesReference] Cache com.atlassian.jira.config.DefaultReindexMessageManager.propertiesReference was flushed
      2021-10-28 05:54:26,642-0400 UpmAsynchronousTaskManager:thread-4 INFO admin 354x811x1 hgit8x 10.0.2.2 /rest/plugins/1.0/ [c.a.c.e.c.a.j.config.DefaultReindexMessageManager.propertiesReference] Cache com.atlassian.jira.config.DefaultReindexMessageManager.propertiesReference was flushed
      2021-10-28 05:54:26,647-0400 UpmAsynchronousTaskManager:thread-4 INFO admin 354x811x1 hgit8x 10.0.2.2 /rest/plugins/1.0/ [c.a.c.e.c.a.j.config.DefaultReindexMessageManager.propertiesReference] Cache com.atlassian.jira.config.DefaultReindexMessageManager.propertiesReference was flushed
      2021-10-28 05:54:26,652-0400 UpmAsynchronousTaskManager:thread-4 INFO admin 354x811x1 hgit8x 10.0.2.2 /rest/plugins/1.0/ [c.a.c.e.c.a.j.config.DefaultReindexMessageManager.propertiesReference] Cache com.atlassian.jira.config.DefaultReindexMessageManager.propertiesReference was flushed
      2021-10-28 05:54:26,656-0400 UpmAsynchronousTaskManager:thread-4 INFO admin 354x811x1 hgit8x 10.0.2.2 /rest/plugins/1.0/ [c.a.c.e.c.a.j.config.DefaultReindexMessageManager.propertiesReference] Cache com.atlassian.jira.config.DefaultReindexMessageManager.propertiesReference was flushed
      2021-10-28 05:54:26,664-0400 UpmAsynchronousTaskManager:thread-4 INFO admin 354x811x1 hgit8x 10.0.2.2 /rest/plugins/1.0/ [c.a.c.e.c.a.j.config.DefaultReindexMessageManager.propertiesReference] Cache com.atlassian.jira.config.DefaultReindexMessageManager.propertiesReference was flushed
      2021-10-28 05:54:26,670-0400 UpmAsynchronousTaskManager:thread-4 INFO admin 354x811x1 hgit8x 10.0.2.2 /rest/plugins/1.0/ [c.a.c.e.c.a.j.config.DefaultReindexMessageManager.propertiesReference] Cache com.atlassian.jira.config.DefaultReindexMessageManager.propertiesReference was flushed
      2021-10-28 05:54:26,671-0400 UpmAsynchronousTaskManager:thread-4 INFO admin 354x811x1 hgit8x 10.0.2.2 /rest/plugins/1.0/ [c.a.c.e.c.a.j.i.f.c.persistence.CachedFieldConfigSchemePersister.fieldConfigSchemesById] Cache com.atlassian.jira.issue.fields.config.persistence.CachedFieldConfigSchemePersister.fieldConfigSchemesById was flushed
      

      Workaround

      Refresh page manually to see new installed plugin. This is a nuisance and misleading to the admin user, although the plugin installs correctly.

      Attachments

        Activity

          People

            Unassigned Unassigned
            emarghidan Eduard M
            Votes:
            43 Vote for this issue
            Watchers:
            34 Start watching this issue

            Dates

              Created:
              Updated: