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

Installation fails at "Load users and groups from JIRA"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • High
    • 5.4.3
    • 5.4.1

    Description

      When I try to install confluence the setup freezes at the "Load users and groups from JIRA" step. The "Next" button doesn't get enabled although the I get the message "Full synchronisation completed successfully.".

      The log shows an exception:

      2014-01-15 01:39:04,307 INFO [Long running task: Synchronising JIRA Directory] [atlassian.crowd.directory.DbCachingRemoteDirectory] synchroniseCache synchronisation for directory [ 360449 ] starting
      2014-01-15 01:39:04,370 INFO [Long running task: Synchronising JIRA Directory] [directory.ldap.cache.RemoteDirectoryCacheRefresher] findAllRemoteUsers found [ 23 ] remote users in [ 63ms ]
      2014-01-15 01:39:04,375 INFO [Long running task: Synchronising JIRA Directory] [atlassian.crowd.directory.DbCachingRemoteChangeOperations] deleteCachedUsersNotIn scanned and compared [ 23 ] users for delete in DB cache in [ 4ms ]
      2014-01-15 01:39:04,375 INFO [Long running task: Synchronising JIRA Directory] [atlassian.crowd.directory.DbCachingRemoteChangeOperations] deleteCachedUsersNotIn scanned for deleted users in [ 4ms ]
      2014-01-15 01:39:04,378 INFO [Long running task: Synchronising JIRA Directory] [atlassian.crowd.directory.DbCachingRemoteChangeOperations] getUsersToAddAndUpdate scanning [ 23 ] users to add or update
      2014-01-15 01:39:04,379 INFO [Long running task: Synchronising JIRA Directory] [atlassian.crowd.directory.DirectoryCacheImplUsingChangeOperations] addOrUpdateCachedUsers scanned and compared [ 23 ] users for update in DB cache in [ 3ms ]
      2014-01-15 01:39:04,380 INFO [Long running task: Synchronising JIRA Directory] [atlassian.crowd.directory.DirectoryCacheImplUsingChangeOperations] addOrUpdateCachedUsers synchronised [ 23 ] users in [ 4ms ]
      2014-01-15 01:39:04,394 INFO [Long running task: Synchronising JIRA Directory] [directory.ldap.cache.RemoteDirectoryCacheRefresher] findAllRemoteGroups found [ 3 ] remote groups in [ 14ms ]
      2014-01-15 01:39:04,395 INFO [Long running task: Synchronising JIRA Directory] [atlassian.crowd.directory.DirectoryCacheImplUsingChangeOperations] addOrUpdateCachedGroups scanning [ 3 ] groups to add or update
      2014-01-15 01:39:04,398 INFO [Long running task: Synchronising JIRA Directory] [atlassian.crowd.directory.DbCachingRemoteChangeOperations] findGroupsToUpdate scanned and compared [ 3 ] groups for update in DB cache in [ 3ms ]
      2014-01-15 01:39:04,401 INFO [Long running task: Synchronising JIRA Directory] [atlassian.crowd.directory.DirectoryCacheImplUsingChangeOperations] addOrUpdateCachedGroups synchronized [ 3 ] groups in [ 6ms ]
      2014-01-15 01:39:04,405 INFO [Long running task: Synchronising JIRA Directory] [atlassian.crowd.directory.DbCachingRemoteChangeOperations] deleteCachedGroupsNotIn scanned and compared [ 3 ] groups for delete in DB cache in [ 4ms ]
      2014-01-15 01:39:04,428 INFO [Long running task: Synchronising JIRA Directory] [atlassian.crowd.directory.DbCachingRemoteDirectory] synchroniseCache FULL synchronisation complete for directory [ 360449 ] in [ 121ms ]
      2014-01-15 01:39:04,434 ERROR [Long running task: Synchronising JIRA Directory] [confluence.setup.actions.ConnectToJiraSyncDirectoryAction$SyncJiraDirectoryLongRunningTask] runInternal User externalId cannot be changed
       -- url: /setup/connecttojirasyncdirectory-start.action;jsessionid=829AB5A92DD70205CA43D3BF1A89A810 | userName: anonymous | action: connecttojirasyncdirectory-start
      com.atlassian.crowd.exception.InvalidUserException: User externalId cannot be changed
              at com.atlassian.crowd.directory.InternalDirectory.updateUser(InternalDirectory.java:278)
              at com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.updateUser(DirectoryManagerGeneric.java:372)
              at com.atlassian.confluence.setup.actions.ConnectToJiraSyncDirectoryAction$SyncJiraDirectoryLongRunningTask.runInternal(ConnectToJiraSyncDirectoryAction.java:232)
              at com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask.run(ConfluenceAbstractLongRunningTask.java:26)
              at com.atlassian.confluence.util.longrunning.ManagedTask.run(ManagedTask.java:35)
              at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
              at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
              at java.util.concurrent.FutureTask.run(Unknown Source)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
              at java.lang.Thread.run(Unknown Source)
      2014-01-15 01:39:04,435 ERROR [Long running task: Synchronising JIRA Directory] [confluence.util.longrunning.ConfluenceAbstractLongRunningTask] run Long running task "Synchronising JIRA Directory" failed to run.
       -- url: /setup/connecttojirasyncdirectory-start.action;jsessionid=829AB5A92DD70205CA43D3BF1A89A810 | userName: anonymous | action: connecttojirasyncdirectory-start
      java.lang.RuntimeException: com.atlassian.crowd.exception.InvalidUserException: User externalId cannot be changed
              at com.atlassian.confluence.setup.actions.ConnectToJiraSyncDirectoryAction$SyncJiraDirectoryLongRunningTask.runInternal(ConnectToJiraSyncDirectoryAction.java:251)
              at com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask.run(ConfluenceAbstractLongRunningTask.java:26)
              at com.atlassian.confluence.util.longrunning.ManagedTask.run(ManagedTask.java:35)
              at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
              at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
              at java.util.concurrent.FutureTask.run(Unknown Source)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
              at java.lang.Thread.run(Unknown Source)
      Caused by: com.atlassian.crowd.exception.InvalidUserException: User externalId cannot be changed
              at com.atlassian.crowd.directory.InternalDirectory.updateUser(InternalDirectory.java:278)
              at com.atlassian.crowd.manager.directory.DirectoryManagerGeneric.updateUser(DirectoryManagerGeneric.java:372)
              at com.atlassian.confluence.setup.actions.ConnectToJiraSyncDirectoryAction$SyncJiraDirectoryLongRunningTask.runInternal(ConnectToJiraSyncDirectoryAction.java:232)
              ... 8 more
      2014-01-15 01:39:09,314 INFO [scheduler_Worker-1] [atlassian.crowd.directory.DbCachingRemoteDirectory] synchroniseCache synchronisation for directory [ 360449 ] starting
      2014-01-15 01:39:09,352 INFO [scheduler_Worker-1] [directory.ldap.cache.RemoteDirectoryCacheRefresher] findAllRemoteUsers found [ 23 ] remote users in [ 37ms ]
      2014-01-15 01:39:09,356 INFO [scheduler_Worker-1] [atlassian.crowd.directory.DbCachingRemoteChangeOperations] deleteCachedUsersNotIn scanned and compared [ 23 ] users for delete in DB cache in [ 3ms ]
      2014-01-15 01:39:09,357 INFO [scheduler_Worker-1] [atlassian.crowd.directory.DbCachingRemoteChangeOperations] deleteCachedUsersNotIn scanned for deleted users in [ 4ms ]
      2014-01-15 01:39:09,359 INFO [scheduler_Worker-1] [atlassian.crowd.directory.DbCachingRemoteChangeOperations] getUsersToAddAndUpdate scanning [ 23 ] users to add or update
      2014-01-15 01:39:09,360 INFO [scheduler_Worker-1] [atlassian.crowd.directory.DirectoryCacheImplUsingChangeOperations] addOrUpdateCachedUsers scanned and compared [ 23 ] users for update in DB cache in [ 3ms ]
      2014-01-15 01:39:09,361 INFO [scheduler_Worker-1] [atlassian.crowd.directory.DirectoryCacheImplUsingChangeOperations] addOrUpdateCachedUsers synchronised [ 23 ] users in [ 4ms ]
      2014-01-15 01:39:09,379 INFO [scheduler_Worker-1] [directory.ldap.cache.RemoteDirectoryCacheRefresher] findAllRemoteGroups found [ 3 ] remote groups in [ 18ms ]
      2014-01-15 01:39:09,379 INFO [scheduler_Worker-1] [atlassian.crowd.directory.DirectoryCacheImplUsingChangeOperations] addOrUpdateCachedGroups scanning [ 3 ] groups to add or update
      2014-01-15 01:39:09,384 INFO [scheduler_Worker-1] [atlassian.crowd.directory.DbCachingRemoteChangeOperations] findGroupsToUpdate scanned and compared [ 3 ] groups for update in DB cache in [ 4ms ]
      2014-01-15 01:39:09,386 INFO [scheduler_Worker-1] [atlassian.crowd.directory.DirectoryCacheImplUsingChangeOperations] addOrUpdateCachedGroups synchronized [ 3 ] groups in [ 6ms ]
      2014-01-15 01:39:09,388 INFO [scheduler_Worker-1] [atlassian.crowd.directory.DbCachingRemoteChangeOperations] deleteCachedGroupsNotIn scanned and compared [ 3 ] groups for delete in DB cache in [ 1ms ]
      2014-01-15 01:39:09,420 INFO [scheduler_Worker-1] [atlassian.crowd.directory.DbCachingRemoteDirectory] synchroniseCache FULL synchronisation complete for directory [ 360449 ] in [ 106ms ]
      

      Attachments

        Issue Links

          Activity

            People

              shaffenden Steve Haffenden (Inactive)
              987f036545af Markus Helm
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: