Confluence Space XML Import procedure fails with timeout
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Fisheye および Crucible は除く
問題
When trying to import a Space via XML file, it fails. The window shows the following message:
Import failed. Check your server logs for more information. Error putting scheduler on standby just prior to backup restore. Please wait a few minutes before trying again. If this error persists, please try restarting the server
診断
環境
- Confluence with Crowd for User Management.
The following messages should appear in the logs:
2017-02-26 13:02:03,380 ERROR [Long running task: Importing data] [confluence.importexport.xmlimport.BackupImporter] preImport Timed out waiting for atlassian-scheduler currently executing jobs to complete: [RunningJobImpl[startTime=1488113916899,jobId=com.atlassian.crowd.manager.directory.monitor.poller.DirectoryPollerManager.1146881,jobConfig=JobConfig[jobRunnerKey=com.atlassian.crowd.manager.directory.monitor.poller.DirectoryPollerManager,runMode=RUN_LOCALLY,schedule=Schedule[type=INTERVAL,intervalScheduleInfo=IntervalScheduleInfo[firstRunTime=Sun Feb 26 12:58:36 UTC 2017,intervalInMillis=3600000]],parameters={DIRECTORY_ID=1146881}],cancelled=true]]
-- url: /admin/restore-local-file.action | traceId: 6097777ec646d1bc | userName: root | action: restore-local-file
さらに...
-- url: /admin/restore-local-file.action | traceId: 6097777ec646d1bc | userName: root | action: restore-local-file
com.atlassian.confluence.importexport.ImportExportException: Error putting scheduler on standby just prior to backup restore. Please wait a few minutes before trying again. If this error persists, please try restarting the server.
原因
The Restore procedure triggers an LDAP sync (Crowd) which adds much more time to the process, so it exceeds the configured timeout and the import fails. This is a known issue that is being tracked at - CONFSERVER-53197Getting issue details... STATUS
回避策
As a workaround for this issue, you should disable the user management platform and try the import again. This should solve this issue.