[Solved] Recent updates caused problem with migration

daddywombat

New Member
Apr 12, 2026
7
0
1
Hello all

i am in the process of moving to a newer server in my homelab. i brought the two dumps over to the latest PVE, and successfully updated the QEMU PMG to latest versions of OS/PMG/Postgres. The LXC Debian (housing ispConfig) also worked at first, until it got updated through to Debian 12. After it rebooted it failed to start, and i've tried a lot to get it going without success. Any ideas?

LXC conf:
Code:
arch: amd64
cores: 4
hostname: myserver.test
memory: 8192
net0: name=eth0,bridge=vmbr0,firewall=1,gw=10.0.2.254,hwaddr=E6:7A:D2:B7:59:E8,ip=10.0.2.21/24,type=veth
onboot: 1
ostype: debian
rootfs: local-lvm:vm-103-disk-0,size=20G
swap: 2048
unprivileged: 1
lxc.apparmor.profile: unconfined

Error in the system log:
Code:
Apr 12 17:13:43 server pvedaemon[1426]: <root@pam> starting task UPID:server:0000A47E:0007D55A:69DB2A07:vzstart:103:root@pam:
Apr 12 17:13:43 server pvedaemon[42110]: starting CT 103: UPID:server:0000A47E:0007D55A:69DB2A07:vzstart:103:root@pam:
Apr 12 17:13:43 server systemd[1]: Started pve-container@103.service - PVE LXC Container: 103.
Apr 12 17:13:44 server kernel: audit: type=1400 audit(1775970824.469:137): apparmor="DENIED" operation="getattr" class="posix_mqueue" profile="/usr/bin/lxc-start" name="/" pid=42123 comm="vgs" requested="getattr" denied="getattr"class="posix_mqueue" fsuid=0 ouid=0
Apr 12 17:13:44 server kernel: audit: type=1400 audit(1775970824.509:138): apparmor="DENIED" operation="getattr" class="posix_mqueue" profile="/usr/bin/lxc-start" name="/" pid=42125 comm="lvs" requested="getattr" denied="getattr"class="posix_mqueue" fsuid=0 ouid=0
Apr 12 17:13:44 server kernel: EXT4-fs (dm-7): mounted filesystem abacc4ea-6c47-4a93-aac7-ce63b4ff8e7a r/w with ordered data mode. Quota mode: none.
Apr 12 17:13:44 server pvedaemon[1425]: unable to get PID for CT 103 (not running?)
Apr 12 17:13:44 server pvedaemon[42110]: startup for container '103' failed
Apr 12 17:13:44 server pvedaemon[1426]: <root@pam> end task UPID:server:0000A47E:0007D55A:69DB2A07:vzstart:103:root@pam: startup for container '103' failed
Apr 12 17:13:45 server kernel: EXT4-fs (dm-7): unmounting filesystem abacc4ea-6c47-4a93-aac7-ce63b4ff8e7a.
 
Hi!

Could you post the output of pveversion -v, pct start 103 --debug and syslog which includes the starting of the container? Also what version of apparmor is running on the host?
 
  • Like
Reactions: daddywombat
Thanks, in the order requested.
Also apparmor is 4.1.1-pmx1

