Upgrading from Ubuntu 20.04 to 22.04 and get errors..
-
My 2 cents, I never upgraded the same VM with Cloudron running on it, I just bootstraped a new VM with a fresh upgraded Ubuntu and migrated Cloudron to it ^^ , which allows me to test safely.
Reason: too many topics about problematic Ubuntu upgrades that break things or Cloudron
@SansGuidon said in Upgrading from Ubuntu 20.04 to 22.04 and get errors..:
My 2 cents, I never upgraded the same VM with Cloudron running on it, I just bootstraped a new VM with a fresh upgraded Ubuntu and migrated Cloudron to it ^^ , which allows me to test safely.
Reason: too many topics about problematic Ubuntu upgrades that break things or Cloudron
Yeah, that's mostly what I've always done too. Not sure what I'll do next now that I'm on a dedicated server though...
-
Hello @SansGuidon and @jdaviescoates
That is indeed the most reliable / safest approach.
I have upgraded many Cloudron Ubuntu's with the provided guides and rarely ran into issues.
But when something comes up, like this case, a somewhat deeper understanding of Cloudron is valuable to resolve it.
@jdaviescoates If you upgrade your Ubuntu version on your dedicated server with the provided guides, would you be willing to document your process in a forum topic?
If anything is unclear, questionable or breaks having this documented process of yours would be a great help to further improve the guides. -
Hello @SansGuidon and @jdaviescoates
That is indeed the most reliable / safest approach.
I have upgraded many Cloudron Ubuntu's with the provided guides and rarely ran into issues.
But when something comes up, like this case, a somewhat deeper understanding of Cloudron is valuable to resolve it.
@jdaviescoates If you upgrade your Ubuntu version on your dedicated server with the provided guides, would you be willing to document your process in a forum topic?
If anything is unclear, questionable or breaks having this documented process of yours would be a great help to further improve the guides.@james should that day come, sure!
-
Forgive me for my lack of knowledge but how do I start the box.service. Also, I've already spun up another VM and I'll be migrating to it. I'm assuming it's as simple as installing a fresh copy of ubuntu and then installing Cloudron and once logged it doing a restore.
-
Forgive me for my lack of knowledge but how do I start the box.service. Also, I've already spun up another VM and I'll be migrating to it. I'm assuming it's as simple as installing a fresh copy of ubuntu and then installing Cloudron and once logged it doing a restore.
@swheeler78 https://docs.cloudron.io/backups/#restore-cloudron has the workflow .
-
Thank you.
-
G girish has marked this topic as solved on
-
Hello @girish i am also going to migrate from ubuntu 20.04 to 22.04. i am reading your guide and it looks very clear. thanks! there only 2 things i don't understand , it's on the post updgrade section. there are a couple of steps i am not sure i get how to do
are these the full commands ?*Install missing packages: /home/yellowtent/box/scripts/init-ubuntu.sh
*Fix package configuration: /home/yellowtent/box/setup/start.sh
Ubuntu 22 uses cgroups v2 by default. Recreate all Docker containers to recognize this change: /home/yellowtent/box/scripts/recreate-containers. This script is part of Cloudron 7.3. For earlier versions, download it here.
-
Hello @manuel
Yes these are command that you can copy-paste into your terminal.
I will update the guides to make it more clear.