I have no support/technical question and have seen the support category. (Be aware that direct support questions will be deleted.)
on
Which general topic do you have
Hi,
I’m currently running Nextcloud 33.x on a bare metal Ubuntu 22.04.5 LTS server and recently upgraded to PHP 8.4 to be prepared for the upcoming version 34.
Everything is running well and as expected and 22.04 LTS will be supported until April 2027.
Other than having a more recent kernel (6.8 vs. 5.15) I can see no feature that would make an upgrade to 24.04 LTS worth it right now.
What are your thoughts on prematurely upgrading to Ubuntu 24.04 LTS?
Just in case the plan is to upgrade directly to 26.04, that won’t work, because you can’t skip versions. The upgrade path would still be: 22.04 → 24.04 → 26.04.
Apart from that, as long as all dependencies such as database, PHP, are installed in versions recommended or supported by Nextcloud, and everything runs smoothly, you probably won’t notice any major advantages with 24.04.
Personally, I find it a bit surprising that this question is coming up only now.
Ubuntu 24.04 LTS was released in April 2024 and I upgraded from version 22.04 to 24.04 already at that time. The system has been running on 24.04 for almost two years now without any hesitation, and I have not noticed any complications either at the system level or when using Nextcloud.
From this perspective, upgrading from 22.04 to 24.04 should be fairly uneventful in most cases, assuming the installation does not contain any unusual customizations and proper backups exist.
Personally, I’m done with Ubuntu. With Ubuntu, you end up in the snap trap or have to go to the trouble of uninstalling and deactivating this snap rubbish afterwards. So my recommendation would be: Debian Trixie (13).
I usually wait a while, at least until the first point release. But yeah, almost two years after the initial release, there’s absolutely no reason not to upgrade. 24.04 is as mature and stable as it gets.
Yeah, I’m not a big fan of Snaps either, and I use Debian for almost everything nowadays. However, my Nextcloud instance and the Ubuntu VM that runs it is nine years old, and I haven’t yet been able to motivate myself to actually migrate it over to Debian.
Were you unable to do so for technical reasons or because it seemed too much effort?
In my experience, the effort involved is no greater than upgrading directly from 22.04 to 26.04, i.e. instead of running sudo do-release-upgrade twice (22.04 → 24.04 → 26.04), you can simply install Debian Trixie and restore the Nextcloud backup.
To be clear, my system is on Ubuntu 24.04, so I did multiple release upgrades and I use third-party repositories for MariaDB, PHP, etc., so all dependencies are on current and recommended versions as well.
I just checked when the file system was created:
File system created: Sat Feb 11 16:48:43 2017
That means I must have started with Ubuntu 16.04.
And, as I said, I always updated the OS, usually after the first point release of a new LTS was out. The same goes for Nextcloud.
And yeah, I could migrate it to Debian, However there are no actual technical reasons to do so, as everything is running fne as it is. So yeah, I suppose it’s a combination of laziness and the absence of any actual necessity.
Well.. unless nothing’s broken, there is normally no reason to fix something. That’s at least what I learned in more than 40 years working in IT from frequently breaking thing by updating
I just saw the annoying warning about the deprecation of PHP 8.2 on Nextclouds admin page and then did a quick check for all other components, including server OS.
And since LTS means “long term support” , why not use it while it lasts
Thinking about upgrading it one year ahead seems to be resonable IMHO.