Filemanager Unknown Error after Update 1.10.5

Getting this error when upload a zip file, extract the file, go back to previous directory. Strangely when i click unzip it shows unknown error but right after the tab refresh extracted file appears.

2026/09/26 11:56:21 \[error\] 2933521#0: \*196 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "root" in /usr/local/hestia/web/fm/backend/Services/Auth/Adapters/HestiaAuth.php on line 38" while reading response header from upstream, client: 117.247.105.10, server: \_, request: "POST /fm/?r=/deleteitems HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "167.235.151.206:8083", referrer: "https://167.235.151.206:8083/fm/"
2026/09/26 11:56:22 \[error\] 2933521#0: \*196 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "root" in /usr/local/hestia/web/fm/backend/Services/Auth/Adapters/HestiaAuth.php on line 38" while reading response header from upstream, client: 117.247.105.10, server: \_, request: "POST /fm/?r=/getdir HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "167.235.151.206:8083", referrer: "https://167.235.151.206:8083/fm/"
2026/09/26 11:56:30 \[error\] 2933521#0: \*201 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "root" in /usr/local/hestia/web/fm/backend/Services/Auth/Adapters/HestiaAuth.php on line 38" while reading response header from upstream, client: 117.247.105.10, server: \_, request: "POST /fm/?r=/unzipitem HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "167.235.151.206:8083", referrer: "https://167.235.151.206:8083/fm/"
2026/09/26 11:56:31 \[error\] 2933521#0: \*201 FastCGI sent in stderr: "PHP message: PHP Warning:  Undefined array key "root" in /usr/local/hestia/web/fm/backend/Services/Auth/Adapters/HestiaAuth.php on line 38" while reading response header from upstream, client: 117.247.105.10, server: \_, request: "POST /fm/?r=/getdir HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "167.235.151.206:8083", referrer: "https://167.235.151.206:8083/fm/"

How to fix this?

Try this:

cp -a /usr/local/hestia/web/fm/backend/Services/Auth/Adapters/HestiaAuth.php /root/HestiaAuth.php.web.bak.$(date +%Y%m%d-%H%M%S)
cp -a /usr/local/hestia/install/deb/filemanager/filegator/backend/Services/Auth/Adapters/HestiaAuth.php /root/HestiaAuth.php.installer.bak.$(date +%Y%m%d-%H%M%S)
sed -i 's/\$_SESSION\["root"\]/\$_SESSION["ROOT_USER"]/g' /usr/local/hestia/web/fm/backend/Services/Auth/Adapters/HestiaAuth.php
sed -i 's/\$_SESSION\["root"\]/\$_SESSION["ROOT_USER"]/g' /usr/local/hestia/install/deb/filemanager/filegator/backend/Services/Auth/Adapters/HestiaAuth.php

2026/09/26 13:54:14 [error] 2933521#0: *312 FastCGI sent in stderr: "PHP message: PHP Notice: Connection closed by server in /usr/local/hestia/web/fm/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php on line 1433; PHP message: PHP Notice: fputs(): Send of 38 bytes failed with errno=32 Broken pipe in /usr/local/hestia/web/fm/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php on line 1378; PHP message: PHP Notice: Connection closed by server in /usr/local/hestia/web/fm/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php on line 1433; PHP message: PHP Notice: fputs(): Send of 38 bytes failed with errno=32 Broken pipe in /usr/local/hestia/web/fm/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php on line 1378; PHP message: PHP Notice: Connection closed by server in /usr/local/hestia/web/fm/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php on line 1433; PHP message: PHP Notice: fputs(): Send of 38 bytes failed with errno=32 Broken pipe in /usr/local/hestia/web/fm/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php on line 1378; PHP message: PHP Notice: Connection closed by server in /usr/local/hestia/web/fm/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php on line 1433; PHP message: League\Flysystem\Sftp\ConnectionErrorException: Could not login with username: BrightFuture, host: 127.0.0.1 in /usr/local/hestia/web/fm/vendor/league/flysystem-sftp/src/SftpAdapter.php:244
Stack trace:
#0 /usr/local/hestia/web/fm/vendor/league/flysystem-sftp/src/SftpAdapter.php(207): League\Flysystem\Sftp\SftpAdapter->login()
#1 /usr/local/hestia/web/fm/vendor/league/flysystem/src/Adapter/AbstractFtpAdapter.php(650): League\Flysystem\Sftp\SftpAdapter->connect()
#2 /usr/local/hestia/web/fm/vendor/league/flysystem-sftp/src/SftpAdapter.php(360): League\Flysystem\Adapter\AbstractFtpAdapter->getConnection()
#3 /usr/local/hestia/web/fm/vendor/league/flysystem/src/Adapter/AbstractFtpAdapter.php(338): League\Flysystem\Sftp\SftpAdapter->listDirectoryContents()
#4 /usr/local/hestia/web/fm/vendor/league/flysystem/src/Filesystem.php(272): League\Fly

Maybe you can try adding it to the beginning and end of the content ```

2026/09/26 13:54:14 [error] 2933521#0: *312 FastCGI sent in stderr: "PHP message: PHP Notice: Connection closed by server in /usr/local/hestia/web/fm/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php on line 1433; PHP message: PHP Notice: fputs(): Send of 38 bytes failed with errno=32 Broken pipe in /usr/local/hestia/web/fm/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php on line 1378; PHP message: PHP Notice: Connection closed by server in /usr/local/hestia/web/fm/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php on line 1433; PHP message: PHP Notice: fputs(): Send of 38 bytes failed with errno=32 Broken pipe in /usr/local/hestia/web/fm/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php on line 1378; PHP message: PHP Notice: Connection closed by server in /usr/local/hestia/web/fm/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php on line 1433; PHP message: PHP Notice: fputs(): Send of 38 bytes failed with errno=32 Broken pipe in /usr/local/hestia/web/fm/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php on line 1378; PHP message: PHP Notice: Connection closed by server in /usr/local/hestia/web/fm/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php on line 1433; PHP message: League\Flysystem\Sftp\ConnectionErrorException: Could not login with username: BrightFuture, host: 127.0.0.1 in /usr/local/hestia/web/fm/vendor/league/flysystem-sftp/src/SftpAdapter.php:244
Stack trace:
#0 /usr/local/hestia/web/fm/vendor/league/flysystem-sftp/src/SftpAdapter.php(207): League\Flysystem\Sftp\SftpAdapter->login()
#1 /usr/local/hestia/web/fm/vendor/league/flysystem/src/Adapter/AbstractFtpAdapter.php(650): League\Flysystem\Sftp\SftpAdapter->connect()
#2 /usr/local/hestia/web/fm/vendor/league/flysystem-sftp/src/SftpAdapter.php(360): League\Flysystem\Adapter\AbstractFtpAdapter->getConnection()
#3 /usr/local/hestia/web/fm/vendor/league/flysystem/src/Adapter/AbstractFtpAdapter.php(338): League\Flysystem\Sftp\SftpAdapter->listDirectoryContents()
#4 /usr/local/hestia/web/fm/vendor/league/flysystem/src/Filesystem.php(272): League\Fly

The user can’t login using SFTP. What’s your OS version?

Show also the output of this command:

grep -Ev '^$|^#' /etc/ssh/sshd_config