Nextcloud upgrade 24.0.7 to 25.0.1 fails

I am running Nextcloud version 24.0.7 and I am attempting to upload to version 25.0.1. The upgrade fails as seen in the screen capture. My Nextcloud installation is on a shared webserver using cPanel and the initial install was completed with Softaculous. I tried upgrading through the upgrade button in Softaculous and through the upgrade button in the Nextcloud settings overview.


Unfortunately there is no information about what error occurred. Your screenshot end right after “An error occurred”, without an additional line, which step caused the issue.
Is this already everything from “Detailed logs”?
Can you access more log details somehow? We need to have a look at the updater.log.

Does the update work on a second attempts?

Thank you for your reply. Below is the data from the updater.log. I have attempted to upgrade about a half a dozen times since version 25 was released and It keeps failing at the same point.

2022-12-02T20:10:03+0000 UdfaFPhWlK [info] POST request for step “7”
2022-12-02T20:10:03+0000 UdfaFPhWlK [info] startStep(“7”)
2022-12-02T20:10:03+0000 UdfaFPhWlK [info] setMaintenanceMode(“true”)
2022-12-02T20:10:03+0000 UdfaFPhWlK [info] configFileName /home/john/public_html/cloud/updater/…/config/config.php
2022-12-02T20:10:03+0000 UdfaFPhWlK [info] end of setMaintenanceMode()
2022-12-02T20:10:03+0000 UdfaFPhWlK [info] endStep(“7”)
2022-12-02T20:10:03+0000 qkSB7LG9T1 [info] request to updater
2022-12-02T20:10:03+0000 qkSB7LG9T1 [info] currentStep()
2022-12-02T20:10:03+0000 qkSB7LG9T1 [info] Step 7 is in state “end”.
2022-12-02T20:10:03+0000 qkSB7LG9T1 [info] POST request for step “8”
2022-12-02T20:10:04+0000 qkSB7LG9T1 [info] startStep(“8”)
2022-12-02T20:10:04+0000 qkSB7LG9T1 [info] replaceEntryPoints()
2022-12-02T20:10:04+0000 qkSB7LG9T1 [info] replace index.php
2022-12-02T20:10:04+0000 qkSB7LG9T1 [info] replace status.php
2022-12-02T20:10:04+0000 qkSB7LG9T1 [info] replace remote.php
2022-12-02T20:10:04+0000 qkSB7LG9T1 [info] replace public.php
2022-12-02T20:10:04+0000 qkSB7LG9T1 [info] replace ocs/v1.php
2022-12-02T20:10:04+0000 qkSB7LG9T1 [info] replace ocs/v2.php
2022-12-02T20:10:04+0000 qkSB7LG9T1 [info] end of replaceEntryPoints()
2022-12-02T20:10:04+0000 qkSB7LG9T1 [info] endStep(“8”)
2022-12-02T20:10:04+0000 QFc6bn85Ln [info] request to updater
2022-12-02T20:10:04+0000 QFc6bn85Ln [info] currentStep()
2022-12-02T20:10:04+0000 QFc6bn85Ln [info] Step 8 is in state “end”.
2022-12-02T20:10:04+0000 QFc6bn85Ln [info] POST request for step “9”
2022-12-02T20:10:04+0000 QFc6bn85Ln [info] startStep(“9”)
2022-12-02T20:10:04+0000 QFc6bn85Ln [info] deleteOldFiles()
2022-12-02T20:10:04+0000 QFc6bn85Ln [info] config sample exists
2022-12-02T20:10:04+0000 QFc6bn85Ln [info] themes README exists
2022-12-02T20:10:04+0000 QFc6bn85Ln [info] end of deleteOldFiles()
2022-12-02T20:10:04+0000 QFc6bn85Ln [info] endStep(“9”)
2022-12-02T20:10:04+0000 EVKQhQcrMw [info] request to updater
2022-12-02T20:10:04+0000 EVKQhQcrMw [info] currentStep()
2022-12-02T20:10:04+0000 EVKQhQcrMw [info] Step 9 is in state “end”.
2022-12-02T20:10:04+0000 EVKQhQcrMw [info] POST request for step “10”
2022-12-02T20:10:05+0000 EVKQhQcrMw [info] startStep(“10”)
2022-12-02T20:10:05+0000 EVKQhQcrMw [info] moveNewVersionInPlace()
2022-12-02T20:10:05+0000 EVKQhQcrMw [info] storage location: /home/john/nextclouddata/updater-ocuovrte6nvc/downloads/nextcloud/
2022-12-02T20:10:05+0000 EVKQhQcrMw [info] end of moveNewVersionInPlace()
2022-12-02T20:10:05+0000 EVKQhQcrMw [info] endStep(“10”)
2022-12-02T20:10:13+0000 lTrZc4idA8 [info] request to updater
2022-12-02T20:10:13+0000 lTrZc4idA8 [info] currentStep()
2022-12-02T20:10:13+0000 lTrZc4idA8 [info] Step 10 is in state “end”.
2022-12-02T20:10:13+0000 lTrZc4idA8 [info] POST request for step “11”
2022-12-02T20:10:13+0000 lTrZc4idA8 [info] startStep(“11”)
2022-12-02T20:10:13+0000 lTrZc4idA8 [info] setMaintenanceMode(“false”)
2022-12-02T20:10:13+0000 lTrZc4idA8 [info] configFileName /home/john/public_html/cloud/updater/…/config/config.php
2022-12-02T20:10:13+0000 lTrZc4idA8 [info] end of setMaintenanceMode()
2022-12-02T20:10:13+0000 lTrZc4idA8 [info] endStep(“11”)
2022-12-02T20:10:13+0000 5EnYOkdeGz [info] request to updater
2022-12-02T20:10:13+0000 5EnYOkdeGz [info] currentStep()
2022-12-02T20:10:13+0000 5EnYOkdeGz [info] Step 11 is in state “end”.
2022-12-02T20:10:13+0000 5EnYOkdeGz [info] POST request for step “12”
2022-12-02T20:10:14+0000 5EnYOkdeGz [info] startStep(“12”)
2022-12-02T20:10:14+0000 5EnYOkdeGz [info] finalize()
2022-12-02T20:10:14+0000 5EnYOkdeGz [info] storage location: /home/john/nextclouddata/updater-ocuovrte6nvc/downloads/nextcloud/
2022-12-02T20:10:14+0000 5EnYOkdeGz [info] call opcache_reset()
2022-12-02T20:10:14+0000 5EnYOkdeGz [info] end of finalize()
2022-12-02T20:10:14+0000 5EnYOkdeGz [info] endStep(“12”)

Strange, from that log everything looks fine.
No error messages and nothing failed.

And when you go to the web GUI you are still on 24.0.7?
I don’t know what Softaculous is, maybe that has a bug.
Does that thing have a log? Can you check for issues with Softaculous or ask your shated web hoster about that?

I am unable to get back into the web GUI of Nextcloud since it stays in Maintenance Mode after the failed upgrade. I must restore a backup in order to get Nextcloud functioning again. I initiated this upgrade example through the settings within Nextcloud, so there are no logs for the upgrade in the Softaculous folder. My webhosting is very inexpensive, so I am pretty much on my own when it comes to support, but thank you for helping me with this.

So you cannot run occ commands, right? But it seems you can access files on your server, so you could disable the maintenance mode in the config.php in the folder “config”.
Before doing so, please share the latest entries of the nextcloud.log first.

You can’t access any webserver logs, right?