Hestia Control Panel: v1.6.8
Operating System: Ubuntu 20.04 (x86_64)
I have a question about updating Hestia from v1.6.8 to the latest version (v1.6.14) without using the command “apt update && apt upgrade”. I’m concerned that upgrading may have an impact on other packages.
Due to a bug introduced in 1.6.8 auto updates and updates via v-update-sys-hestia are broken!Source
I’ve reviewed the source code for the auto-update cron job and noticed that it only updates three packages: hestia hestia-nginx hestia-php. Is there a method to update only those packages and achieve the same result as the script?
Thank you, @eris! I mentioned in the post that I’m looking for an alternative to the command “apt update && apt upgrade” and my concern is updating only Hestia packages without upgrading other packages. Can you help me with that?
Reading package lists... Done
Building dependency tree
Reading state information... Done
hestia-php is already the newest version (8.1.12).
The following packages will be upgraded:
hestia hestia-nginx
2 upgraded, 0 newly installed, 0 to remove and 163 not upgraded.
Inst hestia [1.6.8] (1.6.14 apt repository:focal [amd64])
Inst hestia-nginx [1.23.0] (1.23.2 apt repository:focal [amd64])
Conf hestia (1.6.14 apt repository:focal [amd64])
Conf hestia-nginx (1.23.2 apt repository:focal [amd64])
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
147 packages can be upgraded. Run 'apt list --upgradable' to see them.
[email protected]:~# sudo apt --only-upgrade --dry-run install hestia hestia-nginx hestia-php
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
hestia-php is already the newest version (8.1.12).
The following packages will be upgraded:
hestia hestia-nginx
2 upgraded, 0 newly installed, 0 to remove and 145 not upgraded.
Inst hestia [1.6.8] (1.6.14 apt repository:jammy [arm64])
Inst hestia-nginx [1.23.0] (1.23.2 apt repository:jammy [arm64])
Conf hestia (1.6.14 apt repository:jammy [arm64])
Conf hestia-nginx (1.23.2 apt repository:jammy [arm64])
I’ve upgraded three servers using the same method. Just remember to remove the “–dry-run” flag from the command. You can use it initially to preview the upgrade process and then remove it to apply the changes.
Thanks, didn’t realize dry run means to check the waters before actually doing anything!!!
[email protected]:~# sudo apt --only-upgrade install hestia hestia-nginx hestia-php
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
hestia-php is already the newest version (8.1.12).
The following packages will be upgraded:
hestia hestia-nginx
2 upgraded, 0 newly installed, 0 to remove and 145 not upgraded.
Need to get 8356 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://apt.hestiacp.com jammy/main arm64 hestia arm64 1.6.14 [2543 kB]
Get:2 https://apt.hestiacp.com jammy/main arm64 hestia-nginx arm64 1.23.2 [5812 kB]
Fetched 8356 kB in 1s (8315 kB/s)
(Reading database ... 156637 files and directories currently installed.)
Preparing to unpack .../hestia_1.6.14_arm64.deb ...
Unpacking hestia (1.6.14) over (1.6.8) ...
Preparing to unpack .../hestia-nginx_1.23.2_arm64.deb ...
Unpacking hestia-nginx (1.23.2) over (1.23.0) ...
Setting up hestia (1.6.14) ...
_ _ _ _ ____ ____
| | | | ___ ___| |_(_) __ _ / ___| _ \
| |_| |/ _ \/ __| __| |/ _` | | | |_) |
| _ | __/\__ \ |_| | (_| | |___| __/
|_| |_|\___||___/\__|_|\__,_|\____|_|
Hestia Control Panel Software Update
Version: 1.6.14
=============================================================================
[ ! ] IMPORTANT INFORMATION:
Default configuration files and templates may be modified or replaced
during the upgrade process. You may restore these files from:
Backup directory: /root/hst_backups/170320231616/
Installation log: /root/hst_backups/170320231616/hst-upgrade-170320231616.log
=============================================================================
[ * ] Backing up existing templates and configuration files...
=============================================================================
[ ! ] Performing system health check before proceeding with installation...
[ * ] Health check complete. Starting upgrade from 1.6.8 to 1.6.14...
=============================================================================
[ - ] Now applying patches and updates for version v1.6.10...
[ - ] Now applying patches and updates for version v1.6.12...
[ * ] Update loading firewall rules service...
[ - ] Now applying patches and updates for version v1.6.13...
[ - ] Now applying patches and updates for version v1.6.14...
[ * ] Clean up firewall rules restore file...
[ - ] Now applying patches and updates for version v1.6.9...
[ ! ] Upgrading File Manager to version 7.8.7...
[ * ] Roundcube is up to date (1.6.0)...
[ ! ] Upgrading PHPmailer to version 6.7.1...
[ * ] phpMyAdmin is up to date (5.2.0)...
=============================================================================
Installation tasks complete, performing clean-up...
=============================================================================
[ * ] Restarting services...
=============================================================================
Upgrade complete! If you encounter any issues or find a bug,
please take a moment to report it to us on GitHub at the URL below:
https://github.com/hestiacp/hestiacp/issues
Read the release notes to learn about new fixes and features:
https://github.com/hestiacp/hestiacp/blob/release/CHANGELOG.md
We hope that you enjoy using this version of Hestia Control Panel,
have a wonderful day!
Sincerely,
The Hestia Control Panel development team
Web: https://www.hestiacp.com/
Forum: https://forum.hestiacp.com/
Discord: https://discord.gg/nXRUZch
GitHub: https://github.com/hestiacp/hestiacp/
Help support the Hestia Control Panel project by donating via PayPal:
https://www.hestiacp.com/donate
Made with love & pride by the open-source community around the world.
=============================================================================
Setting up hestia-nginx (1.23.2) ...
Scanning processes...
Scanning linux images...
Running kernel seems to be up-to-date.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.