Dear nextcloud community. I did an upgrade to my nc instance today from 20.0.8 to 21.0.1.
I found the source of this behaviour. I thought the upgrade would be to 20.0.9 but unfortunately it was to 21.0.1
Unfortunately the occ upgrade
hangs until it is killed by the kernel:
I give you the STDOUT of a recurrent occ upgrade:
sudo -u www-data php /var/www/nextcloud/updater/updater.phar
Nextcloud Updater - version: v20.0.0beta4-11-g68fa0d4
Current version is 21.0.1.
Update to Nextcloud 21.0.1 available. (channel: "stable")
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-21.0.1.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]
Killed
Keep maintenance mode active? [y/N] y
Maintenance mode kept active
[/details]
Nextcloud version : 21.0.1
Operating system and version: Debian Buster (up to date)
Apache or nginx version: Apache/2.4.38 (Debian)
PHP version: PHP 7.3.27-1~deb10u1 (cli) (built: Feb 13 2021 16:31:40) ( NTS )
Apache Error:
[php7:error] [pid 18126] [client 2.206.161.85:36466] PHP Fatal error: Uncaught Error: Class 'Exception' not found in /var/www/nextcloud/remote.php:46\nStack trace:\n#0 {main}\n thrown in /var/www/nextcloud/remote.php on line 46
My instance is not reachable right now and I don’t know what to do.