Hassle-Free Way To Transfer Elixir App From Qubes VM to Proxmox VM?

I have an Elixir web app that uses a Postgres DB, running in a Debian 11 VM on Qubes.

I’m trying to transfer the app to a Proxmox Debian 11 VM.

Everything works, except when transfering the database, I get 500 server errors.
I’ve tried dumping the DB and restoring.
I’ve tried a Pgadmin4 backup and restore.
I’ve tried various rsyncs.

I still end up with 500 server errors.

Is there a simple way to just get a clone of the VM from Qubes to Proxmox… and hopefully solve the 500 server errors issue?

Not sure anyone can help you without any error logs. Can you post the exact error that’s shown when HTTP 500 is triggered?

Depending on how the VM is setup in Qubes you should able to use a conventional backup method for migration. There are a few good pages on the Proxmox site about migration. I’d start with this one, Migrate_to_Proxmox_VE, and then check the “See Also” references as well.

Solved…
Had to clean the deps to get it to work.

mix deps.clean bcrypt_elixir
mix deps.compile bcrypt_elixir
2 Likes

Glad you got it sorted out. Tangentially - if you’ve got flexibility to consider Proxmox alternatives, check out Incus. It is IMO more flexibile / configurable / scriptable. Incus runs on any recent Linux distribution, so you can setup prototype environments on your Linux desktop, and run the same configuration on a datacenter VM. Nice for testing and running distributed Elixir apps.

1 Like