Upgrade fails with SHA512sum mismatch
プラットフォームについて: 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 は除く
This is for an outdated version of Hipchat Server
This article applies to a version of Hipchat Server which will be deprecated soon. After that period the version will no longer be supported.
You should upgrade to a more recent version of Hipchat Server as soon as you can to take advantage of new features, and security and bug fixes.
問題
When upgrading Hipchat Server, there is a SHA512sum error thrown and the upgrade fails to complete. The following error appears in the console output:
Calculated sha512sum: d4587df859cb8cd813ddba3b2527c8fb00df57ca49395182d9406e7790bd7445367a0954f5f2ae4802bf362e0712518f69ff5cbe37b79d6d9956dbf5cf80d7e4 hcs-2.0.6-2016.10.11.013406.tar.gz
There was an unexpected error: Mismatch of expected sha512sum "bf2ac48bd6ee2e6356b17c2f3445ae16ccb27cd9209c5cc4497c6445ec6d768384e9285b79b891c6dfe55cb8fda01fef7812c1321600410dfb9ecbc5cd6467f5 hcs-2.0.6-2016.10.11.013406.tar.gz" does not match "d4587df859cb8cd813ddba3b2527c8fb00df57ca49395182d9406e7790bd7445367a0954f5f2ae4802bf362e0712518f69ff5cbe37b79d6d9956dbf5cf80d7e4 hcs-2.0.6-2016.10.11.013406.tar.gz"
診断
環境
- Hipchat Server during upgrade to Hipchat Server v2.x
原因
The Hipchat Server tar archive (shown as hcs-2.0.6-2016.10.11.013406.tar.gz in the example) is either corrupted or doesn't completely download resulting in a mismatch when the SHA512sum check is run.
- HCPUB-2326Getting issue details... STATUS
回避策
Since the problem is related to a corrupted or incomplete tar archive downloaded from the upgrade repository, please re-attempt the upgrade using the hipchat upgrade --force-upgrade
command and wait for it to complete. If the problem persists, then please follow the steps from How to perform offline upgrades in Hipchat Server to complete the upgrade.