UCS 5.0-2 errata492 upgrade to errata547

Hi im trying to upgrade UCS 5.0-2 errata492 to errata547 and it failed with this error logs

ERROR: An error occurred during update. Please check the logfiles.
Tue Jan 24 09:30:54 EST 2023

(See attachment for the entire log )UCS Update Failed.txt (79.9 KB)

Once i press finish ive reboot the server and it won’t boot anymore. Ive revert to my snapshot before for now but anyone can help me with that problem. First time im having trouble updating.

Thanks !

/boot seems to be quite full:

update-initramfs: Generating /boot/initrd.img-4.19.0-23-amd64
pigz: abort: write error on <stdout> (No space left on device)
E: mkinitramfs failure cpio 141 pigz 28
update-initramfs: failed for /boot/initrd.img-4.19.0-23-amd64 with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-4.19.0-23-amd64 (--configure):
 installed linux-image-4.19.0-23-amd64 package post-installation script subprocess returned error exit status 1

You should remove some old kernels before starting the update.

Ok im not that familiar on how to do this can you guide me please

Here is the output of /boot

root@cloud:/boot# ls -ltr
total 422680
-rw-r–r-- 1 root root 4224800 May 7 2018 vmlinuz-4.9.0-6-amd64
-rw-r–r-- 1 root root 3190138 May 7 2018 System.map-4.9.0-6-amd64
-rw-r–r-- 1 root root 186567 May 7 2018 config-4.9.0-6-amd64
drwx------ 2 root root 12288 May 8 2018 lost+found
-rw-r–r-- 1 root root 4269856 Mar 7 2021 vmlinuz-4.9.0-15-amd64
-rw-r–r-- 1 root root 3213880 Mar 7 2021 System.map-4.9.0-15-amd64
-rw-r–r-- 1 root root 186681 Mar 7 2021 config-4.9.0-15-amd64
-rw-r–r-- 1 root root 4273776 Mar 15 2021 vmlinuz-4.9.0-15-amd64.efi.signed
-rw-r–r-- 1 root root 184884 Apr 28 2021 memtest86+_multiboot.bin
-rw-r–r-- 1 root root 182704 Apr 28 2021 memtest86+.bin
-rw-r–r-- 1 root root 4273952 Jun 23 2021 vmlinuz-4.9.0-16-amd64
-rw-r–r-- 1 root root 3214240 Jun 23 2021 System.map-4.9.0-16-amd64
-rw-r–r-- 1 root root 186681 Jun 23 2021 config-4.9.0-16-amd64
-rw-r–r-- 1 root root 4277872 Jun 25 2021 vmlinuz-4.9.0-16-amd64.efi.signed
-rw-r–r-- 1 root root 5299456 Mar 7 2022 vmlinuz-4.19.0-19-amd64
-rw-r–r-- 1 root root 3425681 Mar 7 2022 System.map-4.19.0-19-amd64
-rw-r–r-- 1 root root 206331 Mar 7 2022 config-4.19.0-19-amd64
-rw-r–r-- 1 root root 5299456 Mar 17 2022 vmlinuz-4.19.0-20-amd64
-rw-r–r-- 1 root root 3425737 Mar 17 2022 System.map-4.19.0-20-amd64
-rw-r–r-- 1 root root 206331 Mar 17 2022 config-4.19.0-20-amd64
-rw-r–r-- 1 root root 5299456 Jun 30 2022 vmlinuz-4.19.0-21-amd64
-rw-r–r-- 1 root root 3417138 Jun 30 2022 System.map-4.19.0-21-amd64
-rw-r–r-- 1 root root 206378 Jun 30 2022 config-4.19.0-21-amd64
-rw-r–r-- 1 root root 57267107 Aug 3 09:26 initrd.img-4.19.0-20-amd64
-rw-r–r-- 1 root root 57266877 Aug 3 09:26 initrd.img-4.19.0-19-amd64
-rw-r–r-- 1 root root 44523662 Aug 3 09:26 initrd.img-4.9.0-16-amd64
-rw-r–r-- 1 root root 44507617 Aug 3 09:26 initrd.img-4.9.0-15-amd64
-rw-r–r-- 1 root root 44435943 Aug 3 09:27 initrd.img-4.9.0-6-amd64
-rw-r–r-- 1 root root 57739733 Aug 3 09:37 initrd.img-4.19.0-21-amd64
-rw-r–r-- 1 root root 5303616 Sep 28 20:47 vmlinuz-4.19.0-22-amd64
-rw-r–r-- 1 root root 3417307 Sep 28 20:47 System.map-4.19.0-22-amd64
-rw-r–r-- 1 root root 206378 Sep 28 20:47 config-4.19.0-22-amd64
-rw-r–r-- 1 root root 57747713 Oct 19 08:27 initrd.img-4.19.0-22-amd64
drwxr-xr-x 5 root root 1024 Oct 19 08:28 grub
-rw-r–r-- 1 root root 318 Oct 19 08:29 boot.msg

Thanks !

There is only 24MB left in /boot

root@cloud:/boot# df -h
Filesystem Size Used Avail Use% Mounted on
udev 1.9G 0 1.9G 0% /dev
tmpfs 395M 15M 380M 4% /run
/dev/mapper/vg_ucs-root 143G 115G 22G 84% /
tmpfs 2.0G 4.0K 2.0G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
/dev/sda1 470M 425M 21M 96% /boot
overlay 143G 115G 22G 84% /var/lib/docker/overlay/6b80196214bb7b53e7dc74eadadde882ed3b029aa98469a992db46d48dde6ce3/merged
overlay 143G 115G 22G 84% /var/lib/docker/overlay/79f039bd211b730ca28833e04809b2f70e39e74bd299fc573642682491900be4/merged

Can we delete old file in this ?

Have you tried univention-prune-kernels?

No i didn’t knew about this. Is there an official link to download it ?

That’s a tool that you can run on the terminal.

Ok found the articles that talk about it : UCS 5.0 Release Notes (software-univention.de)

Ive ran univention-prune-kernels in ssh session and im now at 17% used in /boot instead of 96%

Ive ran the update and everything is ok

Thanks for your help !

Mastodon