Closed leancode closed 2 years ago
OK I made progress: The URL for the user_external is wrong in setup/nextcloud.sh The script creates:
https://github.com/nextcloud-releases/user_external/releases/download/v2.1.0/user_external-v2.1.0.tar.gz
But it should be:
https://github.com/nextcloud/user_external/releases/download/vv2.1.0/user_external-v2.1.0.tar.gz
changing the setup/nextcloud.sh script to reflect this the 21.0.9 upgrade goes well.
From here the plot thickens. The next failure is when installing 22.2.6: Upgrading to Nextcloud version 22.2.6
FAILED: wget -O /tmp/user_external.tgz https://github.com/nextcloud/user_external/releases/download/v3.0.0/user_external-3.0.0.tar.gz
-----------------------------------------
--2022-07-20 22:10:38-- https://github.com/nextcloud/user_external/releases/download/v3.0.0/user_external-3.0.0.tar.gz
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2022-07-20 22:10:38 ERROR 404: Not Found.
I will report more when I know more
OK the original URL in setup/nextcloud.sh is correct for the 3.0.0 of user_external but not for the earlier ones. I would love to do a pull request but I am not that good with bash! Thank you guys. I am back up and running but this is a bug.
Any update on this issue? it's borked my install. i've managed to get the webmail to work (which also broke, as i'm guessing the upgrade script stopped halfway through due to incorrect URL for nextcloud install). But I can't get the admin part of the system to work.
@petertayloruk That is exactly what happened to me. While this is open you have to manually edit the url in setup/nextcloud.sh before running the setup script. Also make sure you comment out the pulling of the latest otherwise your edit will be immediately overwriten. This way, version by version I was able to get back up and running. Once you are upgraded to 3.0 of nextcloud, future upgrades should work as usual again, because the url for the 3.0 is actually correct. Take a look at the patch from @JokerfaceHD, that shows you what is going on.
Yawhoops! I'll take care of that ASAP. Sorry for the delay!
v60.0 was released and the problem should be fixed by now. Otherwise, feel free to reopen! Thanks for waiting here with me :sweat_smile:
I was upgrading from 56.3 (not 100% certain but something of that sort) and got an error. I tried again and screen captured the same error, see below during Nextcloud upgrade step. The mail server is still running and imap is serving and admin page is up but no nextcloud or webmail. Where do I go from here?