Hello, i keep getting messages that update failed.
root@host:~# sudo dpkg --configure -a
Setting up hestia-php (7.4.22) …
dpkg: error processing package hestia-php (–configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
hestia-php
root@host:~# /usr/local/hestia/bin/v-update-sys-hestia-all
Error: hestia update failed
Error: hestia-nginx update failed
Error: hestia-php update failed
What could be the problem? Currently system is running PHP 7.4.23
Update screen reports green hestia-php 7.4.22 (amd64)
eris
September 4, 2021, 12:23pm
2
Hestia-php is used for the backend of Hestia
Use:
export HESTIA="/usr/local/hestia/"
And then
/usr/local/hestia/bin/v-update-sys-hestia-all
Hi, still same
root@host:~# export HESTIA="/usr/local/hestia/"
root@host:~# /usr/local/hestia/bin/v-update-sys-hestia-all
Error: hestia update failed
Error: hestia-nginx update failed
Error: hestia-php update failed
root@host:~#
Tried:
root@host:~# apt update && apt install --reinstall hestia-php
...
Reading state information... Done
All packages are up to date.
Reading package lists... Done
...
E: Internal Error, No file name for hestia-php:amd64
Raphael
September 8, 2021, 6:12am
7
Try to download the package directly:
cd /root
wget https://apt.hestiacp.com/pool/stretch/main/h/hestia-php/hestia-php_7.4.22_amd64.deb
dpkg -i hestia-php_7.4.22_amd64.deb
root@host:~# dpkg -i hestia-php_7.4.22_amd64.deb
(Reading database ... 51238 files and directories currently installed.)
Preparing to unpack hestia-php_7.4.22_amd64.deb ...
Unpacking hestia-php (7.4.22) over (7.4.22) ...
Setting up hestia-php (7.4.22) ...
dpkg: error processing package hestia-php (--install):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
hestia-php
Raphael
September 8, 2021, 6:24am
9
Hmm, looks like this script here fails: https://github.com/hestiacp/hestiacp/blob/main/src/deb/php/postinst
It would need some debugging, download the script, add some debug echo’s and run it manualy to find the releated line which fails.
Hey, script is ok. It passes. Any other ideas?
So i removed quiet parameter from update script, and got the error:
root@host:~# sudo /usr/local/hestia/bin/v-update-sys-hestia-all
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
So the problem was in the dpkg, ran command, fixed apache config question, now update goes without error message.
1 Like
system
Closed
November 28, 2021, 5:43am
12
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.