migrating lxc container from pve 5.3 to pve 7.1

prxtester

Active Member
Mar 16, 2019
9
0
41
48
So I wanted to migrate some of my old lxc containers on my very first proxmox cluster (5.3) to my new 7.1 cluster.
Created a backup on 5.3, scp it to 7.1 and restore it there. So far so good.
However after starting up the container on 7.1 it just hangs at init, i.e. it starts but no shell.
lxc-attach works but inside the container only process #1 (init) is running.

Should this kind of migration work? Anything else to consider?
 
Anything else to consider?
Check the upgrade pages for the versions in the wiki:
https://pve.proxmox.com/wiki/Upgrade_from_5.x_to_6.0
https://pve.proxmox.com/wiki/Upgrade_from_6.x_to_7.0

and also the roadmap for known issues in the point releases:
https://pve.proxmox.com/wiki/Roadmap

In case of containers there where a few things that changed - one thing that comes to mind is that nesting is needed on unprivileged containers in newer version to work with newer systemd versions inside the containers

but as said - check the upgrade instructions and roadmap - and also take a look at the system journal - usually this should help you to get them running again

I hope this helps!