I know, there are some details missing now. For example Nextcloud doesn’t write an updater.log in the data-directory. It looks like my installation is very old at this moment and keeps getting more and more problems with the update process.
My question: Did somebody using Softaculous experience a similar issue and has some advice on how to continue? Just showing me a red “x” in the details isn’t much of help, means to me something unusual is happening.
The updater log is only for the builtin code updater. If Softaculous installed the 33.0.2 update, that’s not involved here.
However the database migrations/app upgrades (i.e. what you’re triggering in your screenshot/ also what you can trigger by running occ upgrade) is Nextcloud itself so anything logged will be in the standard nextcloud.log.
Can you check the normal log + ideally just run occ upgrade from the command line? It’ll eliminate some variables.
Thanks for the additional advice. Here are the additional steps I took since my last post:
Trying to execute the occ upgrade from the command line:
[x@y]$ php occ upgrade The current PHP memory limit is below the recommended value of 512MB. Setting log level to debug Updating database schema Updated database [x@y]$
Didn’t help, the installation remained in Maintenance Mode. Next I tried executing updater.phar from the command line:
[x@y updater]$ php updater.phar
Nextcloud Updater - version: v33.0.0-2-g643f78d
Current version is 33.0.2.
Update to Nextcloud 32.0.8 available. (channel: “stable”)
Following file will be downloaded automatically: https://github.com/nextcloud-releases/server/releases/download/v32.0.8/nextcloud-32.0.8.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 …[[x@y updater]$
Didn’t work either. It always aborted at step 5. My installation must somehow been completely broken, as the current version was apparently Version 33.0.2 and the updater tried to install Version 32.0.8. Haha, what a mess!
To be fair, the installation worked pretty good for a long time. I started with Nextcloud 13.0.5 in 2018 through Softaculous, and all upgrades went pretty smooth so far. The last upgrade had some hiccups, and now the current Upgrade to Version 33 messed up completely. That was somewhat strange, no Idea what happened in the background.
In the end I deleted the installation in Softaculous and performed a fresh install through the Web Installer, by executing setup-nextcloud.php. The install process went fine, it just couldn’t load the list of recommended Apps from the App Store. After refreshing the main page everything went smooth. I’m curious to see how it goes from here, I am aware that running Nextcloud on a shared Webhost isn’t the best solution in the first place.