Nextcloud version (eg, 20.0.5): 27.1.4
Operating system and version (eg, Ubuntu 20.04): Ubuntu 20.04
PHP version (eg, 7.4): 8.1
Hi,
I tried to update from 27.1.4 to 27.1.5 with web-updater but I had some issues.
There were a few timeouts and I retried several times.
Last thing was: “Removing old files” failed.
I was a little bit pissed off so I went to bed. Now I wanted to retry it and reloaded the page.
Webpage tells me “Update in process.”, that’s why I landed here
I tried php /var/www/nextcloud/updater/updater.phar which gave me
Nextcloud Updater - version: v27.1.0rc3-15-gfa7af53
Step 6 is currently in process. Please call this command later.
Then I wanted to try out php occ maintenance:repair but apparently file occ is missing now.
While updating there is always the step “Creating Backup”, how can I restore this backup?
I copied back all files from $datadirectory/updater-$instanceid/backups/nextcloud-27.1.4.1 to /var/www/vhosts/domain.com/nextcloud.domain.com/ and started the update again and it seems like it worked but how can I make sure everything is as it should be?
That is good, because it was searching for your version.php!
If the update has been completed and the upgrade worked, you can assume that everything worked. If anything went wrong, you’ll be the first to notice it
Config was saved and data folder is outside of installation directory.
My problem is, my database backup stopped working several weeks ago and I did not notice.
Assuming that the database is not corrupted, can’t I reinstall the latest version?
If the db is corrupted, I’m screwed, I know.
I kept only the config folder and used the latest version I installed.
After that I had to deactivate every app (because they weren’t there anymore) and had to reinstall them.
It seems like the instance is now working properly again.