There was a problem with update

root@local:~# apt upgrade -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up hestia-php (8.2.4) ...
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.23.3-3) ...
Job for hestia.service failed because the control process exited with error code.
See "systemctl status hestia.service" and "journalctl -xe" 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 Mon 2023-03-27 00:48:52 CST; 14ms ago
       Docs: man:systemd-sysv-generator(8)
    Process: 2563804 ExecStart=/etc/init.d/hestia start (code=exited, status=1/FAILURE)
      Tasks: 2 (limit: 19660)
     Memory: 10.6M
     CGroup: /system.slice/hestia.service
             ├─1881950 nginx: master process /usr/local/hestia/nginx/sbin/hestia-nginx
             └─1881952 nginx: worker process

Mar 27 00:48:52 mydomain.net systemd[1]: hestia.service: Unit process 1881952 (hestia-nginx) remains running after unit stopped.
Mar 27 00:48:52 mydomain.net systemd[1]: Failed to start LSB: starts the hestia control panel.
Mar 12 12:35:15 mydomain.net sudo[2785911]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)
Mar 12 12:35:15 mydomain.net sudo[2785911]: pam_unix(sudo:session): session closed for user root
Mar 12 12:35:15 mydomain.net sudo[2785920]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)
Mar 12 12:35:15 mydomain.net sudo[2785920]: pam_unix(sudo:session): session closed for user root
Mar 12 12:35:15 mydomain.net sudo[2785929]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)
Mar 12 12:35:15 mydomain.net sudo[2785929]: pam_unix(sudo:session): session closed for user root
Mar 12 12:35:15 mydomain.net sudo[2785938]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)
Mar 12 12:35:15 mydomain.net sudo[2785938]: pam_unix(sudo:session): session closed for user root
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

I found a reference: Failed to start LSB: starts the hestia control panel - #2 by ScIT

try

apt update
apt remove hestia-nginx -y
apt install hestia-nginx -y

root@la:~# apt remove hestia-nginx -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  hestia-nginx
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 48839 files and directories currently installed.)
Removing hestia-nginx (1.23.3-3) ...
dpkg: warning: while removing hestia-nginx, directory '/usr/local/hestia/nginx/logs' not empty so not removed
root@la:~# apt install hestia-nginx -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  hestia-nginx
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/6094 kB of archives.
After this operation, 0 B of additional disk space will be used.
Selecting previously unselected package hestia-nginx.
(Reading database ... 48814 files and directories currently installed.)
Preparing to unpack .../hestia-nginx_1.23.3-3_amd64.deb ...
Unpacking hestia-nginx (1.23.3-3) ...
Setting up hestia-nginx (1.23.3-3) ...
Error: ERROR: Restart of hestia failed.
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-nginx
E: Sub-process /usr/bin/dpkg returned an error code (1)

/usr/local/hestia/nginx/sbin/hestia-nginx

And check the out out

Thank!
reboot system, and “apt install hestia-nginx -y”, now update is complete! :upside_down_face:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.