dpkg: error processing package hestia-php (–configure):
installed hestia-php package post-installation script subprocess returned error exit status 1
Processing triggers for libc-bin (2.35-0ubuntu3.1) …
Processing triggers for man-db (2.10.2-1) …
Processing triggers for mailcap (3.70+nmu1ubuntu1) …
Errors were encountered while processing:
hestia-php
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
I already wanted to reinstall HCP
Made backup copies of accounts.
And ran the install script
But! The script returns the answer that it is not intended for this version of the system.
Ubuntu 22.04
root@x-host:~# bash hst-install.sh --force
Your operating system (OS) is not supported by
Hestia Control Panel. Officially supported releases:
Debian 9, 10, 11
Ubuntu 18.04, 20.04 LTS
Dear colleagues! Please tell me how to reinstall HCP
also, please only run force param when you know what you’re doing!!!
Check if you have updated your apt source list file, you probaly try to install the old package for 16.04, you need to adjust the release name for every additional source file beside the default one.
Yes, I’m sure I do, because I want to completely reinstall CCP
My mail web interface does not work.
Through the mail client, mail is sent and received.
Therefore, I have made full backup copies of the accounts and am ready to completely remove the current system.
And then re-install.
From scratch.
Please tell me how to do it.
Thank you, everything is successfully installed as indicated.
install hestia-php successfully
The process start hestia still stops on startup.
Error loading library libzip.so.5
/usr/local/hestia/php/sbin/hestia-php: error while loading shared libraries: libzip.so.5: cannot open shared object file:
Can you suggest what to do.
Install a library or something
I have doubts as it was previously said to remove this library.
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Package ‘libzip5’ is not installed, so not removed
Package ‘libonig4’ is not installed, so not removed
Package ‘libonig2’ is not installed, so not removed
The following package was automatically installed and is no longer required:
zlib1g-dev
Use ‘apt autoremove’ to remove it.
The following packages will be REMOVED:
hestia-php libonig5 libzip-dev libzip4 unzip
0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
After this operation, 1,494 kB disk space will be freed.
Do you want to continue? [Y/n] y
dpkg: warning: files list file for package ‘hestia-php’ missing; assuming package has no files currently installed
(Reading database … 101667 files and directories currently installed.)
Removing hestia-php (8.1.8) …
Removing libonig5:amd64 (6.9.7.1-2build1) …
Removing libzip-dev:amd64 (1.7.3-1ubuntu2) …
Removing libzip4:amd64 (1.7.3-1ubuntu2) …
Removing unzip (6.0-26ubuntu3) …
Processing triggers for man-db (2.10.2-1) …
Processing triggers for mailcap (3.70+nmu1ubuntu1) …
Processing triggers for libc-bin (2.35-0ubuntu3.1) …
dpkg: error processing package hestia-php (–configure):
installed hestia-php package post-installation script subprocess returned error exit status 1
Processing triggers for libc-bin (2.35-0ubuntu3.1) …
Processing triggers for man-db (2.10.2-1) …
Processing triggers for mailcap (3.70+nmu1ubuntu1) …
Errors were encountered while processing:
hestia-php
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@x-host:~# systemctl start hestia
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.
Aug 17 23:05:44 x-host.ru systemd[1]: Starting LSB: starts the hestia control panel…
Aug 17 23:05:44 x-host.ru hestia[164877]: * Starting hestia-nginx hestia-nginx
Aug 17 23:05:44 x-host.ru hestia[164877]: …done.
Aug 17 23:05:44 x-host.ru hestia[164877]: * Starting hestia-php hestia-php
Aug 17 23:05:44 x-host.ru hestia[164882]: /usr/local/hestia/php/sbin/hestia-php: error while loading shared libraries: libzip.so.5: cannot open s>
Aug 17 23:05:44 x-host.ru systemd[1]: hestia.service: Control process exited, code=exited, status=127/n/a
Aug 17 23:05:44 x-host.ru systemd[1]: hestia.service: Failed with result ‘exit-code’.
Aug 17 23:05:44 x-host.ru systemd[1]: hestia.service: Unit process 1191 (hestia-nginx) remains running after unit stopped.
Aug 17 23:05:44 x-host.ru systemd[1]: hestia.service: Unit process 1192 (hestia-nginx) remains running after unit stopped.
Aug 17 23:05:44 x-host.ru systemd[1]: Failed to start LSB: starts the hestia control panel.