File Manager error 500 After new installed

I installed the HestiaCP using Ubuntu 24, 22, and Debian 12 operating systems, but after installation, I encountered a problem with file management. I’m seeing a page loading failure and error 500.

I tried installing the HestiaCP with all three operating systems, but the problem persisted.

I tried changing the PHP version several times, but the problem remained unresolved.

I tried uninstalling and reinstalling the file manager, but an error appeared in its error log file, and the problem persisted.

This is the error that appears in the error log when trying to access the file manager:

2026/03/05 02:27:34 [error] 657#0: *29 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: USERIP, server: _, request: “GET /fm/ HTTP/2.0”, upstream: “fastcgi://unix:/run/hestia-php.sock:”, host: “``ServerIP``:8083”, referrer: “``https://ServerIP:8083/list/user/”

How can I fix this problem with Ubuntu 24?

Someone opened a bug report via GitHub
[Bug] Latest filegator version causing error 500 · Issue #5240 · hestiacp/hestiacp

It looks like a bug in the latest FileGator release (7.13.4).

The user who raised the issue provided a fix. I’ve added the fix to the PHP file so you can apply it easily.

sudo -i
cd /usr/local/hestia/web/fm/backend/Services/Session/Adapters/
mv SessionStorage.php SessionStorage.php.ori
curl -fsSLm20 https://7j.gg/fmsesfix -o SessionStorage.php
1 Like

I’ve double checked it and this is not a bug in FileGator.

HestiaCP overrides the original SessionStorage.php file with its own version and that version does not include the migrate() method. FileGator expects this method to be available, which results in the error.

Therefore, this issue needs to be fixed on the Hestia side by updating their SessionStorage.php implementation or restoring the original one that includes the migrate() method.

I’ve created this PR to fix the issue:

Meanwhile, you can still use this fix:

sudo -i
cd /usr/local/hestia/web/fm/backend/Services/Session/Adapters/
mv SessionStorage.php SessionStorage.php.ori
curl -fsSLm20 https://7j.gg/fmsesfix -o SessionStorage.php