Wrong Kernel after upgrade

ahoi_

New Member
Apr 10, 2021
24
4
3
38
Hello everybody,

after upgrading to PBS 2 I mentioned that I am using the kernel
Code:
Linux 5.10.0-7-amd64 #1 SMP Debian 5.10.40-1 (2021-05-28)

Proxmox Backup Server should come with it's own Kernel 5.11.x.

Code:
deb http://ftp.debian.org/debian bullseye main contrib
deb http://ftp.debian.org/debian bullseye-updates main contrib

# PBS pbs-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pbs bullseye pbs-no-subscription

# security updates
deb http://security.debian.org/debian-security bullseye-security main contrib

Code:
apt update && apt dist-upgrade
are not showing any upgrades and this is the content of
Code:
/boot

Code:
ls -lah
insgesamt 75M
drwxr-xr-x  4 root root 4,0K 13. Jul 23:14 .
drwxr-xr-x 19 root root 4,0K 13. Jul 13:27 ..
-rw-r--r--  1 root root 202K 21. Jun 10:46 config-4.19.0-17-amd64
-rw-r--r--  1 root root 231K 28. Mai 10:31 config-5.10.0-7-amd64
drwxr-xr-x  5 root root 4,0K 13. Jul 23:14 grub
-rw-r--r--  1 root root  29M 23. Jun 22:31 initrd.img-4.19.0-17-amd64
-rw-r--r--  1 root root  31M 13. Jul 13:29 initrd.img-5.10.0-7-amd64
drwx------  2 root root  16K 15. Apr 15:04 lost+found
-rw-r--r--  1 root root 3,3M 21. Jun 10:46 System.map-4.19.0-17-amd64
-rw-r--r--  1 root root   83 28. Mai 10:31 System.map-5.10.0-7-amd64
-rw-r--r--  1 root root 5,1M 21. Jun 10:46 vmlinuz-4.19.0-17-amd64
-rw-r--r--  1 root root 6,6M 28. Mai 10:31 vmlinuz-5.10.0-7-amd64
 
Hi Thomas,

sure. Here we go:

Code:
# proxmox-backup-manager versions --verbose
proxmox-backup             unknown      running kernel: 5.10.0-7-amd64
proxmox-backup-server      2.0.4-1      running version: 2.0.4       
ifupdown2                  3.0.0-1+pve5                               
libjs-extjs                7.0.0-1                                   
proxmox-backup-docs        2.0.4-1                                   
proxmox-backup-client      unknown                                   
proxmox-mini-journalreader 1.2-1                                     
proxmox-widget-toolkit     3.3-3                                     
pve-xtermjs                4.12.0-1                                   
smartmontools              7.2-pve2                                   
zfsutils-linux             2.0.4-pve1
 
proxmox-backup unknown
There's your issue, the meta package is not installed correctly, and that is the one which depends on our current kernel meta package, which would be the pve-kernel-5.11 for Proxmox Backup Server 2.0

Could it be that this was originally installed on a plain Debian or the like?

Anyhow, try:
apt install proxmox-backup
 
  • Like
Reactions: ahoi_
That's very strange. PBS has been installed by engineers in the datacenter and I know they are using some kind of installation image. I am not sure, whether this installation image is something custom-built.

For now I succeeded using apt install proxmox-backup and the correct kernel is being loaded after reboot. The strange thing is: Even though proxmox-backup was not installed correctly, it did work fine this night and created, pruned and validated backups.
 
Yeah, the actual API daemons are provided by the proxmox-backup-server package, the proxmox-backup one is a so-called meta package, that means it does not ship much of actual tools or daemons, but only sets the dependency for the other packages. It's basically only there to provide a convenient way to install all of Proxmox Backup Server and to guarantee that all components and dependencies like the kernel is installed.

That's why the basic Proxmox Backup Server functionality worked just fine, that package was already installed before the upgrade and thus included in the upgrade and setup OK.
 
  • Like
Reactions: ahoi_
Thank you for your support, Thomas.

Is there anything I should have an eye on for the next few days or the next update (PBS 3)?
 
Is there anything I should have an eye on for the next few days or the next update (PBS 3)?
Nothing specific, no. With that meta package now installed, the "issue" is solved for good and any kernel switch we'll do now also propagates to you as normal update on that system.

PBS 1.1 will still be supported for another year, and as Proxmox projects roughly follow Debian's release cycle, meaning a new major release about every two years, you probably do not need to think about PBS 3 too much yet :)