Details
-
Bug
-
Resolution: Fixed
-
High
-
19
-
Severity 3 - Minor
-
0
-
Description
Summary
Import from Server to Cloud fails
Environment
Steps to Reproduce
- Export JIRA Server
- Import the file on JIRA Cloud
Expected Results
Import finishes successfully
Actual Results
Non recoverable error during cloudImport: Import task failed: [The upgrade task manager has returned a non-successful result from running the upgrades]
Notes
Similar to bug JRACLOUD-67130
Workaround
- In splunk, find the affected build number
{ [-] @laas: { [+] } @timestamp: 2017-11-08T01:33:44.854Z ctx: { [+] } ec2: { [+] } env: prod-east ext: { [+] } host: ip-10-124-137-59.useast.atl-inf.io hostname: fe02da372311 level: ERROR location: { [+] } logger: cloud.atlassian.upgrade.core.DefaultUpgradeTaskFactoryProcessor m: { [+] } message: Cannot downgrade as there is an upgrade task for factory (host) and build number (73011) that has not completed pid: 32 product: jira thread: pool-53-thread-1 time: 2017-11-08T01:33:44Z timestamp: 2017-11-08T01:33:44,854Z }
- Search for the upgrade history id in entities.xml file that has the affected build number
example:<UpgradeTaskHistory id="10005" upgradeTaskFactoryKey="host" buildNumber="73011" status="FAILED" upgradeType="SERVER"/>
<UpgradeTaskHistoryAuditLog id="10005" upgradeTaskFactoryKey="host" buildNumber="73011" status="FAILED" upgradeType="SERVER" timeperformed="2017-10-31 10:47:00.097" action="upgrade"/> <UpgradeTaskHistoryAuditLog id="10100" upgradeTaskFactoryKey="host" buildNumber="73011" status="FAILED" upgradeType="SERVER" timeperformed="2017-11-01 16:35:25.813" action="upgrade"/> <UpgradeTaskHistoryAuditLog id="10200" upgradeTaskFactoryKey="host" buildNumber="73011" status="FAILED" upgradeType="SERVER" timeperformed="2017-11-01 17:42:36.14" action="upgrade"/> <UpgradeTaskHistoryAuditLog id="10300" upgradeTaskFactoryKey="host" buildNumber="73011" status="FAILED" upgradeType="SERVER" timeperformed="2017-11-01 17:48:13.427" action="upgrade"/> <UpgradeTaskHistoryAuditLog id="10400" upgradeTaskFactoryKey="host" buildNumber="73011" status="FAILED" upgradeType="SERVER" timeperformed="2017-11-02 19:28:45.587" action="upgrade"/>
- Remove that from the entities.xml file
- Zip backup file
- Perform JIRA Restoration
Attachments
Issue Links
- is related to
-
JRACLOUD-67628 Unable to import backup from JIRA Server into JIRA Cloud - QueryException: Caught PSQLException for select count(*) from "public"."AO_60DB71_RAPIDVIEW
- Closed
-
JST-317082 Loading...
- mentioned in
-
Page Loading...
- relates to
-
VPP-3489 Loading...