Code:
pveversion -v
proxmox-ve: 9.0.0 (running kernel: 6.14.8-2-pve)
pve-manager: 9.0.3 (running version: 9.0.3/025864202ebb6109)
proxmox-kernel-helper: 9.0.3
proxmox-kernel-6.14.8-2-pve-signed: 6.14.8-2
proxmox-kernel-6.14: 6.14.8-2
ceph-fuse: 19.2.3-pve1
corosync: 3.1.9-pve2
criu: 4.1.1-1
frr-pythontools: 10.3.1-1+pve4
ifupdown2: 3.3.0-1+pmx9
intel-microcode: 3.20251111.1~deb13u1
ksm-control-daemon: 1.5-1
libjs-extjs: 7.0.0-5
libproxmox-acme-perl: 1.7.0
libproxmox-backup-qemu0: 2.0.1
libproxmox-rs-perl: 0.4.1
libpve-access-control: 9.0.3
libpve-apiclient-perl: 3.4.0
libpve-cluster-api-perl: 9.0.6
libpve-cluster-perl: 9.0.6
libpve-common-perl: 9.0.9
libpve-guest-common-perl: 6.0.2
libpve-http-server-perl: 6.0.3
libpve-network-perl: 1.1.6
libpve-rs-perl: 0.10.7
libpve-storage-perl: 9.0.13
libspice-server1: 0.15.2-1+b1
lvm2: 2.03.31-2
lxc-pve: 6.0.4-2
lxcfs: 6.0.4-pve1
novnc-pve: 1.6.0-3
proxmox-backup-client: 4.0.9-1
proxmox-backup-file-restore: 4.0.9-1
proxmox-backup-restore-image: 1.0.0
proxmox-firewall: 1.1.1
proxmox-kernel-helper: 9.0.3
proxmox-mail-forward: 1.0.2
proxmox-mini-journalreader: 1.6
proxmox-offline-mirror-helper: 0.7.0
proxmox-widget-toolkit: 5.0.4
pve-cluster: 9.0.6
pve-container: 6.0.9
pve-docs: 9.0.7
pve-edk2-firmware: 4.2025.02-4
pve-esxi-import-tools: 1.0.1
pve-firewall: 6.0.3
pve-firmware: 3.16-3
pve-ha-manager: 5.0.4
pve-i18n: 3.5.2
pve-qemu-kvm: 10.0.2-4
pve-xtermjs: 5.5.0-2
qemu-server: 9.0.16
smartmontools: 7.4-pve1
spiceterm: 3.4.0
swtpm: 0.8.0+pve2
vncterm: 1.9.0
zfsutils-linux: 2.3.3-pve1

Code:
sudo /usr/sbin/pct start 103 --debug
run_buffer: 571 Script exited with status 25
lxc_init: 845 Failed to run lxc.hook.pre-start for container "103"
__lxc_start: 2034 Failed to initialize container "103"
0 hostid 100000 range 65536
INFO     lsm - ../src/lxc/lsm/lsm.c:lsm_init_static:38 - Initialized LSM security driver AppArmor
INFO     utils - ../src/lxc/utils.c:run_script_argv:587 - Executing script "/usr/share/lxc/hooks/lxc-pve-prestart-hook" for container "103", config section "lxc"
DEBUG    utils - ../src/lxc/utils.c:run_buffer:560 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 103 lxc pre-start produced output: unsupported debian version '13.4'

ERROR    utils - ../src/lxc/utils.c:run_buffer:571 - Script exited with status 25
ERROR    start - ../src/lxc/start.c:lxc_init:845 - Failed to run lxc.hook.pre-start for container "103"
ERROR    start - ../src/lxc/start.c:__lxc_start:2034 - Failed to initialize container "103"
INFO     utils - ../src/lxc/utils.c:run_script_argv:587 - Executing script "/usr/share/lxcfs/lxc.reboot.hook" for container "103", config section "lxc"
startup for container '103' failed
Code:
Apr 19 13:05:04 systemd[1]: pve-container-debug@103.service: Consumed 1.011s CPU time, 88.8M memory peak.
Apr 19 13:05:04 systemd[1]: pve-container-debug@103.service: Failed with result 'exit-code'.
Apr 19 13:05:04 systemd[1]: pve-container-debug@103.service: Main process exited, code=exited, status=1/FAILURE
Apr 19 13:05:03 pct[4598]: <root@pam> end task UPID:server:000011FA:00006B20:69E42A3E:vzstart:103:root@pam: startup for container '103' failed
Apr 19 13:05:03 pct[4602]: startup for container '103' failed
Apr 19 13:05:02 systemd[1]: Started pve-container-debug@103.service - PVE LXC Container: 103.
Apr 19 13:05:02 pct[4602]: starting CT 103: UPID:server:000011FA:00006B20:69E42A3E:vzstart:103:root@pam:
Apr 19 13:05:02 pct[4598]: <root@pam> starting task UPID:server:000011FA:00006B20:69E42A3E:vzstart:103:root@pam:
 
