Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-40299

Confluence failed to upgrade to 5.6 or later from the old cluster setting

    XMLWordPrintable

Details

    Description

      Here is the step to reproduce:

      1. Install a Confluence old cluster with Confluence version 5.5.6 or earlier.
      2. Upgrade the Confluence instance to version 5.6.6 or later.

      Expected behaviour

      Confluence should startup and trigger the upgrade task.

      Current behaviour

      The Confluence startup with the following message in the log file:

      2015-12-22 11:28:24,961 INFO [localhost-startStop-1] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 5.6.6 [build 5639 based on commit hash a252d7f5e75d7a8bf7047b4b2c92f71a56a8f048]
      2015-12-22 11:28:26,592 INFO [localhost-startStop-1] [atlassian.plugin.manager.DefaultPluginManager] earlyStartup Plugin system earlyStartup begun
      2015-12-22 11:28:28,442 INFO [localhost-startStop-1] [atlassian.plugin.manager.DefaultPluginManager] earlyStartup Plugin system earlyStartup finished in 0:00:01.849
      2015-12-22 11:28:28,443 INFO [localhost-startStop-1] [atlassian.plugin.manager.DefaultPluginManager] lateStartup Plugin system lateStartup begun
      2015-12-22 11:28:29,537 INFO [localhost-startStop-1] [atlassian.plugin.manager.DefaultPluginManager] lateStartup Plugin system lateStartup finished in 0:00:01.094
      2015-12-22 11:28:29,586 WARN [localhost-startStop-1] [atlassian.confluence.plugin.PluginFrameworkContextListener] contextInitialized Not starting full plugin system due to error in main spring context
      2015-12-22 11:28:30,002 INFO [localhost-startStop-1] [com.atlassian.confluence.lifecycle] init Confluence is ready to serve
      

      The upgrade task is not triggered.

      Root cause:

      The cluster setting <property name="confluence.cluster">true</property> seems cause the Application initialisation failure.

      Workaround solution:

      Edit the file confluence.cfg.xml to change the setting:

      1. <setupStep>complete</setupStep>
      2. <property name="confluence.cluster">false</property>
      3. <setupType>cluster</setupType>

      Clear the plugin cache and remove the folder webresource-temp before restart. Once Confluence is started, you might need to go to the page "<Confluence base URL>/fixonly/fixlicense.action" and update the license to an evaluation license. Then restart to trigger the upgrade procedure again. Once the upgrade is done, we can perform the migration from standalone to Data Center.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yilinmo Yilin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: