ls -l /run/hestia-php.sock
srw-rw---- 1 www-data www-data 0 Mar 17 07:42 /run/hestia-php.sock
I’m on 1.9.3. I did just upgrade it from 1.6.7 though, as it hadn’t been updating in ages (looks like a source.list error, and the apt key being invalid). The issue was there before the update though. I’m not sure what else to look at to see what could be causing it (nginx-error.log doesn’t really give much, apart from the .sock error)
service hestia-nginx status
Unit hestia-nginx.service could not be found.
root@www:/var/log/hestia# service hestia-php status
Unit hestia-php.service could not be found.
listen = /var/run/hestia-php.sock
user = www-data
group = www-data
listen.owner = www-data
listen.group = www-data
listen.mode = 0660
I’ve updated it to:
listen = /run/hestia-php.sock
user = hestiaweb
group = hestiaweb
listen.owner = hestiaweb
listen.group = hestiaweb
listen.mode = 0660
I now get this in the error log:
2025/03/17 10:08:45 [error] 7620#0: *1 FastCGI sent in stderr: "PHP message: PHP Warning: Trying to access array offset on null in /usr/local/hestia/web/inc/main.php on line 549; PHP message: PHP Warning: foreach() argument must be of type array|object, null given in /usr/local/hestia/web/inc/main.php on line 550; PHP message: PHP Warning: Undefined array key "RELEASE_BRANCH" in /usr/local/hestia/web/inc/main.php on line 116; PHP message: PHP Warning: Trying to access array offset on null in /usr/local/hestia/web/inc/main.php on line 549; PHP message: PHP Warning: foreach() argument must be of type array|object, null given in /usr/local/hestia/web/inc/main.php on line 550; PHP message: PHP Warning: Trying to access array offset on null in /usr/local/hestia/web/login/index.php on line 443; PHP message: PHP Warning: Trying to access array offset on null in /usr/local/hestia/web/login/index.php on line 443; PHP message: PHP Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /usr/local/hestia/web/login/index.php:448
Stack trace:
#0 /usr/local/hestia/web/login/index.php(448): in_array()
#1 {main}
thrown in /usr/local/hestia/web/login/index.php on line 448" while reading response header from upstream, client: 81.174.134.33, server: _, request: "GET /login/ HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "www.xxx