1.9.0 Beta first bug)

filemanager - HTTP ERROR 500

The language settings in the panel also disappeared. Reinstalling the Ukrainian language does not give any results. English remains. How can these bugs be solved?

2024/11/26 14:33:20 [error] 1903866#0: *28 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Symfony\Component\HttpFoundation\Exception\SessionNotFoundException: Session has not been set. in /usr/local/hestia/web/fm/vendor/symfony/http-foundation/Request.php:763
Stack trace:
#0 /usr/local/hestia/web/fm/backend/Services/Session/Adapters/SessionStorage.php(62): Symfony\Component\HttpFoundation\Request->getSession()
#1 /usr/local/hestia/web/fm/backend/Services/Session/Adapters/SessionStorage.php(29): Filegator\Services\Session\Adapters\SessionStorage->getSession()
#2 /usr/local/hestia/web/fm/backend/App.php(33): Filegator\Services\Session\Adapters\SessionStorage->init()
#3 /usr/local/hestia/web/fm/dist/index.php(50): Filegator\App->__construct()
#4 {main}
thrown in /usr/local/hestia/web/fm/vendor/symfony/http-foundation/Request.php on line 763”

1 Like

Dear developers, do you know how to solve these problems?

I can confirm both issues…

  1. Is a mistake on my side
    Will make a fix shortly…
    Fix translations fogot to convert to .mo by jaapmarcus · Pull Request #4642 · hestiacp/hestiacp · GitHub

  2. Have no idea what caused it … It looks something has changed in Filegator…

Ok. How can I fix all this then?

Download the .mo file in the locale folder and upload it to the same folder on the server

1 Like

Have you fixed it yet?
Please provide a sequence of commands to correct the situation.

I returned the old version of filegator from another server where 1.8.12 is installed until the developers fix the situation.

Most likely the problem is somehow related to

Add hestia-mail to hestia-users group and create hestia-users group on new install #4540 #4531

Please check this.

Thank you for the promptness. Translation corrected

Downloaded this version GitHub - hestiacp/hestiacp at fix/translation-bugs

Replaced all files in the “web/locale” folder
Tell me, will the bug not appear when installing the new version?

Haven’t merged it yet and need to build the server package first

I’m trying to figure out the reasons for the filegator failure but without success.
Perhaps some changes in the panel affected the work of the file manager. It is very difficult to work without a file manager…

Bump symfony/http-foundation from 4.4.49 to 5.4.46 in /install/deb/filemanager/filegator by dependabot[bot] · Pull Request #4620 · hestiacp/hestiacp · GitHub was the issue

2 Likes

Everything worked out. It works as it should.

But the problem I wrote about a few weeks ago with the language in filegator remains.
I added a translation into Ukrainian on github in the filegator branch
The panel is in Ukrainian, but the file manager is in English.

I tried changing the parameter:

if (!empty($_SESSION[“language”])) {
$lang = $_SESSION[“language”];
} elseif (!empty($_SESSION[“LANGUAGE”])) {
$lang = $_SESSION[“LANGUAGE”];
} else {
$lang = “ru”;
}

At least install Russian
It didn’t help. What to do?

This should work in the meanwhile

I added a purely Ukrainian translation on filegator
Sorry if I don’t understand something. I’m not a developer)