After upgrading to PVE9 vms fail to start, qm, ha-manager, services like pvestatd, web gui, and more fail to start with the common error:
No files exist in
For those who ask, yes i did run the
What gives? I cant find any documentation on what should be in that directory or why this is failing.
Code:
root@pve3:/etc/pve# qm
unknown file 'ha/rules.cfg' at /usr/share/perl5/PVE/Cluster.pm line 524, <DATA> line 960.
Compilation failed in require at /usr/share/perl5/PVE/QemuServer.pm line 36, <DATA> line 960.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/QemuServer.pm line 36, <DATA> line 960.
Compilation failed in require at /usr/share/perl5/PVE/API2/Qemu/Agent.pm line 8, <DATA> line 960.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/API2/Qemu/Agent.pm line 8, <DATA> line 960.
Compilation failed in require at /usr/share/perl5/PVE/CLI/qm.pm line 30, <DATA> line 960.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/CLI/qm.pm line 30, <DATA> line 960.
Compilation failed in require at /usr/sbin/qm line 6, <DATA> line 960.
BEGIN failed--compilation aborted at /usr/sbin/qm line 6, <DATA> line 960
Code:
root@pve3:~# systemctl status pvestatd.service
× pvestatd.service - PVE Status Daemon
Loaded: loaded (/lib/systemd/system/pvestatd.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Fri 2025-08-08 01:24:17 CDT; 4s ago
Process: 12648 ExecStart=/usr/bin/pvestatd start (code=exited, status=255/EXCEPTION)
CPU: 1.335s
Aug 08 01:24:17 pve3 pvestatd[12648]: Compilation failed in require at /usr/share/perl5/PVE/QemuServer.pm line 36.
Aug 08 01:24:17 pve3 pvestatd[12648]: BEGIN failed--compilation aborted at /usr/share/perl5/PVE/QemuServer.pm line 36.
Aug 08 01:24:17 pve3 pvestatd[12648]: Compilation failed in require at /usr/share/perl5/PVE/Service/pvestatd.pm line 21.
Aug 08 01:24:17 pve3 pvestatd[12648]: BEGIN failed--compilation aborted at /usr/share/perl5/PVE/Service/pvestatd.pm lin>
Aug 08 01:24:17 pve3 pvestatd[12648]: Compilation failed in require at /usr/bin/pvestatd line 9.
Aug 08 01:24:17 pve3 pvestatd[12648]: BEGIN failed--compilation aborted at /usr/bin/pvestatd line 9.
Aug 08 01:24:17 pve3 systemd[1]: pvestatd.service: Control process exited, code=exited, status=255/EXCEPTION
Aug 08 01:24:17 pve3 systemd[1]: pvestatd.service: Failed with result 'exit-code'.
Aug 08 01:24:17 pve3 systemd[1]: Failed to start pvestatd.service - PVE Status Daemon.
Aug 08 01:24:17 pve3 systemd[1]: pvestatd.service: Consumed 1.335s CPU time.
No files exist in
/etc/pve/ha
, and it was not configured on the host prior to the upgrade.For those who ask, yes i did run the
pve8to9 --full
with no issues.What gives? I cant find any documentation on what should be in that directory or why this is failing.