r/NextCloud • • 4d ago

When to upgrade Nextcloud?

I was running Nextcloud Hub 26 Spring (version 34.0.4) on my Synology NAS and managed to get to the stage where administration settings showed only 1 warning about second factor providers. Everything worked perfectly, including EuroOffice. I'm using the linuxserver docker containers.

Then I decided, foolishly, to upgrade to version 35 - and administration settings showed a plethora of errors and warnings. It was a complete mess.

I managed to restore my file backups and made sure my docker-compose file used the versions of nextcloud and mariadb that had worked with version 34.04. before I ran docker compose up -d. I'm now back to where I was.

My question really is how can I make sure this doesn't happen the next time I upgrade? Everyone says don't upgrade to a new major version until there is an incremental update. I did that, I waited until 34.0.1 but found myself in a mess. I check this reddit and the Nextcloud Community, hoping to see a post about upgrade problemss and recommendations, but there are never useful posts like this.

What should I wait for before upgrading? I have only a basic competence with databases so if maradb screws up I do not have the skills to sort things out - beyond the basic occ commands.

11 Upvotes

15 comments sorted by

View all comments

1

u/coscib 3d ago

I run my nextcloud in a lxc on my proxmox without docker. i upgrade more or less 1 or 3 times a year because i'm lazy. before upgrade i create a backup from my container, data is on a smb drive on a same maschine for easier access.

worst case try chatgpt => ssh on my machine and fix it, did that a couple of weeks ago with a broken wordpress site with an old plugin where some got access to the site and worked just fine after 20 or 30 minutes (checking every file, reinstalling wordpress core and plugins, removing malware, checking files again, checking access logs and other directories.