Oops! Something went wrong - InternalServer Error 500

Hi there,

all of sudden - today trying to login to the dashboard. got the error code:500.
from the error log -

[crit] 3503250#0: *2 connect() to unix:/var/run/hestia-php.sock failed (2: No such file or directory) while connecting to upstream…

what should I do please? thank you

Check the system status of your hestia services. Also reboot the server would be an option.

ok. I just reboot the server - it’s the same. Could you please explain more how I can check the system status of my hestia services?

just to add… all other websites on the server are working fine. just when I want to login to the control panel - i’m getting the error message…

ls /var/run/hestia-php.sock

no such file or directory…

I went to the folder and did not see hestia-php.sock file.

sorry if i’m doing it incorrectly…

@eris or @Raphael… any advice for the next step to solve this? Thank you.

apt remove hestia-php 
apt install hestia-php

got this trying to install

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)

I have zero idea. Can you same the Ssh details so I can check?