I wanted to include the SSL data in a domain but then I got an Internal Server Error.
in the log of /var/log/hestia/nginx-error.log is the following:
thrown in /usr/local/hestia/web/inc/vendor/hestiacp/phpquoteshellarg/src/Hestiacp/quoteshellarg/quoteshellarg.php on line 14" while reading response header from upstream, client: 212.114.215.1, server: _, request: “POST /edit/web/?domain=domain.to&token=3b947c350cf4622feff1d3206f2cba68 HTTP/1.1”, upstream: “fastcgi://unix:/run/hestia-php.sock:”, host: “domain.net:8083”, referrer: “https://domain.net:8083/edit/web/?domain=domain.to&token=3b947c350cf4622feff1d3206f2cba68”
2023/03/23 02:37:49 [error] 811#0: *453 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 349; PHP message: PHP Warning: Undefined array key “v_ssl_home” in /usr/local/hestia/web/edit/web/index.php on line 854; PHP message: PHP Fatal error: Uncaught TypeError: Hestiacp\quoteshellarg\quoteshellarg(): Argument #1 ($arg) must be of type string, null given, called in /usr/local/hestia/web/edit/web/index.php on line 854 and defined in /usr/local/hestia/web/inc/vendor/hestiacp/phpquoteshellarg/src/Hestiacp/quoteshellarg/quoteshellarg.php:14
Stack trace: #0 /usr/local/hestia/web/edit/web/index.php(854): Hestiacp\quoteshellarg\quoteshellarg() #1 {main}
thrown in /usr/local/hestia/web/inc/vendor/hestiacp/phpquoteshellarg/src/Hestiacp/quoteshellarg/quoteshellarg.php on line 14” while reading response header from upstream, client: 212.114.215.1, server: _, request: “POST /edit/web/?domain=domain.to&token=3b947c350cf4622feff1d3206f2cba68 HTTP/1.1”, upstream: “fastcgi://unix:/run/hestia-php.sock:”, host: “domain:8083”, referrer: “https://domain.net:8083/edit/web/?domain=domain.to&token=3b947c350cf4622feff1d3206f2cba68”
Same. I`m created new web-domain, then go to edit this settings, checked “SSL Supporting”, then fill certificate’s data textfields with values of my existing cert. After saving, saw
"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"
And log /var/log/hestia/nginx-error.log
2023/03/24 09:57:07 [error] 1292#0: 35 FastCGI sent in stderr: “PHP message: PHP Warning: Undefined variable $v_record_id in /usr/local/hestia/web/templates/pages/edit_web.php on line 410” while reading response header from upstream, client: 185.134.233.66, server: _, request: “GET /edit/web/?domain=este.us&token=e324wrefsrtw54235343were HTTP/1.1”, upstream: “fastcgi://unix:/run/hestia-php.sock:”, host: “******", referrer: ".app:8083/list/web/”
2023/03/24 09:57:36 [error] 1292#0: 35 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 349; PHP message: PHP Warning: Undefined array key “v_ssl_home” in /usr/local/hestia/web/edit/web/index.php on line 854; PHP message: PHP Fatal error: Uncaught TypeError: Hestiacp\quoteshellarg\quoteshellarg(): Argument #1 ($arg) must be of type string, null given, called in /usr/local/hestia/web/edit/web/index.php on line 854 and defined in /usr/local/hestia/web/inc/vendor/hestiacp/phpquoteshellarg/src/Hestiacp/quoteshellarg/quoteshellarg.php:14
Stack trace: #0 /usr/local/hestia/web/edit/web/index.php(854): Hestiacp\quoteshellarg\quoteshellarg() #1 {main}
thrown in /usr/local/hestia/web/inc/vendor/hestiacp/phpquoteshellarg/src/Hestiacp/quoteshellarg/quoteshellarg.php on line 14” while reading response header from upstream, client: 185.134.233.66, server: _, request: “POST /edit/web/?domain=este.us&token=e324wrefsrtw54235343were HTTP/1.1”, upstream: “fastcgi://unix:/run/hestia-php.sock:”, host: “trwettrt.beget.app:8083”, referrer: "*****************************"
the fixed version has not yet been released, you need to manualy adjust the file if you want to have it fixed on your installation or update to main branch (not suggested).