Bug #5517
openProblem with upgrading to Community-4.15
0%
Description
During the process of upgrading the Community-4.15 product, there is a check problem (MD5 check), the following information appears:
rccontrol self-update
Falling back and looking at the MANIFEST
Currently running RhodeCode Control version "1.21.0"
Updating MANIFEST file with latest version from https://dls.rhodecode.com/linux/MANIFEST
New version of Community:community-1 is available. Installed 4.14.1, 4.15.0 is available.
Latest version "1.21.0"
No new version of RhodeCode Control available.
$ rccontrol self-update && rccontrol upgrade '*'
Falling back and looking at the MANIFEST
Currently running RhodeCode Control version "1.21.0"
Updating MANIFEST file with latest version from https://dls.rhodecode.com/linux/MANIFEST
New version of Community:community-1 is available. Installed 4.14.1, 4.15.0 is available.
Latest version "1.21.0"
No new version of RhodeCode Control available.
Checking for available update for community-1 @ 4.14.1
Upgrade to version 4.15.0 is available.
Stopped community-1
Downloading https://dls.rhodecode.com/linux/RhodeCodeCommunity-4.15.0+x86_64-linux_build20181210_2100.tar.bz2 ...
MD5 check failed. '/home/rhodecode/.rccontrol/cache/RhodeCodeCommunity-4.15.0+x86_64-linux_build20181210_2100.tar.bz2.tmp' should be '33319fb97a39d28a52c109fd9c5fd5e6' but got 'c0af1199b391917b84eef93552e58f1d'
Traceback (most recent call last):
File "/opt/rhodecode/store/aj0j6v1jkb76k62p0ss0xiay9llrs89b-python2.7-rhodecode-control-1.21.0/lib/python2.7/site-packages/rccontrol/upgrade.py", line 83, in main
File "/opt/rhodecode/store/aj0j6v1jkb76k62p0ss0xiay9llrs89b-python2.7-rhodecode-control-1.21.0/lib/python2.7/site-packages/rccontrol/lib/context.py", line 2643, in upgrade
File "/opt/rhodecode/store/aj0j6v1jkb76k62p0ss0xiay9llrs89b-python2.7-rhodecode-control-1.21.0/lib/python2.7/site-packages/rccontrol/lib/context.py", line 627, in upgrade
File "/opt/rhodecode/store/aj0j6v1jkb76k62p0ss0xiay9llrs89b-python2.7-rhodecode-control-1.21.0/lib/python2.7/site-packages/rccontrol/lib/context.py", line 646, in upgrade_profile_link
File "/opt/rhodecode/store/aj0j6v1jkb76k62p0ss0xiay9llrs89b-python2.7-rhodecode-control-1.21.0/lib/python2.7/site-packages/rccontrol/lib/context.py", line 249, in _get_app_path
File "/opt/rhodecode/store/aj0j6v1jkb76k62p0ss0xiay9llrs89b-python2.7-rhodecode-control-1.21.0/lib/python2.7/site-packages/rccontrol/lib/context.py", line 861, in install
File "/opt/rhodecode/store/aj0j6v1jkb76k62p0ss0xiay9llrs89b-python2.7-rhodecode-control-1.21.0/lib/python2.7/site-packages/rccontrol/lib/context.py", line 814, in download
DownloadFailedChecksum: MD5 check failed. '/home/rhodecode/.rccontrol/cache/RhodeCodeCommunity-4.15.0+x86_64-linux_build20181210_2100.tar.bz2.tmp' should be '33319fb97a39d28a52c109fd9c5fd5e6' but got 'c0af1199b391917b84eef93552e58f1d'
Rolling back to previous version.
Auto starting community-1
Checking for available update for vcsserver-1 @ 4.15.0
Instance is at the latest known version.
Run 'rccontrol self-update' to check for new versions.
Supervisord state is: RUNNING
Updated by Marcin Kuzminski [CTO] about 6 years ago
- Priority changed from Normal to Urgent
Updated by Marcin Kuzminski [CTO] about 6 years ago
- Status changed from New to Resolved
This is now resolved.
There was some duplicate entries inside the MANIFEST file which contained links to our staging server which we test the builds before releasing. After removing those all is fine now.
@team: We have to check why this happend, and maybe fix the move script to detect this.