Update to Nextcloud 23.0.7 - Stuck with "Update in process."

[details=“Support intro”]

Update via GUI failed. So tried from CLI. Failed at some step. Removed updater-ocxxxx dir from data dir by moving it outside nextcloud installion and tried again.

Now I get an error that makes me think that there is some error in the update script. But even more problematic: I can’t get rid of “Update in process”. All hints I found express, that removing the updater-ocxxx dir will reastablish the old state. How to fix this?

########### latest error ###############

user@myserver:/var/www/nextcloud2/updater$ sudo -u www-data php updater.phar
[sudo] password for user:
Nextcloud Updater - version: v20.0.0beta4-11-g68fa0d4

Current version is 23.0.2.

Update to Nextcloud 23.0.7 available. (channel: “stable”)
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-23.0.7.zip
Open changelog :arrow_upper_right:

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.

[:heavy_check_mark:] Check for expected files
[:heavy_check_mark:] Check for write permissions
[:heavy_check_mark:] Create backup
[:heavy_check_mark:] Downloading
[:heavy_check_mark:] Verify integrity
Extracting …PHP Warning: require(/var/www/nextcloud2/updater/…/version.php): failed to open stream: No such file or directory in phar:///var/www/nextcloud2/updater/updater.phar/lib/Updater.php on line 658
PHP Fatal error: require(): Failed opening required ‘/var/www/nextcloud2/updater/…/version.php’ (include_path=’.:/usr/share/php’) in phar:///var/www/nextcloud2/updater/updater.phar/lib/Updater.php on line 658
user@myserver:/var/www/nextcloud2/updater$

1 Like