Hestia CP 1.6.0 back-end Error 500 after upgrade Ubuntun 22.04

Hi

i got problem 500 Error on admin cpanel after upgrade ubuntu from 20.04 to 22.04

Here is check note

Systemctl status hestia

Jun 23 13:56:15 domain.com systemd[1]: Starting LSB: starts the hestia control panel…
Jun 23 13:56:15 domain.com hestia[23876]: * Starting hestia-nginx hestia-nginx
Jun 23 13:56:15 domain.com hestia[23876]: …done.
Jun 23 13:56:15 domain.com hestia[23876]: * Starting hestia-php hestia-php
Jun 23 13:56:15 domain.com hestia[23881]: /usr/local/hestia/php/sbin/hestia-php: error while loading >
Jun 23 13:56:15 domain.com systemd[1]: hestia.service: Control process exited, code=exited, status=12>
Jun 23 13:56:15 domain.com systemd[1]: hestia.service: Failed with result ‘exit-code’.
Jun 23 13:56:15 domain.com systemd[1]: hestia.service: Unit process 1242 (hestia-nginx) remains runni>
Jun 23 13:56:15 domain.com systemd[1]: hestia.service: Unit process 1244 (hestia-nginx) remains runni>
Jun 23 13:56:15 domain.com systemd[1]: Failed to start LSB: starts the hestia control panel.

and check hestia-php -v

/usr/local/hestia/php/sbin/hestia-php -v

/usr/local/hestia/php/sbin/hestia-php: error while loading shared libraries: libzip.so.5: cannot open shared object file: No such file or directory

then I reinstall hestia

apt update && apt install --reinstall hestia

same error message when systemctl start hestia

how can I fix this libzip.so.5 problem ?

Update in /etc/apt/sources.d/hestia.list to use jammy instead of focal

Thank you Eris
I did update hestia.list use jammy
deb [arch=amd64 signed-by=/usr/share/keyrings/hestia-keyring.gpg] https://apt.hestiacp.com/ jammy main

and also did this again

apt update && apt install --reinstall hestia

same error messages after reinstall

Made with love & pride by the open-source community around the world.

=============================================================================

/usr/local/hestia/php/bin/php: error while loading shared libraries: libzip.so.5: cannot open shared object file: No such file or directory
Setting up hestia-php (8.1.7) …
dpkg: error processing package hestia-php (–configure):
installed hestia-php package post-installation script subprocess returned error exit status 1
Setting up hestia-nginx (1.22.0) …
Job for hestia.service failed because the control process exited with error code.
See “systemctl status hestia.service” and “journalctl -xeu hestia.service” for details.
invoke-rc.d: initscript hestia, action “start” failed.
× hestia.service - LSB: starts the hestia control panel
Loaded: loaded (/etc/init.d/hestia; generated)
Active: failed (Result: exit-code) since Thu 2022-06-23 14:26:24 HKT; 7ms ago
Docs: man:systemd-sysv-generator(8)
Process: 45365 ExecStart=/etc/init.d/hestia start (code=exited, status=127)
Tasks: 2 (limit: 1033)
Memory: 5.7M
CPU: 7ms
CGroup: /system.slice/hestia.service
├─1242 “nginx: master process /usr/local/hestia/nginx/sbin/hestia-nginx”
└─1244 “nginx: worker process” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “” “”

Jun 23 14:26:24 domain.com systemd[1]: Starting LSB: starts the hestia control panel…
Jun 23 14:26:24 domain.com hestia[45365]: * Starting hestia-nginx hestia-nginx
Jun 23 14:26:24 domain.com hestia[45365]: …done.
Jun 23 14:26:24 domain.com hestia[45365]: * Starting hestia-php hestia-php
Jun 23 14:26:24 domain.com hestia[45370]: /usr/local/hestia/php/sbin/hestia-php: error while loading shared libraries: libzip.so.5: cannot open shared object file: No such file or directory
Jun 23 14:26:24 domain.com systemd[1]: hestia.service: Control process exited, code=exited, status=127/n/a
Jun 23 14:26:24 domain.com systemd[1]: hestia.service: Failed with result ‘exit-code’.
Jun 23 14:26:24 domain.com systemd[1]: hestia.service: Unit process 1242 (hestia-nginx) remains running after unit stopped.
Jun 23 14:26:24 domain.com systemd[1]: hestia.service: Unit process 1244 (hestia-nginx) remains running after unit stopped.
Jun 23 14:26:24 domain.com systemd[1]: Failed to start LSB: starts the hestia control panel.
dpkg: error processing package hestia-nginx (–configure):
installed hestia-nginx package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
hestia-php
hestia-nginx
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)

and here is apt update information

Hit:1 Index of /ubuntu jammy InRelease
Hit:2 Index of /ubuntu jammy-security InRelease
Hit:3 Index of /ubuntu jammy-updates InRelease
Hit:4 https://apt.hestiacp.com jammy InRelease
Get:5 https://dlm.mariadb.com/repo/mariadb-server/10.6/repo/ubuntu focal InRelease [4717 B]
Hit:6 Index of /ubuntu jammy-backports InRelease
Hit:7 Index of /packages/mainline/ubuntu/ focal InRelease

Download below package

https://launchpad.net/ubuntu/+archive/primary/+files/libzip5_1.5.1-0ubuntu1_amd64.deb

and install it. it’s working

dpkg -i libzip5_1.5.1-0ubuntu1_amd64.deb

1 Like

probaly apt install libzip5 would work aswell.

1 Like