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

    XMLWordPrintable

Details

    Description

      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

      Attachments

        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

        Issue Links

          Activity

            People

              jhoarau Julien Michel Hoarau (Inactive)
              dunterwurzacher Denise Unterwurzacher [Atlassian] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: