HestiaCP Error: 500

In the evening there was no error, I woke up and went to the panel HestiaCP and I see:

Internal Server Error
Oops! Something went wrong.

The server encountered an internal error or misconfiguration and was unable to complete your request.

Error Code: 500

nginx-error.log:

2022/10/07 16:38:09 [error] 3138#0: *3 FastCGI sent in stderr: "PHP message: PHP Warning:  session_start(): open(/usr/local/hestia/data/sessions/sess_26a973052933lmpokvo1fbt1fj, O_RDWR) failed: Permission denied (13) in /usr/local/hestia/web/index.php on line 2PHP message: PHP Warning:  session_start(): Failed to read session data: files (path: /usr/local/hestia/data/sessions) in /usr/local/hestia/web/index.php on line 2" while reading response header from upstream, client: {IPMY}, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/hestia-php.sock:", host: "cl.mydomain:8083"
2022/10/07 16:38:09 [error] 3138#0: *3 FastCGI sent in stderr: "PHP message: PHP Warning:  session_start(): open(/usr/local/hestia/data/sessions/sess_26a973052933lmpokvo1fbt1fj, O_RDWR) failed: Permission denied (13) in /usr/local/hestia/web/inc/main.php on line 2PHP message: PHP Warning:  session_start(): Failed to read session data: files (path: /usr/local/hestia/data/sessions) in /usr/local/hestia/web/inc/main.php on line 2PHP message: PHP Warning:  Trying to access array offset on value of type null in /usr/local/hestia/web/inc/main.php on line 498PHP message: PHP Warning:  foreach() argument must be of type array|object, null given in /usr/local/hestia/web/inc/main.php on line 499PHP message: PHP Warning:  Undefined array key "RELEASE_BRANCH" in /usr/local/hestia/web/inc/main.php on line 102PHP message: PHP Warning:  Trying to access array offset on value of type null in /usr/local/hestia/web/inc/main.php on line 498PHP message: PHP Warning:  foreach() argument must be of type array|object, null given in /usr/local/hestia/web/inc/main.php on line 499PHP message: PHP Warning:  Trying to access array offset on value of type null in /usr/local/hestia/web/login/index.php on line 316PHP message: PHP Warning:  Trying to access array offset on value of type null in /usr/local/hestia/web/login/index.php on line 316PHP 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:321
Stack trace:
#0 /usr/local/hestia/web/login/index.php(321): in_array()
#1 {main}
  thrown in /usr/local/hestia/web/login/index.php on line 321" while reading response header from upstream, client: {IPMY}, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/hestia-php.sock:", host: "cl.mydomain:8083"

Permission issues?

She doesn’t have access to the folder? And how fix it?

What are the permissions from the folder?

Should be admin:admin

I looked through ls -l it says:

drwxrwx— 2 www-data www-data

chown admin:admin /usr/local/hestia/data/sessions -R

I ran the command and nothing seems to change

Any errors?

2022/10/07 20:35:22 [error] 8211#0: *5 FastCGI sent in stderr: "PHP message: PHP Warning:  Trying to access array offset on value of type null in /usr/local/hestia/web/inc/main.php on line 498PHP message: PHP Warning:  foreach() argument must be of type array|object, null given in /usr/local/hestia/web/inc/main.php on line 499PHP message: PHP Warning:  Undefined array key "RELEASE_BRANCH" in /usr/local/hestia/web/inc/main.php on line 102PHP message: PHP Warning:  Trying to access array offset on value of type null in /usr/local/hestia/web/inc/main.php on line 498PHP message: PHP Warning:  foreach() argument must be of type array|object, null given in /usr/local/hestia/web/inc/main.php on line 499PHP message: PHP Warning:  Trying to access array offset on value of type null in /usr/local/hestia/web/login/index.php on line 316PHP message: PHP Warning:  Trying to access array offset on value of type null in /usr/local/hestia/web/login/index.php on line 316PHP 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:321
Stack trace:
#0 /usr/local/hestia/web/login/index.php(321): in_array()
#1 {main}
  thrown in /usr/local/hestia/web/login/index.php on line 321" while reading response header from upstream, client: {MyIP}, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/hestia-php.sock:", host: "{HotIP}:8083"

I sent the error yesterday. Did you find what’s wrong and how do I fix it?

This is only a warning which can be ignored, not sure what happened to your server, but www-data:www-data on sessions folder is clearly wrong - maybe someone missused chown, just due to that fact its clear that this issue wasnt caused by hestia. You need to find out what exactly happened to the permissions and also to the server itself. If you cant find out, probaly backup users, format server and reinstall hestia would be the fastest way - there is not realy much we can help with.