File manager unknown error after changing hostname

Hi there, I’m getting this unknown error on my file manager after I changed my host name from server setting.

Hestia version: 1.6.0
System: Ubuntu 18.04

What have checked:

  • I’ve also changed my vps hostname to match the setting.
  • remove file manager and adding it back
  • add Subsystem sftp internal-sftp to sshd_config
  • basically done everything written here
    nothing works.

Details:
I usually solve this by resetting my SSH config, I’m using Hostinger VPS and there is an option to do that from the VPS dashboard.

However, it can only last for 3 to 5 hours, then the error comes back and I have to reset the SSH again. I want to make it a permanent fix.

Please help me how to do that, here is the log I get from var/log/hestia/nginx-error.log

2022/06/24 06:37:12 [error] 5880#0: *1 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 42PHP message: PHP Warning:  Undefined array key 2 in /usr/local/hestia/web/fm/configuration.php on line 43" while reading response header from upstream, client: 120.188.37.15, server: _, request: "GET /fm/?r=/getuser HTTP/1.1", upstream: "fastcgi://unix:/var/run/hestia-php.sock:", host: "console.voyd.space:8083", referrer: "https://console.voyd.space:8083/fm/"
2022/06/24 06:37:12 [error] 5880#0: *1 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 42PHP message: PHP Warning:  Undefined array key 2 in /usr/local/hestia/web/fm/configuration.php on line 43PHP message: PHP Fatal error:  Uncaught League\Flysystem\Sftp\InvalidRootException: Root is invalid or does not exist: /home/admin/ in /usr/local/hestia/web/fm/vendor/league/flysystem-sftp/src/SftpAdapter.php:279
Stack trace:
#0 /usr/local/hestia/web/fm/vendor/league/flysystem-sftp/src/SftpAdapter.php(208): League\Flysystem\Sftp\SftpAdapter->setConnectionRoot()
#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\Flysystem\Adapter\AbstractFtpAdapter->listContents()
#5 /usr/local/hestia/web/fm/backend/Services/Storage/Filesystem.php(199): League\Flys" while reading response header from upstream, client: 120.188.37.15, server: _, request: "POST /fm/?r=/getdir HTTP/1.1", upstream: "fastcgi://unix:/var/run/hestia-php.sock:", host: "console.voyd.space:8083", referrer: "https://console.voyd.space:8083/fm/"
2022/06/24 06:37:13 [error] 5880#0: *4 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 42PHP message: PHP Warning:  Undefined array key 2 in /usr/local/hestia/web/fm/configuration.php on line 43" while reading response header from upstream, client: 120.188.37.15, server: _, request: "GET /fm/?r=/getuser HTTP/1.1", upstream: "fastcgi://unix:/var/run/hestia-php.sock:", host: "console.voyd.space:8083", referrer: "https://console.voyd.space:8083/fm/"

This is the content of sshd_config

PubkeyAuthentication yes
ChallengeResponseAuthentication no
UsePAM yes
X11Forwarding yes
PrintMotd no
AcceptEnv LANG LC_*
PasswordAuthentication no
PermitRootLogin yes
Subsystem sftp internal-sftp

# Hestia SFTP Chroot
Match User sftp_dummy,adm,chanbe,chanbe_f$
ChrootDirectory %h
    X11Forwarding no
    AllowTCPForwarding no

Thank you in advance.