Hestia-php error

Hello, i keep getting messages that update failed.

[email protected]:~# 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

[email protected]:~# /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)

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

[email protected]:~# export HESTIA="/usr/local/hestia/"
[email protected]:~# /usr/local/hestia/bin/v-update-sys-hestia-all
Error: hestia update failed
Error: hestia-nginx update failed
Error: hestia-php update failed
[email protected]:~#

Tried:

[email protected]:~# 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

What OS are you using?

Debian 9.13

Any help?

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
[email protected]:~# 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

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?