In preparation of wanting to upgrade to version 7, I read in the upgrade notes that it was preferable to update to 6.4 before proceeding. Unfortunately, something has gone wrong during the update/upgrade from 6.2 to 6.4 and a few packages are being held back. Now I'm no longer able to access the GUI.
Reviewing terminal history, I ran:
apt update
apt upgrade
apt dist-upgrade
It was at this point, that I was prompted with the warning of upgrading from V6 to V7 and upon reviewing the upgrade documentation, decided to cancel the upgrade when presented with the option to do so.
I modified /etc/apt/sources.list to comment out the bullseye releases and added the buster releases (expected that this would allow me to force the update to V6.4).
Re-running the update/upgrade/dist-upgrade processes did install a number of packages, but a few still remain and are what I suspect is causing pve to no longer work properly:
Attempting to install the held back packages manually:
Here's pveversion -v:
apt-mark showhold shows nothing:
Here's the response when checking on pvedaemon:
Additional debug output:
Current vzdump state:
I'm willing to start fresh with V7 but
If this ends up not being fixable to the point of getting 6.4 working, my next course of action will be attempting to figure out if it's possible to backup the couple vm's I have in order to rebuild them on a fresh install of V7/V8.
Is it possible to backup the VM's without vzdump working?
Reviewing terminal history, I ran:
apt update
apt upgrade
apt dist-upgrade
It was at this point, that I was prompted with the warning of upgrading from V6 to V7 and upon reviewing the upgrade documentation, decided to cancel the upgrade when presented with the option to do so.
I modified /etc/apt/sources.list to comment out the bullseye releases and added the buster releases (expected that this would allow me to force the update to V6.4).
Code:
root@pve:~# cat /etc/apt/sources.list
#deb http://ftp.debian.org/debian bullseye main contrib
#deb http://ftp.debian.org/debian bullseye-updates main contrib
# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
#deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription
# security updates
#deb http://security.debian.org/debian-security bullseye-security main contrib
deb http://ftp.debian.org/debian buster main contrib
deb http://ftp.debian.org/debian buster-updates main contrib
# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve buster pve-no-subscription
# security updates
deb http://security.debian.org/debian-security buster/updates main contrib
Re-running the update/upgrade/dist-upgrade processes did install a number of packages, but a few still remain and are what I suspect is causing pve to no longer work properly:
Code:
root@pve:~# apt update
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://ftp.debian.org/debian buster InRelease
Hit:3 http://ftp.debian.org/debian buster-updates InRelease
Hit:4 http://download.proxmox.com/debian/pve buster InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
5 packages can be upgraded. Run 'apt list --upgradable' to see them.
Code:
root@pve:~# apt list --upgradable
Listing... Done
libpve-common-perl/stable 6.4-5 all [upgradable from: 6.1-2]
libpve-storage-perl/stable 6.4-1 all [upgradable from: 6.1-7]
pve-container/stable 3.3-6 all [upgradable from: 3.1-5]
pve-manager/stable 6.4-15 amd64 [upgradable from: 6.2-4]
qemu-server/stable 6.4-2 amd64 [upgradable from: 6.2-2]
Code:
root@pve:~# apt dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
libpve-common-perl libpve-storage-perl pve-container pve-manager qemu-server
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Attempting to install the held back packages manually:
Code:
root@pve:~# apt install qemu-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
qemu-server : Depends: libpve-common-perl (>= 6.3-3) but 6.1-2 is to be installed
Depends: libpve-storage-perl (>= 6.3-8) but 6.1-7 is to be installed
E: Unable to correct problems, you have held broken packages.
Here's pveversion -v:
Code:
root@pve:~# pveversion -v
proxmox-ve: 6.4-1 (running kernel: 5.10.0-14-amd64)
pve-manager: 6.2-4 (running version: 6.2-4/9824574a)
pve-kernel-5.4: 6.4-20
pve-kernel-helper: 6.4-20
pve-kernel-5.4.203-1-pve: 5.4.203-1
pve-kernel-5.4.34-1-pve: 5.4.34-2
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.1.5-pve2~bpo10+1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: 0.8.35+pve1
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.22-pve2~bpo10+1
libproxmox-acme-perl: 1.1.0
libpve-access-control: 6.4-3
libpve-apiclient-perl: 3.1-3
libpve-common-perl: 6.1-2
libpve-guest-common-perl: 3.1-5
libpve-http-server-perl: 3.2-5
libpve-storage-perl: 6.1-7
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 4.0.6-2
lxcfs: 4.0.6-pve1
novnc-pve: 1.1.0-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.6-2
pve-cluster: 7.2-1
pve-container: 3.1-5
pve-docs: 6.4-2
pve-edk2-firmware: 2.20200531-1
pve-firewall: 4.1-4
pve-firmware: 3.4-2
pve-ha-manager: 3.1-1
pve-i18n: 2.3-1
pve-qemu-kvm: 5.2.0-8
pve-xtermjs: 4.7.0-3
qemu-server: 6.2-2
smartmontools: 7.2-pve2
spiceterm: 3.1-1
vncterm: 1.6-2
zfsutils-linux: 2.0.7-pve1
apt-mark showhold shows nothing:
Code:
apt-mark showhold
Here's the response when checking on pvedaemon:
systemctl status pvedaemon.service
Code:
pvedaemon.service - PVE API Daemon
Loaded: loaded (/lib/systemd/system/pvedaemon.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2023-08-31 22:12:03 EDT; 13h ago
Process: 1118 ExecStart=/usr/bin/pvedaemon start (code=exited, status=255/EXCEPTION)
Aug 31 22:12:03 pve systemd[1]: Failed to start PVE API Daemon.
Aug 31 22:12:03 pve systemd[1]: pvedaemon.service: Start request repeated too quickly.
Aug 31 22:12:03 pve systemd[1]: pvedaemon.service: Failed with result 'exit-code'.
Aug 31 22:12:03 pve systemd[1]: Failed to start PVE API Daemon.
Aug 31 22:12:04 pve systemd[1]: pvedaemon.service: Start request repeated too quickly.
Aug 31 22:12:04 pve systemd[1]: pvedaemon.service: Failed with result 'exit-code'.
Aug 31 22:12:04 pve systemd[1]: Failed to start PVE API Daemon.
Aug 31 22:12:05 pve systemd[1]: pvedaemon.service: Start request repeated too quickly.
Aug 31 22:12:05 pve systemd[1]: pvedaemon.service: Failed with result 'exit-code'.
Aug 31 22:12:05 pve systemd[1]: Failed to start PVE API Daemon.
root@pve:~# systemctl start pvedaemon.service
Job for pvedaemon.service failed because the control process exited with error code.
See "systemctl status pvedaemon.service" and "journalctl -xe" for details.
journalctl -xe
didn't return much that's helpful:
Code:
Sep 01 11:20:03 pve systemd[1]: pvedaemon.service: Control process exited, code=exited, status=255/EXCEPTION
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- An ExecStart= process belonging to unit pvedaemon.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 255.
Sep 01 11:20:03 pve systemd[1]: pvedaemon.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit pvedaemon.service has entered the 'failed' state with result 'exit-code'.
Sep 01 11:20:03 pve systemd[1]: Failed to start PVE API Daemon.
-- Subject: A start job for unit pvedaemon.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit pvedaemon.service has finished with a failure.
--
-- The job identifier is 67527 and the job result is failed.
Sep 01 11:20:04 pve systemd[1]: pvedaemon.service: Service RestartSec=100ms expired, scheduling restart.
Sep 01 11:20:04 pve systemd[1]: pvedaemon.service: Scheduled restart job, restart counter is at 5.
-- Subject: Automatic restarting of a unit has been scheduled
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Automatic restarting of the unit pvedaemon.service has been scheduled, as the result for
-- the configured Restart= setting for the unit.
Sep 01 11:20:04 pve systemd[1]: Stopped PVE API Daemon.
-- Subject: A stop job for unit pvedaemon.service has finished
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A stop job for unit pvedaemon.service has finished.
--
-- The job identifier is 67612 and the job result is done.
Sep 01 11:20:04 pve systemd[1]: Condition check resulted in Corosync Cluster Engine being skipped.
-- Subject: A start job for unit corosync.service has finished successfully
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit corosync.service has finished successfully.
--
-- The job identifier is 67696.
Sep 01 11:20:04 pve systemd[1]: pvedaemon.service: Start request repeated too quickly.
Sep 01 11:20:04 pve systemd[1]: pvedaemon.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit pvedaemon.service has entered the 'failed' state with result 'exit-code'.
Sep 01 11:20:04 pve systemd[1]: Failed to start PVE API Daemon.
-- Subject: A start job for unit pvedaemon.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit pvedaemon.service has finished with a failure.
--
-- The job identifier is 67612 and the job result is failed.
Additional debug output:
Code:
root@pve:~# apt list --installed | grep linux-image
linux-image-5.10.0-14-amd64/now 5.10.113-1 amd64 [installed,local]
Code:
root@pve:~# apt --fix-broken install
Reading package lists... 0%
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
Code:
root@pve:~# uname -a
Linux pve 5.10.0-14-amd64 #1 SMP Debian 5.10.113-1 (2022-04-29) x86_64 GNU/Linux
Current vzdump state:
Code:
root@pve:~# vzdump
no such standard option 'prune-backups'
Compilation failed in require at /usr/share/perl5/PVE/VZDump/Plugin.pm line 11.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/VZDump/Plugin.pm line 11.
Compilation failed in require at /usr/share/perl5/PVE/API2/Qemu.pm line 34.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/API2/Qemu.pm line 34.
Compilation failed in require at /usr/share/perl5/PVE/HA/Resources/PVEVM.pm line 16.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/HA/Resources/PVEVM.pm line 19.
Compilation failed in require at /usr/share/perl5/PVE/HA/Env/PVE2.pm line 21.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/HA/Env/PVE2.pm line 21.
Compilation failed in require at /usr/share/perl5/PVE/VZDump.pm line 18.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/VZDump.pm line 18.
Compilation failed in require at /usr/share/perl5/PVE/API2/VZDump.pm line 13.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/API2/VZDump.pm line 13.
Compilation failed in require at /usr/share/perl5/PVE/CLI/vzdump.pm line 8.
BEGIN failed--compilation aborted at /usr/share/perl5/PVE/CLI/vzdump.pm line 8.
Compilation failed in require at /usr/bin/vzdump line 6.
BEGIN failed--compilation aborted at /usr/bin/vzdump line 6.
I'm willing to start fresh with V7 but
vzdump
no longer works either.If this ends up not being fixable to the point of getting 6.4 working, my next course of action will be attempting to figure out if it's possible to backup the couple vm's I have in order to rebuild them on a fresh install of V7/V8.
Is it possible to backup the VM's without vzdump working?