Yesterday my Proxmox server randomly started shutting down on its own. I tried running an update hoping maybe it would fix whatever the issue might be. I THOUGHT the update ran successfully and I was all good. Then the shutdowns started again. I tried a few troubleshooting items and it seems maybe the update had been interrupted. I ran sudo dpkg --configure -a and got the below.
Then the system shutdown. Now I get "E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem." whenever I try to do anything with apt or apt-get. And when I re-run dkpg --configure -a I get this:
root@mkznet:~# dpkg --configure -a
Setting up iperf3 (3.12-1+deb12u1) ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up pve-qemu-kvm (8.0.2-6) ...
Setting up libpve-common-perl (8.0.8) ...
Setting up pve-cluster (8.0.3) ...
Setting up proxmox-kernel-helper (8.0.3) ...
Installing new version of config file /etc/initramfs/post-update.d/proxmox-boot-sync ...
Installing new version of config file /etc/kernel/postinst.d/proxmox-auto-removal ...
Installing new version of config file /etc/kernel/postinst.d/zz-proxmox-boot ...
Installing new version of config file /etc/kernel/postrm.d/proxmox-auto-removal ...
Installing new version of config file /etc/kernel/postrm.d/zz-proxmox-boot ...
Setting up proxmox-kernel-6.2.16-14-pve (6.2.16-14) ...
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms 6.2.16-14-pve /boot/vmlinuz-6.2.16-14-pve
dkms: running auto installation service for kernel 6.2.16-14-pve.
dkms: autoinstall for kernel: 6.2.16-14-pve.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 6.2.16-14-pve /boot/vmlinuz-6.2.16-14-pve
update-initramfs: Generating /boot/initrd.img-6.2.16-14-pve
Running hook script 'zz-proxmox-boot'..
Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..
No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync.
run-parts: executing /etc/kernel/postinst.d/proxmox-auto-removal 6.2.16-14-pve /boot/vmlinuz-6.2.16-14-pve
run-parts: executing /etc/kernel/postinst.d/zz-proxmox-boot 6.2.16-14-pve /boot/vmlinuz-6.2.16-14-pve
Re-executing '/etc/kernel/postinst.d/zz-proxmox-boot' in new private mount namespace..
No /etc/kernel/proxmox-boot-uuids found, skipping ESP sync.
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 6.2.16-14-pve /boot/vmlinuz-6.2.16-14-pve
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.2.16-14-pve
Found initrd image: /boot/initrd.img-6.2.16-14-pve
Found linux image: /boot/vmlinuz-6.2.16-3-pve
Found initrd image: /boot/initrd.img-6.2.16-3-pve
Found linux image: /boot/vmlinuz-5.15.108-1-pve
Found initrd image: /boot/initrd.img-5.15.108-1-pve
Found linux image: /boot/vmlinuz-5.15.85-1-pve
Found initrd image: /boot/initrd.img-5.15.85-1-pve
Found linux image: /boot/vmlinuz-5.15.74-1-pve
Found initrd image: /boot/initrd.img-5.15.74-1-pve
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Adding boot menu entry for UEFI Firmware Settings ...
done
Setting up dbus-session-bus-common (1.14.8-2~deb12u1) ...
Setting up libpve-cluster-perl (8.0.3) ...
Setting up libcurl4:amd64 (7.88.1-10+deb12u1) ...
Setting up libvpx7:amd64 (1.12.0-1+deb12u1) ...
Setting up curl (7.88.1-10+deb12u1) ...
Setting up proxmox-headers-6.2.16-14-pve (6.2.16-14) ...
Setting up dbus-system-bus-common (1.14.8-2~deb12u1) ...
Setting up libpve-http-server-perl (5.0.4) ...
Setting up libc-dev-bin (2.36-9+deb12u1) ...
Setting up libldb2:amd64 (2:2.6.2+samba4.17.10+dfsg-0+deb12u1) ...
Setting up libwebpmux3:amd64 (1.2.4-0.2+deb12u1) ...
Setting up libxml2:amd64 (2.9.14+dfsg-1.3~deb12u1) ...
Setting up dbus-bin (1.14.8-2~deb12u1) ...
Setting up libc-devtools (2.36-9+deb12u1) ...
Setting up bind9-libs:amd64 (1:9.18.19-1~deb12u1) ...
Setting up samba-libs:amd64 (2:4.17.10+dfsg-0+deb12u1) ...
Setting up dbus-daemon (1.14.8-2~deb12u1) ...
Setting up librsvg2-2:amd64 (2.54.7+dfsg-1~deb12u1) ...
Setting up proxmox-headers-6.2 (6.2.16-14) ...
Setting up proxmox-kernel-6.2 (6.2.16-14) ...
Setting up dbus (1.14.8-2~deb12u1) ...
A reboot is required to replace the running dbus-daemon.
Please reboot the system when convenient.
dbus.service is a disabled or a static unit, not starting it.
Setting up python3-ldb (2:2.6.2+samba4.17.10+dfsg-0+deb12u1) ...
Setting up pve-headers-6.2 (8.0.5) ...
Setting up librsvg2-common:amd64 (2.54.7+dfsg-1~deb12u1) ...
Setting up libsmbclient:amd64 (2:4.17.10+dfsg-0+deb12u1) ...
Setting up smbclient (2:4.17.10+dfsg-0+deb12u1) ...
Setting up proxmox-default-kernel (1.0.0) ...
Setting up libpve-access-control (8.0.5) ...
Setting up libpam-systemd:amd64 (252.12-pmx1) ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up libc6-dev:amd64 (2.36-9+deb12u1) ...
Setting up bind9-host (1:9.18.19-1~deb12u1) ...
Setting up pve-kernel-6.2 (8.0.5) ...
Setting up libpve-cluster-api-perl (8.0.3) ...
Setting up librados2-perl (1.4.1) ...
Setting up proxmox-default-headers (1.0.0) ...
Setting up pve-headers (8.0.2) ...
Setting up dbus-user-session (1.14.8-2~deb12u1) ...
Setting up libpve-guest-common-perl (5.0.4) ...
Setting up pve-firewall (5.0.3) ...
Setting up bind9-dnsutils (1:9.18.19-1~deb12u1) ...
Setting up qemu-server (8.0.7) ...
Setting up pve-manager (8.0.4) ...
Setting up proxmox-ve (8.0.2) ...
Processing triggers for mailcap (3.70+nmu1) ...
Processing triggers for pve-ha-manager (4.0.2) ...
Processing triggers for initramfs-tools (0.142) ...
Then the system shutdown. Now I get "E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem." whenever I try to do anything with apt or apt-get. And when I re-run dkpg --configure -a I get this:
Setting up initramfs-tools (0.142) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.142) ...
update-initramfs: Generating /boot/initrd.img-6.2.16-14-pve
at which point the system shuts down. I've tried everything I can find online and nothing is helping or making any progress.