Skip to main content
Published on

Nextcloud, the update is stuck

Updating a Nextcloud instance hosted at Gandi but the update is stuck? Here is the solution.

After launching the Nextcloud update towards the new version from the back office, the upgrade of a Nextcloud hosted by Gandi is stuck at step 3:

1- cd into the updater-xxxxx directory (xxxx being replaced with the string of characters specific to the site): cd /srv/data/web/vhosts/SOUSDOMAINE.DOMAINE.TLD/data/updater-xxxxxxx/

2- delete the .step file: rm .step

3- cd into the root directory of your website: cd ../../htdocs/

4- complete the Nextcloud upgrade: php updater/updater.phar

5- at the question “Keep maintenance mode active? [Y/N]” choose N.

Check the Nextcloud version with php occ status

These various steps will let you complete the Nextcloud upgrade.

Go further