Solution:
Same upgrade process applies here as well.
- Backup
- Test if backup works
- adjust the amount of memory of the containers (I tried with 1024MB)
- update the apt sources
- run 'apt update && apt dist-upgrade -y; apt autoremove -y'
- restart
- you can return to the original amount of memory afterwards.
Original post:
Hello everyone,
first of all, thanks for the all documentation, how-to's and support regarding upgrading pve from 6.4 to 7.0.
I didn't have any problems, other than three tiny issues:
- The apt sources needed to be cleaned up.
- Although I have a UEFI boot, the upgrade process tried and failed to install GRUB -> I just skipped it
- All privileged containers who had device passthrough needed to get adjusted for cgroup2 -> just change cgroup to cgroup2 in the configs:
Now to my question:
Is there a guideline about upgrading LXC containers to bullseye as well?
I searched the forum and find one discussion about how to find the bullseye images, but it didn't answer the upgrade path.
I tried and failed to upgrade one container with adding the bullseye repositories and doing apt update; apt dist-upgrade. It failed reporting about dpkg select alternatives
Can somebody point me to a direction?
Thanks...
Same upgrade process applies here as well.
- Backup
- Test if backup works
- adjust the amount of memory of the containers (I tried with 1024MB)
- update the apt sources
Code:
deb http://ftp.debian.org/debian bullseye main contrib
deb http://ftp.debian.org/debian bullseye-updates main contrib
deb http://security.debian.org/debian-security bullseye-security main contrib
- restart
- you can return to the original amount of memory afterwards.
Original post:
Hello everyone,
first of all, thanks for the all documentation, how-to's and support regarding upgrading pve from 6.4 to 7.0.
I didn't have any problems, other than three tiny issues:
- The apt sources needed to be cleaned up.
- Although I have a UEFI boot, the upgrade process tried and failed to install GRUB -> I just skipped it
- All privileged containers who had device passthrough needed to get adjusted for cgroup2 -> just change cgroup to cgroup2 in the configs:
Code:
...
lxc.cgroup2.devices.allow: ...
...
Now to my question:
Is there a guideline about upgrading LXC containers to bullseye as well?
I searched the forum and find one discussion about how to find the bullseye images, but it didn't answer the upgrade path.
I tried and failed to upgrade one container with adding the bullseye repositories and doing apt update; apt dist-upgrade. It failed reporting about dpkg select alternatives
Can somebody point me to a direction?
Thanks...
Last edited: