Is it safe/wise to upgrade my NC VM from Ubuntu 22.04 to 24.04 yet?

After having been burned so many times before when tweaking things, I really should know better. But like a moth to a flame I can’t resist tweaking :slight_smile: Now that it’s possible to upgrade from 22.04LTS to 24.04LTS, I’d like to go ahead.

I’m aware that PHP moves from 8.1 to 8.3, so will that upset my current NC install or will it auto-detect that PHP has been upgraded to 8.3?

Has anyone else gone through the 22.04->24.04 process yet? Anything else I need to be prepared for?

Kevin

I’m aware that PHP moves from 8.1 to 8.3, so will that upset my current NC install or will it auto-detect that PHP has been upgraded to 8.3?

This is no trouble for nextcloud. As far as I know, nextcloud does not need to “detect” the PHP version, the same code runs unmodified on php 8.1 to 8.3

Has anyone else gone through the 22.04->24.04 process yet? Anything else I need to be prepared for?

No idea here, I tried to (upgrade my bare-metal to 24.04), but my upgrade failed (at least in part my own fault, did it over ssh and managed to abort the do-release-upgrade… I now switched to Debian 12 instead, I don’t want to bother with Ubuntu’s snaps anymore…); in general, I’ve seen reports of initial problems with the 24.04.1 upgrade; they even pulled it for a few days, so you might want to wait a few days more before things the fully stabilized…

1 Like

I updated mine from 20.04 to 22.04 this week, and as I have installed PHP, Apache and MariaDB from third party sources, I am not dependent on the versions in the Ubuntu repos, so there is no real need for me to be on the latest and greatest LTS release.

This has been my plan for a long time, since all my other VMs are actually running Debian. On the other hand everything is running fine as it is, and with 22.04 I have now another 2.5 years of support, so there is no rush. Maybe when Debian 13 is out… :wink:

apt purge snapd
2 Likes

It went smooth and with no issues for me to upgrade both my LXC host, and later my NC LXC container also running Ubuntu, to 24.04.

1 Like