Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-54570

Import from another Cloud Confluence instance throws GroupNotFoundException

      Summary

      Importing from another Cloud Confluence instance throws the error GroupNotFoundException

      Environment

      Confluence Cloud

      Steps to Reproduce

      1. Create two Cloud Confluence instances with same version.
      2. Create backup from Instance #1 from backup manager
      3. Import to Instance #2. Import will fail and roll back with:

        Import failed. Check your server logs for more information. com.atlassian.crowd.exception.runtime.GroupNotFoundException: Group does not exist

      Expected Results

      The import from one Confluence instance to the other should have been successful

      Actual Results

      The instance throws the error GroupNotFoundException

      @4000000053b6c805014ad174 2014-07-05 01:27:55,019 ERROR [Long running task: Importing data] [confluence.importexport.actions.ImportLongRunningTask] runInternal Failure during import
      @4000000053b6c805014ad55c  -- url: /wiki/admin/import/doimportconfluencesite.action | userName: sysadmin | referer: https://subcon.atlassian.net/wiki/admin/import/importconfluencesite.action | action: doimportconfluencesite
      @4000000053b6c805014ad944 com.atlassian.confluence.user.UserManagementOperationFailedException: com.atlassian.crowd.exception.runtime.GroupNotFoundException: Group <atlassian-addons> does not exist
      @4000000053b6c805014af0b4       at com.atlassian.confluence.user.DefaultUserAccessor.addMembership(DefaultUserAccessor.java:173)
      @4000000053b6c805014af0b4       at bucket.user.DefaultUserAccessor.addMembership(DefaultUserAccessor.java:488)
      
      com.atlassian.crowd.exception.runtime.GroupNotFoundException: Group <_licensed-confluence> does not exist
      

      Solution / Workaround

      1. Add a new group in the target instance (dummy-group is the name I chose)
      2. Edit the XML backup to replace _licensed-confluence with dummy-group
      3. Re-import

          Form Name

            [CONFCLOUD-54570] Import from another Cloud Confluence instance throws GroupNotFoundException

              fxu Feng Xu (Inactive)
              smackie@atlassian.com Shannon S
              Affected customers:
              13 This affects my team
              Watchers:
              32 Start watching this issue

                Created:
                Updated:
                Resolved: