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

Plugin System upgrade tasks should not be run before JIRA's own upgrade tasks are run

    XMLWordPrintable

Details

    Description

      One of our plugin upgrade tasks needs to create a new user group. But it fails with a message:

      com.atlassian.crowd.exception.runtime.OperationFailedException: No Crowd Application available.

      This is because the 'embedded_crowd' application is not found.

      After reading the log, it turns out that the 'embedded_crowd' application is added by JIRA's own upgrade task 601, which is run after the plugin upgrade tasks are run.

      The PluginUpgradeManager listens to JiraStartedEvent, which is fired at the end of ComponentManager.quickStart(), which is part of the ConsistencyLauncher, which runs before UpgradeLauncher that runs JIRA's own upgrade tasks.

      Attachments

        Issue Links

          Activity

            People

              pleschev Peter Leschev
              awei Alex Wei (DE)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: