File Manager Error Unknown Error

Hi there, just adding a question to this thread.

I just encountered the same problem -but only- after I executed these SSH hardening guidelines from sshaudit.com (SSH Hardening Guides)

Is there a way to make it work again? I just setup a fresh install of Ubuntu 20.04 LTS and the latest HestiaCP v1.5.4 (nginx only).

If I inspect the File Manager page with Chrome dev tools it says:

POST https://host.my-domain.com:2053/fm/?r=/getdir 500 (Internal Server Error)        xhr.js:177

This is the dev tools log file if I right-click xhr.js - save as - log:

xhr.js:177 POST https://host.my-domain.com:2053/fm/?r=/getdir 500 (Internal Server Error)
(anonymous) @ xhr.js:177
e.exports @ xhr.js:13
e.exports @ dispatchRequest.js:52
Promise.then (async)
u.request @ Axios.js:61
r.forEach.u.<computed> @ Axios.js:87
(anonymous) @ bind.js:9
(anonymous) @ api.js:54
getDir @ api.js:53
loadFiles @ Browser.vue:284
mounted @ Browser.vue:241
nt @ vue.runtime.esm.js:1854
Nn @ vue.runtime.esm.js:4219
insert @ vue.runtime.esm.js:3139
O @ vue.runtime.esm.js:6346
(anonymous) @ vue.runtime.esm.js:6565
An.e._update @ vue.runtime.esm.js:3948
r @ vue.runtime.esm.js:4066
nr.get @ vue.runtime.esm.js:4479
nr.run @ vue.runtime.esm.js:4554
Kn @ vue.runtime.esm.js:4310
(anonymous) @ vue.runtime.esm.js:1980
ct @ vue.runtime.esm.js:1906
Promise.then (async)
at @ vue.runtime.esm.js:1933
pt @ vue.runtime.esm.js:1990
er @ vue.runtime.esm.js:4402
nr.update @ vue.runtime.esm.js:4544
me.notify @ vue.runtime.esm.js:730
set @ vue.runtime.esm.js:1055
initialize @ store.js:34
(anonymous) @ vuex.esm.js:785
(anonymous) @ vuex.esm.js:407
(anonymous) @ vuex.esm.js:406
m._withCommit @ vuex.esm.js:565
m.commit @ vuex.esm.js:405
commit @ vuex.esm.js:350
(anonymous) @ main.js:46
Promise.then (async)
(anonymous) @ main.js:45
Promise.then (async)
created @ main.js:42
nt @ vue.runtime.esm.js:1854
Nn @ vue.runtime.esm.js:4219
e._init @ vue.runtime.esm.js:5008
kr @ vue.runtime.esm.js:5085
93b7 @ main.js:36
r @ bootstrap:79
0 @ app.js?1632736197:1
r @ bootstrap:79
o @ bootstrap:45
a @ bootstrap:32
(anonymous) @ chunk-vendors.js?1632736197:1

I also check the /var/log/hestia/nginx-error.log file:

2022/01/13 22:31:30 [error] 3470#0: *638 "/usr/local/hestia/web/phpmyadmin/index.php" is not found (2: No such file or directory), client: 86.86.226.6, server: _, request: "GET /phpmyadmin/ HTTP/1.1", host: "XX.XX.XXX.XX:2053"
2022/01/13 22:35:05 [error] 3470#0: *652 "/usr/local/hestia/web/phpmyadmin/index.php" is not found (2: No such file or directory), client: 86.86.226.6, server: _, request: "GET /phpmyadmin/ HTTP/1.1", host: "XX.XX.XXX.XX:2053"
2022/01/13 23:57:16 [error] 3470#0: *866 FastCGI sent in stderr: "PHP message: PHP Notice:  No compatible server to client message authentication algorithms found in /usr/local/hestia/web/fm/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php on line 1568PHP message: PHP>
Stack trace:
#0 /usr/local/hestia/web/fm/vendor/league/flysystem-sftp/src/SftpAdapter.php(195): 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(348): 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\Flysys" while reading response header from upstream, client: 86.86.226.6, server: _, request: "POST /fm/?r=/getdir HTTP/1.1", upstream: "fastcgi://unix:/var/run/hestia-php.sock:", host: "h>

– Any help is very much appreciated. Thanks!