Sub-process /usr/bin/dpkg returned an error code (1)
root@hcp:/home/ubuntu# apt remove hestia-php
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libfwupdplugin1
Use 'sudo apt autoremove' to remove it.
The following packages will be REMOVED:
hestia-php
0 upgraded, 0 newly installed, 1 to remove and 137 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 154710 files and directories currently installed.)
Removing hestia-php (8.3.16) ...
dpkg: warning: while removing hestia-php, directory '/usr/local/hestia/php/var/log' not empty so not removed
root@hcp:/home/ubuntu# apt install hestia-php
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libfwupdplugin1
Use 'sudo apt autoremove' to remove it.
The following NEW packages will be installed:
hestia-php
0 upgraded, 1 newly installed, 0 to remove and 137 not upgraded.
Need to get 0 B/60.4 MB of archives.
After this operation, 0 B of additional disk space will be used.
Selecting previously unselected package hestia-php.
(Reading database ... 154300 files and directories currently installed.)
Preparing to unpack .../hestia-php_8.3.16_arm64.deb ...
Unpacking hestia-php (8.3.16) ...
Setting up hestia-php (8.3.16) ...
dpkg: error processing package hestia-php (--configure):
installed hestia-php package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
hestia-php
E: Sub-process /usr/bin/dpkg returned an error code (1)