Nextcloud version: 20.0.5 --> 20.0.6
Operating system and version (eg, Ubuntu 20.04): Debian Buster
Apache or nginx version (eg, Apache 2.4.25): replace me
PHP version (eg, 7.4): replace me
The issue you are facing:
Update with updater in terminal.
sudo -u www-data php /var/www/cloud/updater/updater.phar
Nextcloud Updater - version: v20.0.0beta4-11-g68fa0d4
Current version is 20.0.5.
Update to Nextcloud 20.0.6 available. (channel: "stable")
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-20.0.6.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(/var/www/cloud/updater/../version.php): failed to open stream: No such file or directory in phar:///var/www/cloud/updater/updater.phar/lib/Updater.php on line 658
PHP Fatal error: require(): Failed opening required '/var/www/cloud/updater/../version.php' (include_path='.:/usr/share/php') in phar:///var/www/cloud/updater/updater.phar/lib/Updater.php on line 658
Nextcloud is broken, because all application files have been deleted by updater. Any advice how to get out of this?