Error processing package hestia-nginx

Good morning, I get this error, I also can not enter the panel itself

pkg: 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

I tried:

systemctl restart hestia
apt-get install --reinstall hestia-nginx
apt-get install --reinstall hestia-php

it didn’t help
Failed to start LSB: starts the hestia control panel

I will add, I found a letter in the mail

Error: hestia update failed
Error: hestia-nginx update failed
Error: hestia-php update failed

Also when entering manually
v-update-sys-hestia-all

My system debian 10

output of apt install -f?

apt install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  liblua5.2-0
Use 'apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
apt-listchanges: Can't set locale; make sure $LC_* and $LANG are correct!
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_TIME = "uk_UA.UTF-8",
	LC_MONETARY = "uk_UA.UTF-8",
	LC_ADDRESS = "uk_UA.UTF-8",
	LC_TELEPHONE = "uk_UA.UTF-8",
	LC_NAME = "uk_UA.UTF-8",
	LC_MEASUREMENT = "uk_UA.UTF-8",
	LC_IDENTIFICATION = "uk_UA.UTF-8",
	LC_NUMERIC = "uk_UA.UTF-8",
	LC_PAPER = "uk_UA.UTF-8",
	LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
locale: Cannot set LC_ALL to default locale: No such file or directory
Setting up hestia-nginx (1.19.10) ...
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 Tue 2021-07-13 21:59:29 CEST; 12ms ago
     Docs: man:systemd-sysv-generator(8)
  Process: 28519 ExecStart=/etc/init.d/hestia start (code=exited, status=1/FAILURE)
    Tasks: 1 (limit: 4915)
   Memory: 13.6M
   CGroup: /system.slice/hestia.service
           └─10583 nginx: worker process

Jul 13 21:59:27 domain hestia[28519]: Starting hestia-nginx: hestia-nginxnginx: [warn] "ssl_stapling" ig
nored, issuer certificate not found for certificate "/usr/local/hestia/ssl/certificate.crt"
Jul 13 21:59:27 domain hestia[28519]: nginx: [emerg] bind() to 0.0.0.0:8083 failed (98: Address already 
in use)
Jul 13 21:59:27 domain hestia[28519]: nginx: [emerg] bind() to 0.0.0.0:8083 failed (98: Address already 
in use)
Jul 13 21:59:28 domain hestia[28519]: nginx: [emerg] bind() to 0.0.0.0:8083 failed (98: Address already 
in use)
Jul 13 21:59:28 domain hestia[28519]: nginx: [emerg] bind() to 0.0.0.0:8083 failed (98: Address already 
in use)
Jul 13 21:59:29 domain hestia[28519]: nginx: [emerg] bind() to 0.0.0.0:8083 failed (98: Address already 
in use)
Jul 13 21:59:29 domain hestia[28519]: nginx: [emerg] still could not bind()
Jul 13 21:59:29 domain systemd[1]: hestia.service: Control process exited, code=exited, status=1/FAILURE
Jul 13 21:59:29 domain systemd[1]: hestia.service: Failed with result 'exit-code'.
Jul 13 21:59:29 domain systemd[1]: Failed to start LSB: starts the hestia control panel.
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)

I also paid attention

apt-get install --reinstall hestia-nginx
E: Internal Error, No file name for hestia-nginx:amd64


ScIT is there any solution?

@Djalin Did you find a solution to this? Having the same issue unfortunately.

What error do you have exactly?

Setting up hestia-nginx (1.23.4) ...
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 Sat 2023-05-13 15:49:00 BST; 13ms ago
       Docs: man:systemd-sysv-generator(8)
    Process: 17089 ExecStart=/etc/init.d/hestia start (code=exited, status=2)
      Tasks: 2 (limit: 9230)
     Memory: 7.6M
        CPU: 11ms
     CGroup: /system.slice/hestia.service
             |-3423 nginx: master process /usr/local/hestia/nginx/sbin/hestia-nginx
             `-3425 nginx: worker process

May 13 15:49:00 hestia-cp systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
May 13 15:49:00 hestia-cp systemd[1]: Starting LSB: starts the hestia control panel...
May 13 15:49:00 hestia-cp hestia[17089]: Starting hestia-nginx: hestia-nginx.
May 13 15:49:00 hestia-cp hestia[17089]: Starting hestia-php: hestia-php
May 13 15:49:00 hestia-cp hestia[17093]: start-stop-daemon: unable to stat /usr/local/hestia/php/sbin/hestia-php (No such file or directory)
May 13 15:49:00 hestia-cp systemd[1]: hestia.service: Control process exited, code=exited, status=2/INVALIDARGUMENT
May 13 15:49:00 hestia-cp systemd[1]: hestia.service: Failed with result 'exit-code'.
May 13 15:49:00 hestia-cp systemd[1]: hestia.service: Unit process 3423 (hestia-nginx) remains running after unit stopped.
May 13 15:49:00 hestia-cp systemd[1]: hestia.service: Unit process 3425 (hestia-nginx) remains running after unit stopped.
May 13 15:49:00 hestia-cp systemd[1]: Failed to start LSB: starts the hestia control panel.
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)
root@hestia-cp:~# 

Seems like something related to Nginx is corrupted or misconfigured.

/usr/local/hestia/php/sbin/hestia-php

Hestia php installed?

apt install hestia-php

1 Like

Ah great thanks, everything seems to be working now. I would’ve thought the installer would install 'hestia-php automatically, no?

It should be …

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