The file manager is not working

Hello, this is the first time I’ve encountered this, after a clean install on Ubuntu, HestiaCP opens perfectly, and all other functions work only except for the file manager, I can’t access it in any way, as soon as I go to …:8083/fm/ I get an HTTP ERROR 500, I already I tried to completely reinstall the panel 2 times, I also tried it on another hoster, it’s still the same, the installation process is standard and did not add any changes. I have already tried changing the php version of the admin panel itself, as well as no changes, I tried 8.2;8.3;8.4

I see this error in the logs:

2026/03/27 08:00:22 [error] 54599#0: *6 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Class Filegator\Services\Session\Adapters\SessionStorage contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Filegator\Services\Session\SessionStorageInterface::migrate) in /usr/local/hestia/web/fm/backend/Services/Session/Adapters/SessionStorage.php on line 18" while reading response header from upstream, client: 166.1.250.37, server: _, request: "GET /fm/ HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "******.**:8083"
1 Like

Hi,

Use this fix (as root):

cd /usr/local/hestia/web/fm/backend/Services/Session/Adapters/
mv SessionStorage.php SessionStorage.php.ori
curl -fsSLm20 https://raw.githubusercontent.com/hestiacp/hestiacp/refs/heads/main/install/deb/filemanager/filegator/backend/Services/Session/Adapters/SessionStorage.php -o SessionStorage.php
5 Likes

Thanks a lot, everything is working fine now.

4 Likes

Thank you !!
I had the same issue with Debian 12 fresh install 2 days ago.

2 Likes

hello @sahsanu i encounter this error too, already curl form refference, the file manager already open and i got error

2026/03/30 08:57:39 [error] 1640#0: *152 FastCGI sent in stderr: “PHP message: PHP Warning: ini_set(): Session ini settings cannot be changed when a session is active in /usr/local/hestia/web/fm/vendor/symfosymfony/http-foundation/Session/Storage/Handler/NativeFileSessionHandler.php on line 53” while reading response header from upstream, client: xxxxxx, server: _, request: “GET /fm/?r=/getuser HTTP/2.0”, upstream: “fastcgi://unix:/run/hestia-php.sock:”, host: “xxxxx:8083”, referrer: “https://xxxx:8083/fm/”

im using ubuntu 24.04

That error is really a “warning” and it is not related to the previous fix but you can use this to fix it (as root):

Backup files:

cp /usr/local/hestia/install/deb/filemanager/filegator/configuration.php /usr/local/hestia/install/deb/filemanager/filegator/configuration.php.ori
cp /usr/local/hestia/web/fm/configuration.php /usr/local/hestia/web/fm/configuration.php.ori

Apply the fix:

sed -i '3i if (session_status() === PHP_SESSION_ACTIVE) { session_write_close(); }' /usr/local/hestia/install/deb/filemanager/filegator/configuration.php
sed -i '/session_start();/d' /usr/local/hestia/install/deb/filemanager/filegator/configuration.php
sed -i '3i if (session_status() === PHP_SESSION_ACTIVE) { session_write_close(); }' /usr/local/hestia/web/fm/configuration.php
sed -i '/session_start();/d' /usr/local/hestia/web/fm/configuration.php
2 Likes