OS Updates via apt update or apt upgrade  [SOLVED]

Discussions about the installation of KeyHelp.
Post Reply
User avatar
SecCon
Posts: 7
Joined: Fri 5. Apr 2024, 14:19
Location: Sweden
Contact:

OS Updates via apt update or apt upgrade

Post by SecCon »

I am very aware that KeyHelp do not recommend doing any system upgrades if not via https://www.keyweb.de/en/support/learn- ... s-upgrades the OS upgrade scripts.
But what about minor updates? Can we use the OS update function at all or is it meant to be NEVER unless an upgrade is available via the link above?

I am currently running an on premises KeyHelp in a Virtual Ubuntu Server 24.04.2 in Proxmox.
SoHoLabs
My KeyHelp is on:
EPYC 7532 | 128GB ECC | Proxmox VE 8 (ZFS root)
KeyHelp VM: Ubuntu 24.04, 4 vCPU, 12GB RAM, SSD-backed ZFS
Static IP, VirtIO NIC, ZFS autotrim, Netdata monitoring
tab-kh
Posts: 597
Joined: Thu 22. Apr 2021, 23:06

Re: OS Updates via apt update or apt upgrade  [SOLVED]

Post by tab-kh »

apt-get update & apt-get upgrade are running automatically every night as you can see at "Settings->Maintenance Intervals->Update server services".
User avatar
SecCon
Posts: 7
Joined: Fri 5. Apr 2024, 14:19
Location: Sweden
Contact:

Re: OS Updates via apt update or apt upgrade

Post by SecCon »

Thanks...

Still learning the interface, and that would exclude any CLI based updating or handling, from what I understand.

And this of course, which makes perfect sense
If you see any pending updates on the dashboard page, which remain even after this job has run, these are updates that require a manual call to the "apt-get dist-upgrade" command.

Hmm, but also this
Updates for 4 software packages are available.
KeyHelp performs automatic system updates at regular intervals.
If you see pending updates at this point after such an update, it means that some updates have been held back. These types of updates potentially affect the functionality of the installed services. To ensure smooth operation, such updates are not automatically installed.
However, you can install such updates yourself using the console command apt-get dist-upgrade.
So CLI is ok after all...
SoHoLabs
My KeyHelp is on:
EPYC 7532 | 128GB ECC | Proxmox VE 8 (ZFS root)
KeyHelp VM: Ubuntu 24.04, 4 vCPU, 12GB RAM, SSD-backed ZFS
Static IP, VirtIO NIC, ZFS autotrim, Netdata monitoring
User avatar
Alexander
Keyweb AG
Posts: 4519
Joined: Wed 20. Jan 2016, 02:23

Re: OS Updates via apt update or apt upgrade

Post by Alexander »

As a general rule: Just do not perform major operating system upgrades manually. Always use the provided upgrade scripts when updating from:

Debian 11 -> Debian 12
Debian 12 -> Debian 13
...
Ubuntu 22 -> Ubuntu 24
Ubuntu 24 -> Ubuntu 26
...

Minor updates within the the same operating system major versions are fine and you can perform them as often as you like.
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
User avatar
SecCon
Posts: 7
Joined: Fri 5. Apr 2024, 14:19
Location: Sweden
Contact:

Re: OS Updates via apt update or apt upgrade

Post by SecCon »

Thank you, Sir...
SoHoLabs
My KeyHelp is on:
EPYC 7532 | 128GB ECC | Proxmox VE 8 (ZFS root)
KeyHelp VM: Ubuntu 24.04, 4 vCPU, 12GB RAM, SSD-backed ZFS
Static IP, VirtIO NIC, ZFS autotrim, Netdata monitoring
Post Reply