I’m currently running maas 3.1.4 installed via snap on a mini pc running ubuntu 20.04. I want to migrate over to a VM running ubuntu 24.04. I can’t find a single instruction on how to do this. The closest i could find was asking ChatGPT that told me to backup the postgresql db and snap database, copy them to the new server, install maas. Problem is that the maas deployed to 24.04 doesn’t have postrgesql and i can’t find a config that mentions the DATABASE_URL.
I feel like I’m missing something very obvious.
Thanks
Marc
Hi @mlbiamx,
Thanks for posting. If I understand correctly you would like to move a working MAAS 3.1.4 running in Ubuntu 20.04 (mini PC) to a new location (VM) where you will run MAAS 3.1.4 running in Ubuntu 24.04.
If that’s the case, the process should be as follows:
- in the machine with the running MAAS
- in the new machine
- install MAAS
- install postgres (postgres version must be compatible with MAAS version)
- import MAAS database
- initialize MAAS providing the reference to the database (
maas init
)
The links below contains information about the process.
Note that MAAS 3.1.4 is not supported anymore. This might also a good time to upgrade to one of the supported version