Running Nextcloud in a docker container with a mariadb container as the back-end for Nextcloud.
Tried updating with the web based updater which failed at step 6. Deleted the .step file in the updater folder and instead tried the cli in the container to do the update which many people recommend instead of the web based updater. Still stuck at step 6 and this time I got an error message I cannot understand or do anything with at the moment.
I hope someone here can help me so I can fix the problem and hopefully end up with a successful update and a working Nextcloud instance
This is the command and output from the cli based updater:
Nextcloud Updater - version: v20.0.0beta4-11-g68fa0d4
Current version is 20.0.8.
Update to Nextcloud 20.0.9 available. (channel: “stable”)
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-20.0.9.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
Start 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 …PHP Warning: require(/config/www/nextcloud/updater/…/version.php): failed to open stream: No such file or directory in phar:///config/www/nextcloud/updater/updater.phar/lib/Updater.php on line 658
PHP Fatal error: require(): Failed opening required ‘/config/www/nextcloud/updater/…/version.php’ (include_path=’.:/usr/share/php7’) in phar:///config/www/nextcloud/updater/updater.phar/lib/Updater.php on line 658
root@eb70432b34c5:/# sudo -u abc php /config/www/nextcloud/updater/updater.phar