Hestia not updating to v1.9.4

I have a Hestia installation where I successfully upgraded Ubuntu from Jammy Jellyfish to Noble Numbat, and everything is working smoothly so far.

Automatic Updates are enabled, but it still shows version v1.9.3, as if no newer version is available. I tried toggling the Automatic Updates, but that didn’t resolve the issue.

Running sudo apt update && sudo apt upgrade didn’t work either.

I also attempted the v-update-sys-hestia-all command, but here’s what I received:

W: Unable to read /etc/apt/-/ - DirectoryExists (2: No such file or directory)
W: Unable to read /etc/apt/sources.list.d/hestia.list - RealFileExists (2: No such file or directory)
W: Unable to read /etc/apt/-/ - DirectoryExists (2: No such file or directory)
W: Unable to read /etc/apt/sources.list.d/hestia.list - RealFileExists (2: No such file or directory)
W: Unable to read /etc/apt/-/ - DirectoryExists (2: No such file or directory)
W: Unable to read /etc/apt/sources.list.d/hestia.list - RealFileExists (2: No such file or directory)

These are the files I have under /etc/apt/sources.list.d

apache2.list.distUpgrade
apache2.sources
hestia.list.distUpgrade
mariadb.list.distUpgrade
nginx.list.distUpgrade
ondrej-ubuntu-php-jammy.list.distUpgrade
ondrej-ubuntu-php-jammy.sources
ubuntu.sources

hestia.list.distUpgrade has this line inside:
deb [arch=amd64 signed-by=/usr/share/keyrings/hestia-keyring.gpg] https://apt.hestiacp.com/ jammy main

How can I resolve this and update Hestia?

cd /etc/apt/sources.list.d/
cp hestia.list.distUpgrade  hestia.list
sed -i 's/jammy/noble/' hestia.list
apt update
apt full-upgrade

You must check and modify if needed the other repos too.

1 Like

That worked perfectly! Thank you so much!

Could you kindly clarify how I can determine if other repositories need to be modified, and what steps I should take to make those changes? Thank you!

1 Like

Show me the output of this command:

find /etc/apt/sources.list.d/ -type f -print0 | while IFS= read -r -d '' file; do echo "===== Checking $file =====";cat "$file";echo "==================="; echo;done

Yes they need to updated usually…

Here we go:

===== Checking /etc/apt/sources.list.d/ondrej-ubuntu-php-jammy.sources =====
Enabled: no
Types: deb
URIs: https://ppa.launchpadcontent.net/ondrej/php/ubuntu/
Suites: noble
Components: main
Signed-By:
 -----BEGIN PGP PUBLIC KEY BLOCK-----
I edited this part
 -----END PGP PUBLIC KEY BLOCK-----
===================

===== Checking /etc/apt/sources.list.d/hestia.list.distUpgrade =====
deb [arch=amd64 signed-by=/usr/share/keyrings/hestia-keyring.gpg] https://apt.he       stiacp.com/ jammy main
===================

===== Checking /etc/apt/sources.list.d/hestia.list =====
deb [arch=amd64 signed-by=/usr/share/keyrings/hestia-keyring.gpg] https://apt.he       stiacp.com/ noble main
===================

===== Checking /etc/apt/sources.list.d/mariadb.list.distUpgrade =====
deb [arch=amd64 signed-by=/usr/share/keyrings/mariadb-keyring.gpg] https://dlm.m       ariadb.com/repo/mariadb-server/11.4/repo/ubuntu noble main
===================

===== Checking /etc/apt/sources.list.d/ondrej-ubuntu-php-jammy.list.distUpgrade        =====
# deb https://ppa.launchpadcontent.net/ondrej/php/ubuntu/ noble main # disabled        on upgrade to noble
# deb-src https://ppa.launchpadcontent.net/ondrej/php/ubuntu/ jammy main
===================

===== Checking /etc/apt/sources.list.d/ubuntu.sources =====
Types: deb
URIs: http://archive.ubuntu.com/ubuntu
Suites: noble noble-updates noble-backports
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

Types: deb
URIs: http://security.ubuntu.com/ubuntu
Suites: noble-security
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
===================

===== Checking /etc/apt/sources.list.d/apache2.list.distUpgrade =====
# deb http://ppa.launchpad.net/ondrej/apache2/ubuntu noble main # disabled on up       grade to noble
===================

===== Checking /etc/apt/sources.list.d/nginx.list.distUpgrade =====
deb [arch=amd64 signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://nginx.o       rg/packages/mainline/ubuntu/ jammy nginx
===================

===== Checking /etc/apt/sources.list.d/apache2.sources =====
Enabled: no
Types: deb
URIs: http://ppa.launchpad.net/ondrej/apache2/ubuntu
Suites: noble
Components: main
===================Preformatted text

Ok, execute these commands:

mkdir -p /root/backup_sources.list.d/
cp -rf /etc/apt/sources.list.d/* /root/backup_sources.list.d/
cd /etc/apt/sources.list.d/
mv ondrej-ubuntu-php-jammy.sources ondrej-ubuntu-php.sources
rm hestia.list.distUpgrade
mv mariadb.list.distUpgrade mariadb.list
rm ondrej-ubuntu-php-jammy.list.distUpgrade
rm apache2.list.distUpgrade
mv nginx.list.distUpgrade nginx.list
sed -i 's/jammy/noble/' nginx.list
apt update
apt full-upgrade
1 Like

I really appreciate it! I just wish Hestia could handle this automatically.

1 Like