Frozen Upgrade from NC 31.0.7 to 31.0.8 using the web updater: "Update in process."

The Basics

  • Nextcloud Server version :
    31.0.7 (update to 31.0.8)
  • Operating system and version :
    webhosting…
  • Web server and version (e.g, Apache 2.4.25):
    I don’t know
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    I don’t know
  • PHP version (e.g, 8.3):
    8.3
  • Is this the first time you’ve seen this error? (Yes / No):
    Yes
  • When did this problem seem to first start?
    After update step “Move files in place”
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    Web-based updater
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    No

Summary of the issue you are facing:

I tried to upgrade from NC 31.0.7 to 31.0.8 using the web updater.
Usually it works well…

The upgrade went well until the “Move new files in place” step…
Then the update process froze and now I cannot access the admin account of the cloud (or any other account). I get a webpage with the message “Update in process.”, also if I deactivate maintenance mode.
I can still access the cloud using ssh.

My NC runs on a webhosting provider

PHP is PHP8.3

Apparently the upgrade process created new files (directories ./data/updater-oczuhoozer0r/ ) however not all these directories appear to contains all the “right” files…
For instance “occ” is included in 4 directories:

./cloud/data/updater-oczuhoozer0r/backups/nextcloud-31.0.7.1-1755616740/occ
./cloud/data/updater-oczuhoozer0r/backups/nextcloud-31.0.7.1-1755616943/occ
./cloud/data/updater-oczuhoozer0r/backups/nextcloud-31.0.7.1-1755617844/occ
./cloud/data/updater-oczuhoozer0r/downloads/nextcloud/occ

“cron.php” is included in only 2 directories:

./cloud/data/updater-oczuhoozer0r/backups/nextcloud-31.0.7.1-1755617844/cron.php
./cloud/data/updater-oczuhoozer0r/downloads/nextcloud/cron.php

Normally, I use cron to run cron.php every 5 min and now I get the error message:
Could not open input file: ./web/cloud/cron.php

It looks like the upgrade process did not finish correctly and some files have been moved, other haven’t
Any idea how to save my cloud install ?!

Steps to replicate it (hint: details matter!):

Unfortunately I can’t do anything now since I cannot access the cloud (“Update in progress”

Log entries

Not available at the moment

Web Browser

Unfortunately I can’t do anything now since I cannot access the cloud (“Update in progress”

Configuration

Nextcloud

Apps

You could try updating from the command line. I’ve had updates where the web updater got stuck and the command line picked up the update from that point without a problem.

If you access your nextcloud with SSH, you can then follow this guide:

1 Like

See the Updater: Troubleshooting section of the Admin Manual. There is a dedicated log for the built-in updater. Also, as far as recovery goes, the Manual upgrade approach will always work as an alternative.

Those look normal to me. They’re just backups from different runs.