You might need to upgrade the node, for example via pveupdate && pveupgrade.
Thanks, didn't help;
Starting system upgrade: apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Your System is up-to-date

...
sudo /usr/sbin/pct start 103 --debug
run_buffer: 571 Script exited with status 25
lxc_init: 845 Failed to run lxc.hook.pre-start for container "103"
__lxc_start: 2034 Failed to initialize container "103"
0 hostid 100000 range 65536
INFO lsm - ../src/lxc/lsm/lsm.c:lsm_init_static:38 - Initialized LSM security driver AppArmor
INFO utils - ../src/lxc/utils.c:run_script_argv:587 - Executing script "/usr/share/lxc/hooks/lxc-pve-prestart-hook" for container "103", config section "lxc"
DEBUG utils - ../src/lxc/utils.c:run_buffer:560 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 103 lxc pre-start produced output: unsupported debian version '13.4'

ERROR utils - ../src/lxc/utils.c:run_buffer:571 - Script exited with status 25
ERROR start - ../src/lxc/start.c:lxc_init:845 - Failed to run lxc.hook.pre-start for container "103"
ERROR start - ../src/lxc/start.c:__lxc_start:2034 - Failed to initialize container "103"
INFO utils - ../src/lxc/utils.c:run_script_argv:587 - Executing script "/usr/share/lxcfs/lxc.reboot.hook" for container "103", config section "lxc"
startup for container '103' failed
 
  • Like
Reactions: daddywombat
Code:
pve-container:
  Installed: 6.0.9
  Candidate: 6.0.9
  Version table:
 *** 6.0.9 100
        100 /var/lib/dpkg/status
Not using the enterprise repos. But installed PM just last month.
 
I don't see any repos that provide it. Please make sure they are configured properly, then try the commands again.
For reference, this is how it looks for me
Code:
# apt policy pve-container
pve-container:
  Installed: 6.1.2
  Candidate: 6.1.2
  Version table:
 *** 6.1.2 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
        100 /var/lib/dpkg/status
     6.1.1 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
     6.1.0 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
     6.0.19 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
     6.0.18 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
     6.0.17 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
     6.0.16 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
     6.0.15 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
     6.0.14 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
     6.0.13 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
     6.0.12 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
     6.0.11 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
     6.0.10 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
     6.0.9 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
     6.0.8 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
     6.0.7 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
     6.0.5 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
     6.0.4 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
     6.0.3 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
     6.0.2 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
 
  • Like
Reactions: daddywombat
Please put command outputs in code blocks. Are you using enterprise repos? I don't have access to them but as far as I know this issue has been fixed for them too. What's apt policy pve-container say?
The issue was fixed here: https://github.com/proxmox/pve-container/commit/b69cdbc21fb070ed2f25fbec9a1c22aa1c76fd82
And the whole check rewritten here: https://github.com/proxmox/pve-container/commit/a5f9e02a46b45691e4ef65de1867bea7dd3a5ccb
Thanks, this was the answer. By modifying that line via
Code:
nano /usr/share/perl5/PVE/LXC/Setup/Debian.pm
it will now start. Cheers!!
 
I don't see any repos that provide it. Please make sure they are configured properly, then try the commands again.
For reference, this is how it looks for me
Code:
# apt policy pve-container
pve-container:
  Installed: 6.1.2
  Candidate: 6.1.2
  Version table:
 *** 6.1.2 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
        100 /var/lib/dpkg/status
     6.1.1 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
     6.1.0 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
     6.0.19 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
     6.0.18 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
     6.0.17 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
     6.0.16 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
     6.0.15 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
     6.0.14 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
     6.0.13 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
     6.0.12 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
     6.0.11 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
     6.0.10 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
     6.0.9 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
     6.0.8 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
     6.0.7 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
     6.0.5 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
     6.0.4 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
     6.0.3 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
     6.0.2 500
        500 http://download.proxmox.com/debian/pve trixie/pve-no-subscription amd64 Packages
Adding the No-subscription repo is allowing the updates to come down for proxmox too, thanks!