File manager : unknown error not able to fix

Hello

I am new to hestiaCP , i am using hostinger to host my VPS and recently after i reset my SSH keys in hostinger control panel i cannot access file manager in hestiaCP any more , it always shows unknown error no matter i login with admin or any other user, i have tried many solutions online but none of them worked

Already tried deleting key files in cd /home/USER/.ssh
Already tried enabling and disabling file manager
v-add-sys-filemanager
And v-deletw-sys-filemanager

I can access files via filezilla and other ftp clients

If someone can help I’ll really appreciate

Thank you

i am getting these errors in the log

2022/12/20 18:25:17 [error] 28460#0: *536 FastCGI sent in stderr: "PHP message: PHP Warning:  file_get_contents(/etc/ssh/sshd_config): Failed to open stream: Permission denied in /usr/local/hestia/web/fm/configuration.php on line 62PHP message: PHP Warning:  Undefined array key 2 in /usr/local/hestia/web/fm/configuration.php on line 63" while reading response header from upstream, client: XXX.YY1.52.110, server: _, request: "GET /fm/?r=/getuser HTTP/1.1", upstream: "fastcgi://unix:/var/run/hestia-php.sock:", host: "XX.YYY.57.191:8083", referrer: "https://XX.YYY.57.191:8083/fm/"
2022/12/21 04:27:07 [error] 28460#0: *582 FastCGI sent in stderr: "PHP message: PHP Warning:  file_get_contents(/etc/ssh/sshd_config): Failed to open stream: Permission denied in /usr/local/hestia/web/fm/configuration.php on line 62PHP message: PHP Warning:  Undefined array key 2 in /usr/local/hestia/web/fm/configuration.php on line 63" while reading response header from upstream, client: XXX.YY1.52.110, server: _, request: "GET /fm/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/hestia-php.sock:", host: "XX.YYY.57.191:8083", referrer: "https://XX.YYY.57.191:8083/list/web/"
2022/12/21 04:27:09 [error] 28460#0: *590 FastCGI sent in stderr: "PHP message: PHP Warning:  file_get_contents(/etc/ssh/sshd_config): Failed to open stream: Permission denied in /usr/local/hestia/web/fm/configuration.php on line 62PHP message: PHP Warning:  Undefined array key 2 in /usr/local/hestia/web/fm/configuration.php on line 63" while reading response header from upstream, client: XXX.YY1.52.110, server: _, request: "GET /fm/?r=/getconfig HTTP/1.1", upstream: "fastcgi://unix:/var/run/hestia-php.sock:", host: "XX.YYY.57.191:8083", referrer: "https://XX.YYY.57.191:8083/fm/"
2022/12/21 04:27:10 [error] 28460#0: *590 FastCGI sent in stderr: "PHP message: PHP Warning:  file_get_contents(/etc/ssh/sshd_config): Failed to open stream: Permission denied in /usr/local/hestia/web/fm/configuration.php on line 62PHP message: PHP Warning:  Undefined array key 2 in /usr/local/hestia/web/fm/configuration.php on line 63" while reading response header from upstream, client: XXX.YY1.52.110, server: _, request: "GET /fm/?r=/getuser HTTP/1.1", upstream: "fastcgi://unix:/var/run/hestia-php.sock:", host: "XX.YYY.57.191:8083", referrer: "https://XX.YYY.57.191:8083/fm/"
2022/12/21 04:27:11 [error] 28460#0: *590 FastCGI sent in stderr: "PHP message: PHP Warning:  file_get_contents(/etc/ssh/sshd_config): Failed to open stream: Permission denied in /usr/local/hestia/web/fm/configuration.php on line 62PHP message: PHP Warning:  Undefined array key 2 in /usr/local/hestia/web/fm/configuration.php on line 63PHP message: PHP Fatal error:  Uncaught League\Flysystem\Sftp\InvalidRootException: Root is invalid or does not exist: /home/43tanmay/ in /usr/local/hestia/web/fm/vendor/league/flysystem-sftp/src/SftpAdapter.php:279
Stack trace:

Check what the permission is of
/etc/ssh/sshd_config it should be: -rw-r–r–

1 Like

By the fact /etc/ssh/sshd_config is not readable we can not check if the sftp jail is not active.

Check the permissions of /etc/ssh/sshd_config

1 Like