Ok I lost my old IP for failure to renew hosting on Namecheap. I emailed the support and they were able to backup Hestiacp on a new IP I bought from them. Now I am inside HestiaCP with all my users and installed website on it. The problem is all my websites display:
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
I checked /var/log/hestia/ngixn-error.log and it returns the following error:
@ggb3020 If you copy and paste your text instead of attaching image files, it is a lot easier for people to read. Be sure to place three backticks (```) on the line before and after your paste to ensure that you get </> Preformatted text like this:
I am sorry for the late reply. I almost gave up. So I after I entered the command suggested by Eris: cat /var/log/hestia/nginx-error.log.1
It returned the following lines:
‘’’
cat /var/log/hestia/nginx-error.log.1
2023/12/08 08:11:38 [error] 766#0: *141 FastCGI sent in stderr: “PHP message: PH P Warning: Undefined array key “v_nginx_cache_duration” in /usr/local/hestia/we b/edit/web/index.php on line 352” while reading response header from upstream, c lient: 105.112.201.3, server: _, request: “POST /edit/web/?domain=thecharityfair .online&token=8f716f9cb3a628d6f03bf03f6a60007e HTTP/2.0”, upstream: “fastcgi://u nix:/run/hestia-php.sock:”, host: “203.161.53.139:8083”, referrer: “https://203. 161.53.139:8083/edit/web/?domain=thecharityfair.online&token=8f716f9cb3a628d6f03 bf03f6a60007e”
2023/12/08 08:36:43 [error] 766#0: *236 FastCGI sent in stderr: “PHP message: PH P Warning: foreach() argument must be of type array|object, null given in /usr/ local/hestia/web/templates/pages/list_key.php on line 43” while reading upstream , client: 105.112.201.3, server: _, request: “GET /list/key/ HTTP/2.0”, upstream : “fastcgi://unix:/run/hestia-php.sock:”, host: “203.161.53.139:8083”, referrer: “https://203.161.53.139:8083/edit/user/?user=admin&token=8f716f9cb3a628d6f03bf0 3f6a60007e”
2023/12/08 14:53:26 [error] 812#0: *32 FastCGI sent in stderr: “PHP message: PHP Warning: Undefined array key “v_nginx_cache_duration” in /usr/local/hestia/web /edit/web/index.php on line 352” while reading response header from upstream, cl ient: 105.112.23.211, server: _, request: “POST /edit/web/?domain=eliotporterpic tures.live&token=d027f00d4ea62fc5093b3e95ff193ecf HTTP/2.0”, upstream: “fastcgi: //unix:/run/hestia-php.sock:”, host: “203.161.53.139:8083”, referrer: “https://2 03.161.53.139:8083/edit/web/?domain=eliotporterpictures.live&token=d027f00d4ea62 fc5093b3e95ff193ecf”
2023/12/08 14:57:26 [error] 812#0: *44 FastCGI sent in stderr: “PHP message: PHP Warning: Undefined array key “v_nginx_cache_duration” in /usr/local/hestia/web /edit/web/index.php on line 352” while reading response header from upstream, cl ient: 105.112.23.211, server: _, request: “POST /edit/web/?domain=thedovelove.on line&token=d027f00d4ea62fc5093b3e95ff193ecf HTTP/2.0”, upstream: “fastcgi://unix :/run/hestia-php.sock:”, host: “203.161.53.139:8083”, referrer: “https://203.161 .53.139:8083/edit/web/?domain=thedovelove.online&token=d027f00d4ea62fc5093b3e95f f193ecf”
2023/12/08 15:03:02 [error] 812#0: *75 FastCGI sent in stderr: “PHP message: PHP Warning: Undefined array key “v_nginx_cache_duration” in /usr/local/hestia/web /edit/web/index.php on line 352” while reading response header from upstream, cl ient: 105.112.23.211, server: _, request: “POST /edit/web/?domain=thecharityfair .online&token=d027f00d4ea62fc5093b3e95ff193ecf HTTP/2.0”, upstream: “fastcgi://u nix:/run/hestia-php.sock:”, host: “203.161.53.139:8083”, referrer: “https://203. 161.53.139:8083/edit/web/?domain=thecharityfair.online&token=d027f00d4ea62fc5093 b3e95ff193ecf”
2023/12/09 11:37:44 [error] 812#0: *204 FastCGI sent in stderr: “PHP message: PH P Warning: Undefined array key “v_nginx_cache_duration” in /usr/local/hestia/we b/edit/web/index.php on line 352” while reading response header from upstream, c lient: 105.112.20.1, server: _, request: “POST /edit/web/?domain=charity.thechar ityfair.online&token=4d22b5443022ef0a9e3f61c68748d378 HTTP/2.0”, upstream: “fast cgi://unix:/run/hestia-php.sock:”, host: “203.161.53.139:8083”, referrer: “https ://203.161.53.139:8083/edit/web/?domain=charity.thecharityfair.online&token=4d22 b5443022ef0a9e3f61c68748d378”
‘’’