Adding SSH = 500 error

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"```

There is currently a malfunction, it is recommended to use a server snapshot to roll back to yesterday’s backup
There is currently a malfunction, it is recommended to use a server snapshot to roll back to yesterday’s backup

This was only installed yesterday I likely don’t have a backup from yesterday.

It doesn’t affect the installation yesterday. Do you see if the server has snapshots? Back to a moment last night

it only has one if I specifically ask for one, and I didn’t :frowning:

Please be patient and wait for the repair. I believe it will come soon

ah ok so I wasn’t the only person this affected I take it.
always good to know :slight_smile:

Thank you for your patience, let’s look forward to it together!

It has been fixed in main branch we will prepare an update soon

It has been allready fixed…

Please be patient for next release

So if I remove the line:
$v_shell_jail_enabled = quoteshellarg($_POST[“v_shell_jail_enabled”]);

from web/edit/user/index.php the issue will be fixed?
{edit} Found this did fix the issue {/edit}

Yes it fixes the issue