resist
November 7, 2020, 6:25pm
1
Hello!
My well-working hestia 1.2.1 installation can’t update to 1.3. I tried to manually update via web interface and also in cli with sudo bash v-update-sys-hestia-all
(after Ubuntu 20.04 update-upgrade). There is no error message or something, just won’t update.
Do you have any suggestion for this?
Thank you for your help!
What happens if you run apt update && apt upgrade?
resist
November 7, 2020, 6:41pm
3
Hi!
Sorry for Hungarian strings. Should I translate you or can you recognise? No errors:
$ sudo apt-get update
Letöltés:1 http://mirrors.online.net/ubuntu focal InRelease [265 kB]
Találat:2 http://mirrors.online.net/ubuntu focal-updates InRelease
Találat:3 http://mirrors.online.net/ubuntu focal-backports InRelease
Találat:4 http://ppa.launchpad.net/ondrej/apache2/ubuntu focal InRelease
Találat:5 http://nginx.org/packages/mainline/ubuntu focal InRelease
Találat:6 http://ppa.launchpad.net/ondrej/php/ubuntu focal InRelease
Letöltés:7 http://security.ubuntu.com/ubuntu focal-security InRelease [107 kB]
Letöltve 372 kB 2mp alatt (176 kB/s)
Csomaglisták olvasása... Kész
$ sudo apt-get upgrade
Csomaglisták olvasása... Kész
Függőségi fa építése
Állapotinformációk olvasása... Kész
Frissítés kiszámítása... Kész
0 frissített, 0 újonnan telepített, 0 eltávolítandó és 0 nem frissített.
Your 2 in 1 command however throws some lock error:
$ sudo apt-get update && apt-get upgrade
Letöltés:1 http://mirrors.online.net/ubuntu focal InRelease [265 kB]
Találat:2 http://mirrors.online.net/ubuntu focal-updates InRelease
Találat:3 http://mirrors.online.net/ubuntu focal-backports InRelease
Letöltés:4 http://security.ubuntu.com/ubuntu focal-security InRelease [107 kB]
Találat:5 http://ppa.launchpad.net/ondrej/apache2/ubuntu focal InRelease
Találat:6 http://ppa.launchpad.net/ondrej/php/ubuntu focal InRelease
Találat:7 http://nginx.org/packages/mainline/ubuntu focal InRelease
Letöltve 372 kB 2mp alatt (174 kB/s)
Csomaglisták olvasása... Kész
E: /var/lib/dpkg/lock-frontend zárolási fájl nem nyitható meg - open (13: Engedély megtagadva)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
Edit: but that’s a missing sudo
, so please ignore the last.
I dont see any hestia repository, did you upgraded the server? Probaly it’s commented out.
resist
November 7, 2020, 8:08pm
5
I didn’t updated recently. I had some problems with phpmyadmin after the last upgrade (to Ubuntu 20.04) but I am not sure it is relevant now.
Can you help me where can I check the commented out repository listing? Or should I reinstall?
Thank you for your help!
eris
November 7, 2020, 8:22pm
6
Check /etc/apt/sources.list.d/hestia
And replace it with deb https://apt.hestiacp.com/ focal main
Also for the other files in as you currently don’t update nginx, php, apache and mysql
resist
November 7, 2020, 8:56pm
7
Thank you, both of you!
hestia and mysql repos were commented out, you were right.
For the record, there was an other issue with a shared lib libzip.so.5
, and hestia-php throwed an exception. apt-get install libzip5
and apt-get --with-new-pkgs upgrade
solved for now.
I’m on 1.3 now
Sincerely
1 Like