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

Cannot use JIRA for User Management during Installation - process hangs and will not continue

      Steps to Reproduce

      1. Install Confluence 4.3.3
      2. Run through the setup wizard and select JIRA for User Management
      3. Enter your JIRA server credentials
      4. The page will not move forward, the next button is greyed out, and you will see this error in the logs:
        2012-11-23 16:06:17,232 ERROR [Long running task: Synchronising JIRA Directory] [confluence.setup.actions.ConnectToJiraSyncDirectoryAction$SyncJiraDirectoryLongRunningTask] doInTransactionWithoutResult User <admin> does not exist
         -- referer: http://localhost:10433/setup/connecttojirasyncdirectory-start.action | url: /setup/connecttojirasyncdirectory-start.action | userName: anonymous | action: connecttojirasyncdirectory-start
        com.atlassian.crowd.exception.UserNotFoundException: User <admin> does not exist
        

        where <admin> is the admin user in JIRA, and does exist.

      See the attached log for the full stack trace and errors.

      NB: A similar error occurred in Confluence 4.3.2, but the error in the logs is this:

      2012-11-23 16:26:32,309 ERROR [http-10432-1] [atlassian.confluence.servlet.ConfluenceServletDispatcher] sendError Could not execute action
       -- referer: http://localhost:10432/setup/connecttojira-start.action | url: /setup/connecttojirasyncdirectory-start.action | userName: anonymous
      java.lang.NullPointerException
              at com.atlassian.confluence.setup.actions.ConnectToJiraSyncDirectoryAction.getInternalDirectoryId(ConnectToJiraSyncDirectoryAction.java:81)
      

      Sometimes there is no error, but the page hangs at

      The last line in the logs is:

      2012-11-23 17:33:57,401 INFO [Long running task: Synchronising JIRA Directory] [atlassian.crowd.directory.DbCachingRemoteChangeOperations] findGroupsToUpdate scanned and compared [ 42 ] groups for update in DB cache in [ 6ms ]
      

      Again see the attached 4.3.2 log for full error and stack trace.

      Workaround

      1. Clean the Confluence install by backing up and removing the contents of <confluence-home>, and backing up the database.
      2. Run the installation again
      3. Select to Continue and Overwrite Existing Data in the database, and continue
      4. Instead of choosing JIRA for User Management, select to Manage Users and Groups Within Confluence
      5. Create an admin account
      6. Once you are into Confluence, set up JIRA as a User Directory by following these instructions

        1. atlassian-confluence-432.log
          26 kB
        2. atlassian-confluence-433.log
          34 kB
        3. CONF-27338-attachments.zip
          60 kB
        4. jirausermgmt.png
          jirausermgmt.png
          22 kB

            [CONFSERVER-27338] Cannot use JIRA for User Management during Installation - process hangs and will not continue

            set-jac-bot made changes -
            Link New: This issue details CONFSERVER-27394 [ CONFSERVER-27394 ]
            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2902586 ] New: CONFSERVER Bug Workflow v4 [ 2997226 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2800083 ] New: JAC Bug Workflow v3 [ 2902586 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2730548 ] New: JAC Bug Workflow v2 [ 2800083 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2400647 ] New: JAC Bug Workflow [ 2730548 ]
            Alex Yakovlev (Inactive) made changes -
            Labels Original: affects-server bugfix external-user-management jira-integration kaap294 loyalty setup/installation team-ants users&groups New: affects-server external-user-management jira-integration kaap294 loyalty setup/installation team-ants users&groups
            Alex Yakovlev (Inactive) made changes -
            Labels Original: affects-server bugfix external-user-management jira-integration kaap294 setup/installation team-ants users&groups New: affects-server bugfix external-user-management jira-integration kaap294 loyalty setup/installation team-ants users&groups
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2300281 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2400647 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2234420 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2300281 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2196826 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2234420 ]

              jhoarau Julien Michel Hoarau (Inactive)
              dunterwurzacher Denise Unterwurzacher [Atlassian] (Inactive)
              Affected customers:
              0 This affects my team
              Watchers:
              18 Start watching this issue

                Created:
                Updated:
                Resolved: