[SOLVED] Problems after upgrade from Proxmox 7 to 8.0.4

Steen_A

New Member
Oct 10, 2023
7
0
1
Hi group

Upgraded from latest Proxmox 7 to rel 8.0.4 and ran into some problems

First I ran into the problem that the ethernet interface did not come up again, and when trying to manually bring the interface up with ifup, I got the error "Permission denied" even that I was root.
It showed up the the ifup is now a link to some Python code under /usr/share/ifupdown2/ , and the files __main__.py and the file __init__.py both missed the executable flag for all groups
Given the executable flag to these 2 files fixed my Proxmox box and I got network connectivity again, but now I'm facing another problem

Trying to update my Proxmox box it crashes for every retry- Both from the GUI and from CLI

I get this strange message running apt upgrade (After the apt update)
Reading database ... 62150 files and directories currently installed.)
Preparing to unpack .../proxmox-kernel-6.2.16-12-pve_6.2.16-12_amd64.deb ...
Unpacking proxmox-kernel-6.2.16-12-pve (6.2.16-12) over (6.2.16-12) ...

And then the box crashes !!

Why do the system try to unpack on top of the already installed proxmox kernel in same release ?
And why do the system tell me that the proxmox-kernel-6.2.16-12-pve/now 6.2.16-12 package can be upgraded to 6.2.16-12 (See below)


As can be seen same kernel is already installed on the system

root@pve2:/usr/share/ifupdown2# apt list --installed | grep -i proxmox-kernel

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

proxmox-kernel-6.2.16-12-pve/now 6.2.16-12 amd64 [installed,upgradable to: 6.2.16-12]
proxmox-kernel-helper/now 7.4-1 all [installed,upgradable to: 8.0.3]

Any suggestions or help are very appreciated

Br
Steen
 
Last edited:
Hi,

I get this strange message running apt upgrade (After the apt update)
Please use `apt dist-upgrade` instead of `apt upgrade`

Can you please provide us with the output of the following commands:
Bash:
pveversion -v
grep '' /etc/apt/sources.list && grep '' /etc/apt/sources.list.d
apt update && apt dist-upgrade
 
root@pve2:/usr/share/ifupdown2# pveversion -v
proxmox-ve: 7.4-1 (running kernel: 5.15.116-1-pve)
pve-manager: 8.0.4 (running version: 8.0.4/d258a813cfa6b390)
pve-kernel-5.15: 7.4-6
proxmox-kernel-helper: 7.4-1
pve-kernel-5.15.116-1-pve: 5.15.116-1
pve-kernel-5.15.108-1-pve: 5.15.108-2
pve-kernel-5.15.30-2-pve: 5.15.30-3
ceph-fuse: 16.2.11+ds-2
corosync: 3.1.7-pve3
criu: 3.17.1-2
glusterfs-client: 10.3-5
ifupdown2: 3.2.0-1+pmx4
ksm-control-daemon: 1.4-1
libjs-extjs: 7.0.0-4
libknet1: 1.25-pve1
libproxmox-acme-perl: 1.4.6
libproxmox-backup-qemu0: 1.4.0
libproxmox-rs-perl: 0.3.1
libpve-access-control: 8.0.5
libpve-apiclient-perl: 3.3.1
libpve-common-perl: 8.0.8
libpve-guest-common-perl: 5.0.4
libpve-http-server-perl: 5.0.4
libpve-rs-perl: 0.8.5
libpve-storage-perl: 8.0.2
libspice-server1: 0.15.1-1
lvm2: 2.03.16-2
lxc-pve: 5.0.2-4
lxcfs: 5.0.3-pve3
novnc-pve: 1.4.0-2
proxmox-backup-client: 3.0.2-1
proxmox-backup-file-restore: 3.0.2-1
proxmox-kernel-helper: 7.4-1
proxmox-mail-forward: 0.2.0
proxmox-mini-journalreader: 1.4.0
proxmox-offline-mirror-helper: 0.5.2
proxmox-widget-toolkit: 4.0.6
pve-cluster: 8.0.3
pve-container: 5.0.4
pve-docs: 8.0.4
pve-edk2-firmware: 3.20230228-4
pve-firewall: 5.0.3
pve-firmware: 3.8-2
pve-ha-manager: 4.0.2
pve-i18n: 3.0.5
pve-qemu-kvm: 8.0.2-5
pve-xtermjs: 4.16.0-3
qemu-server: 8.0.7
smartmontools: 7.3-pve1
spiceterm: 3.3.0
swtpm: 0.8.0+pve1
vncterm: 1.8.0
zfsutils-linux: 2.1.11-pve1
root@pve2:/usr/share/ifupdown2#



root@pve2:/usr/share/ifupdown2# grep '' /etc/apt/sources.list && grep '' /etc/apt/sources.list.d
deb http://ftp.dk.debian.org/debian bookworm main contrib

deb http://ftp.dk.debian.org/debian bookworm-updates main contrib

# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription

# security updates
deb http://security.debian.org bookworm-security main contrib
grep: /etc/apt/sources.list.d: Is a directory



root@pve2:/usr/share/ifupdown2# apt update
Hit:1 http://security.debian.org bookworm-security InRelease
Hit:2 http://ftp.dk.debian.org/debian bookworm InRelease
Get:3 http://ftp.dk.debian.org/debian bookworm-updates InRelease [52.1 kB]
Hit:4 http://download.proxmox.com/debian/pve bookworm InRelease
Fetched 52.1 kB in 1s (35.6 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
96 packages can be upgraded. Run 'apt list --upgradable' to see them.



root@pve2:/usr/share/ifupdown2# apt dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
proxmox-kernel-6.2.16-12-pve telnet
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
proxmox-default-kernel proxmox-kernel-6.2 proxmox-kernel-6.2.16-15-pve
The following packages will be upgraded:
base-files bind9-dnsutils bind9-host bind9-libs curl dbus dbus-bin dbus-daemon
dbus-session-bus-common dbus-system-bus-common dbus-user-session debian-archive-keyring
debianutils grub-common grub-efi-amd64-bin grub-pc grub-pc-bin grub2-common ifupdown2
inetutils-telnet krb5-locales libc-bin libc-l10n libc6 libcups2 libcurl3-gnutls libcurl4
libdbus-1-3 libgssapi-krb5-2 libk5crypto3 libknet1 libkrb5-3 libkrb5support0 libldb2 libnftables1
libnozzle1 libnss-systemd libnvpair3linux libpam-modules libpam-modules-bin libpam-runtime
libpam-systemd libpam0g libpve-cluster-api-perl libpve-cluster-perl libpve-common-perl
libpve-guest-common-perl libsmbclient libssl3 libsystemd-shared libsystemd0 libudev1 libunbound8
libuutil3linux libwbclient0 libx11-6 libx11-data libx11-xcb1 libzfs4linux libzpool5linux locales
nftables openssh-client openssh-server openssh-sftp-server openssl proxmox-backup-client
proxmox-backup-file-restore proxmox-kernel-6.2.16-12-pve proxmox-kernel-helper
proxmox-offline-mirror-docs proxmox-offline-mirror-helper proxmox-ve proxmox-widget-toolkit
pve-cluster pve-docs pve-i18n pve-qemu-kvm python3-ldb rsyslog samba-common samba-libs smbclient
spl ssh strace systemd systemd-sysv tcpdump telnet time udev usbutils zfs-initramfs zfs-zed
zfsutils-linux
96 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/299 MB of archives.
After this operation, 1,139 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Reading changelogs... Done
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 62150 files and directories currently installed.)
Preparing to unpack .../proxmox-kernel-6.2.16-12-pve_6.2.16-12_amd64.deb ...
Unpacking proxmox-kernel-6.2.16-12-pve (6.2.16-12) over (6.2.16-12) ...

Progress: [ 0%] [................................................................................]



And the system crashed again !!
 
Last edited:
Thank you for the output!

Do you have this issue on all nodes?

Can you please check the Syslog looking for any interesting errors during the upgrade process?

Can you please check if you have an update for the BIOS?

Regarding the ifreload (network issue) can you please also check of the output of `ifreload -a` this command should not result anything if everything ok.
 
Hi Moayad
Just got an answer on what is wrong
Tried to install Ubuntu 22.04 that also uses the 6.2 kernel and when the kernel loaded during installation the system crashed
I'm running on a NUC10i7FNH that have been running without any issues with Proxmox 7
But it seems like this NUC model has some issues with Linux kernel in rel 6.2 according to Google, so it is actually not a Proxmox problem, but the kernel that is causing the problem
Found a suggestion to disable "Intel Turbo Boost Technology" in the bios when running on Linux kernel 6.2 and that fixed the issue on both Ubuntu and on Proxmox.
Br Steen
 
Hi,

Glad to hear that you fix the issue yourself!

And thank you for sharing your solution. I will go ahead and set your thread as [SOLVED] in order to help other people who have the same issue.

Have a nice day :)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!