Update Hestia v1.6.8

Hello!

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?

v-update-sys-hestia-all

Thanks! :blush:

1 Like

apt update && apt upgrade

1 Like

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?

https://www.cyberciti.biz/faq/ubuntu-upgrade-update-single-package-using-apt-get/

1 Like

v-update-sys-hestia-git hestiacp release will also work

And then v-update-sys-hestia

1 Like

I think I can upgrade only Hestia by using the following commands (without the --dry-run option):

Command:

sudo apt update

Result:

...
165 packages can be upgraded. Run 'apt list --upgradable' to see them.

Command:

sudo apt --only-upgrade --dry-run install hestia hestia-nginx hestia-php

Result:

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])
2 Likes

Hello @ayoubamine ,
I have a question since I upgraded the same way… does your Control Panel reflect the updates?
Mine is:


These are my Results BTW:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
147 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@hcp:~# 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 also rebooted both Hesta & VPS.

Any Ideas?

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.

2 Likes

Thanks, didn’t realize dry run means to check the waters before actually doing anything!!!

root@hcp:~# 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.


All is Green :smiling_face_with_three_hearts:

1 Like

Awesome! :blush:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.