migrating lxc container from pve 5.3 to pve 7.1

prxtester

Active Member
Mar 16, 2019
7
0
41
47
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!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!