On a relatively new install of Hestia, adding second user and then set them to have access to bash.
This generates a 500 error.
Here’s the /var/log/hestia/error.log:
2025-02-04 02:52:31 v-list-web-domain 'thepod' 'thepod.fans' 'plain' [Error 3] 2025-02-04 02:52:31 v-list-web-domain 'thepod' 'thepod.fans' 'plain' [Error 3] 2025-02-04 02:52:31 v-add-web-domain 'thepod' 'thepod.fans' '23.92.215.155' 'yes' [Error 2] 2025-02-04 02:52:33 v-list-dns-domain 'thepod' 'thepod.fans' 'plain' [Error 3] 2025-02-04 02:52:33 v-list-dns-domain 'thepod' 'thepod.fans' 'plain' [Error 3] 2025-02-04 02:52:34 v-add-dns-domain 'thepod' 'thepod.fans' '23.92.215.155' '' '' '' '' '' '' '' '' 'no' [Error 2] 2025-02-04 02:52:34 v-list-mail-domain 'thepod' 'thepod.fans' 'plain' [Error 3] 2025-02-04 02:52:34 v-list-mail-domain 'thepod' 'thepod.fans' 'plain' [Error 3] 2025-02-04 02:52:35 v-add-mail-domain 'thepod' 'thepod.fans' [Error 2] 2025-02-04 04:05:36 v-list-dns-records 'thepod' 'thepod.fans' [Error 3]
This is from the /var/log/hestia/nginx-error.log:
Stack trace:
#0 /usr/local/hestia/web/edit/user/index.php(376): 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: 98.34.202.46, server: _, request: "POST /edit/user/?user=thepod&token=c5b9dea4a1d668a75664681e48429bf9 HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "andrew.playbox.tech:8083", referrer: "https://andrew.playbox.tech:8083/edit/user/?user=thepod&token=c5b9dea4a1d668a75664681e48429bf9"
2025/02/04 04:05:40 [error] 296736#0: *59 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "look" in /usr/local/hestia/web/inc/main.php on line 104" while reading response header from upstream, client: 98.34.202.46, server: _, request: "GET /list/user/ HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "andrew.playbox.tech:8083", referrer: "https://andrew.playbox.tech:8083/list/user/"
2025/02/04 04:06:29 [error] 296736#0: *59 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "v_shell_jail_enabled" in /usr/local/hestia/web/edit/user/index.php on line 376; PHP message: PHP Fatal error: Uncaught TypeError: Hestiacp\quoteshellarg\quoteshellarg(): Argument #1 ($arg) must be of type string|int|float, null given, called in /usr/local/hestia/web/edit/user/index.php on line 376 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/user/index.php(376): 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: 98.34.202.46, server: _, request: "POST /edit/user/?user=thepod&token=c5b9dea4a1d668a75664681e48429bf9 HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "andrew.playbox.tech:8083", referrer: "https://andrew.playbox.tech:8083/edit/user/?user=thepod&token=c5b9dea4a1d668a75664681e48429bf9"```