ERROR: Restart of hestia failed

Although all my domains are working when I open hestia cp it’s showing Error 502 Bad Gateway.

I tried updating hestia using ssh but it’s giving me the error: " ERROR: Restart of hestia failed."

I tried enabling PHP Errors by changing php.ini, but it didn’t show anything.

Please help me asap on how to resolve this.

Thanks.
Jayakrishnan

Hestia is using a different php version

check /var/log/hestia/nginx-error.log

Thanks for the quick reply… I just opened the file and these are the last logs.

2022/06/23 18:09:21 [crit] 1410762#0: *154 connect() to unix:/var/run/hestia-php.sock failed (2: No such file or directory) while connecting to upstream, client: 49.37.229.167, server: _, request: “GET / HTTP/1.1”, upstream: “fastcgi://unix:/var/run/hestia-php.sock:”, host: “cpanel.xxxxx.com:8083

2022/06/23 18:17:00 [emerg] 403605#0: bind() to 0.0.0.0:8083 failed (98: Address already in use)

2022/06/23 18:17:00 [emerg] 403605#0: bind() to 0.0.0.0:8083 failed (98: Address already in use)

2022/06/23 18:17:00 [emerg] 403605#0: bind() to 0.0.0.0:8083 failed (98: Address already in use)

2022/06/23 18:17:00 [emerg] 403605#0: bind() to 0.0.0.0:8083 failed (98: Address already in use)

2022/06/23 18:17:00 [emerg] 403605#0: bind() to 0.0.0.0:8083 failed (98: Address already in use)

2022/06/23 18:17:00 [emerg] 403605#0: still could not bind()

2022/06/23 18:18:49 [crit] 1410762#0: *157 connect() to unix:/var/run/hestia-php.sock failed (2: No such file or directory) while connecting to upstream, client: 49.37.229.167, server: _, request: “GET / HTTP/1.1”, upstream: “fastcgi://unix:/var/run/hestia-php.sock:”, host: “cpanel.xxxxx.com:8083

0.0.0.0:8083 failed (98: Address already in use)

Port 8083 is allready in use try stopping Hestia first.

Or did you modify some ports?