Nextcloud version: 19.0.3
Operating system and version: Ubuntu 18.04. (LXD Container)
Apache or nginx version: Apache/2.4.29
PHP version: 7.4.11
Hi!
A few weeks ago I updated my Nextcloud first time over CLI. (Started in Web and after the “Keep maintenance mode active?” question I proceeded further via CLI.)
Since then I can no longer update.
In the Webinterface every Bulletpoint has a Hook.
If I’m going to “Continue Update” it skipped direcetly to “Done”.
If I’m using the manual way I got the most time 500er.
Once Nextcloud was running but the new Dashboard wasn’t loading and was only white.
Do you have a idea what could be brooken?
If I need more details, logs, etc. I will pass them on.
You mean that you used the occ upgrade command to execute the upgrade? You can also run the complete upgrade routine from command line with the updater/updater.phar.
I’d first check with the occ-command if there is already new code and the upgrade process did perhaps not finish proplery. After that, if everything is ok and you can use your cloud, I’d try to upgrade further. And do a backup before in case something goes wrong.
root@nextcloud:~# sudo -u www-data php /var/www/nextcloud/occ upgrade
Nextcloud is already latest version
root@nextcloud:~#
root@nextcloud:/var/www/nextcloud# sudo -u www-data php updater/updater.phar
Nextcloud Updater - version: v18.0.6-11-g50bdca3 dirty
Current version is 19.0.3.
Update to Nextcloud 19.0.4 available. (channel: "stable")
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-19.0.4.zip
Open changelog ↗
Steps that will be executed:
[✔] Check for expected files
[✔] Check for write permissions
[✔] Create backup
[✔] Downloading
[✔] Verify integrity
[✔] Extracting
[✔] Enable maintenance mode
[✔] Replace entry points
[✔] Delete old files
[✔] Move new files in place
[✔] Done
Continue update? [y/N] y
Info: Pressing Ctrl-C will finish the currently running step and then stops the updater.
[✔] Check for expected files
[✔] Check for write permissions
[✔] Create backup
[✔] Downloading
[✔] Verify integrity
[✔] Extracting
[✔] Enable maintenance mode
[✔] Replace entry points
[✔] Delete old files
[✔] Move new files in place
[✔] Done
Update of code successful.
Should the "occ upgrade" command be executed? [Y/n] Y
Nextcloud is already latest version
Keep maintenance mode active? [y/N] N
Maintenance mode already disabled
Maintenance mode is disabled
root@nextcloud:/var/www/nextcloud#
I suspect that the extraction preserves the changing dates of the files. And since the version was released, the files weren’t changed which is more than 10 minutes. The version in your config/config.php is 19.0.4, as well in the web-interface? And you don’t have file integrity errors, then you are on 19.0.4.
root@nextcloud:/var/www/nextcloud# date
Sat Oct 31 14:20:26 CET 2020
root@nextcloud:/var/www/nextcloud# sudo -u www-data php updater/updater.phar
Nextcloud Updater - version: v18.0.6-11-g50bdca3 dirty
Current version is 19.0.3.
Update to Nextcloud 19.0.4 available. (channel: "stable")
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-19.0.4.zip
Open changelog ↗
Steps that will be executed:
[✔] Check for expected files
[✔] Check for write permissions
[✔] Create backup
[✔] Downloading
[✔] Verify integrity
[✔] Extracting
[✔] Enable maintenance mode
[✔] Replace entry points
[✔] Delete old files
[✔] Move new files in place
[✔] Done
Continue update? [y/N] y
Info: Pressing Ctrl-C will finish the currently running step and then stops the updater.
[✔] Check for expected files
[✔] Check for write permissions
[✔] Create backup
[✔] Downloading
[✔] Verify integrity
[✔] Extracting
[✔] Enable maintenance mode
[✔] Replace entry points
[✔] Delete old files
[✔] Move new files in place
[✔] Done
Update of code successful.
Should the "occ upgrade" command be executed? [Y/n] Y
Nextcloud is already latest version
Keep maintenance mode active? [y/N] N
Maintenance mode already disabled
Maintenance mode is disabled
root@nextcloud:/var/www/nextcloud# sudo -u www-data php /var/www/nextcloud/occ upgrade
Nextcloud is already latest version
root@nextcloud:/var/www/nextcloud#
Did nc has other places where the Version is saved?
In your datafolder, there is usually an updater-… folder where the new version is downloaded. Perhaps some paths wrong, so it is extracted to a different location?