I have problems with the file manager. I have a debian server, everything worked fine until (I guess, but not sure), server has been changed, switching only HDDs and ssd into a new server.
When I’m trying to create, delete, rename, upload with the admin account into its folder nothing happens.
When I’m trying to edit other account’s files, I’m getting Unknown issue error and nothing happens either.
I tried everything, I have a lot of experience with hestia but I’m desesperate in this case:
2025-06-18T21:20:14.187487+02:00 delta sudo: hestiaweb : PWD=/usr/local/hestia/web/fm/dist ; USER=root ; COMMAND=/usr/local/hestia/bin/v-list-user admin json
2025-06-18T21:20:14.187850+02:00 delta sudo: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1053)
2025-06-18T21:20:14.204697+02:00 delta sudo: pam_unix(sudo:session): session closed for user root
2025-06-18T21:20:14.211251+02:00 delta sudo: hestiaweb : PWD=/usr/local/hestia/web/fm/dist ; USER=root ; COMMAND=/usr/local/hestia/bin/v-list-user admin json
2025-06-18T21:20:14.211553+02:00 delta sudo: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1053)
2025-06-18T21:20:14.234711+02:00 delta sudo: pam_unix(sudo:session): session closed for user root
2025-06-18T21:20:14.375424+02:00 delta sshd[2131913]: Accepted publickey for admin from 127.0.0.1 port 58860 ssh2: RSA SHA256:Ruf6ENmD8OmikDCqUOVDKYS5Gw
2025-06-18T21:20:14.376476+02:00 delta sshd[2131913]: pam_unix(sshd:session): session opened for user admin(uid=1001) by (uid=0)
2025-06-18T21:20:14.379788+02:00 delta systemd-logind[617]: New session 117041 of user admin.
2025-06-18T21:20:14.410187+02:00 delta sshd[2131913]: pam_env(sshd:session): deprecated reading of user environment enabled
2025-06-18T21:20:14.459019+02:00 delta sshd[2131919]: Received disconnect from 127.0.0.1 port 58860:11:
2025-06-18T21:20:14.459462+02:00 delta sshd[2131913]: pam_unix(sshd:session): session closed for user admin
2025-06-18T21:20:14.461803+02:00 delta systemd-logind[617]: Session 117041 logged out. Waiting for processes to exit.
2025-06-18T21:20:14.462393+02:00 delta systemd-logind[617]: Removed session 117041.
2025/06/18 21:20:14 [error] 1962237#0: *166 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/symfony/http-foundation/Session/Storage/Handler/NativeFileSessionHandler.php on line 53" while reading response header from upstream, client: 2a0c:5a80:230b:b100:3419:4a0d:876:346c, server: _, request: "POST /fm/?r=/getdir HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "domain.com:10001", referrer: "https://domain.com:10001/fm/"
The output of sshd_config is:
Include /etc/ssh/sshd_config.d/*.conf
Port 112
LoginGraceTime 1m
PermitRootLogin yes
KbdInteractiveAuthentication no
UsePAM yes
X11Forwarding yes
PrintMotd no
DebianBanner no
AcceptEnv LANG LC_*
Subsystem sftp internal-sftp
Match User sftp_dummy99,admin,x,y,z,users
ChrootDirectory /srv/jail/%u
X11Forwarding no
AllowTCPForwarding no
ForceCommand internal-sftp -d /home/%u
This is weird. Nothing in the logs is giving me clues about the error.
@sahsanu I just tried that and same issue. The difference is that there is no “Unknown error”, but nothing happens when trying to delete a file, for example.
Also, no differente in permissions after I used setfacl and chmod.
This is my nginx-error.log after opening file manager and trying to remove a file from /home/admin/domain/public_html
2025/06/19 18:49:39 [error] 2242995#0: *4352 FastCGI sent in stderr: "PHP message: PHP Warning: ini_set(): Session ini settings cannot be changed when a session is activa/web/fm/vendor/symfony/http-foundation/Session/Storage/Handler/NativeFileSessionHandler.php on line 53" while reading response header from upstream, client: 2a0c:5a80:23f:e2fe, server: _, request: "POST /fm/?r=/getdir HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "server.domain.com:10001", referrer: "https://delta/fm/"
2025/06/19 18:49:44 [error] 2242995#0: *4352 FastCGI sent in stderr: "PHP message: PHP Warning: ini_set(): Session ini settings cannot be changed when a session is activa/web/fm/vendor/symfony/http-foundation/Session/Storage/Handler/NativeFileSessionHandler.php on line 53" while reading response header from upstream, client: 2a0c:5a80:23f:e2fe, server: _, request: "POST /fm/?r=/deleteitems HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "server.domain.com:10001", referrer: "https://10001/fm/"
2025/06/19 18:49:44 [error] 2242995#0: *4352 FastCGI sent in stderr: "PHP message: PHP Warning: ini_set(): Session ini settings cannot be changed when a session is activa/web/fm/vendor/symfony/http-foundation/Session/Storage/Handler/NativeFileSessionHandler.php on line 53" while reading response header from upstream, client: 2a0c:5a80:23f:e2fe, server: _, request: "POST /fm/?r=/getdir HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "server.domain.com:10001", referrer: "https://delta/fm/"
2025/06/19 23:09:08 [error] 2242995#0: *5421 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/symfony/http-foundation/Session/Storage/Handler/NativeFileSessionHandler.php on line 53" while reading response header from upstream, client: 2a0c:5a80:230b:b100:55de:b730:f32f:15e1, server: _, request: "POST /fm/?r=/changedir HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "server.domain.com:10001", referrer: "https://server.domain.com:10001/fm/"
2025/06/19 23:09:08 [error] 2242995#0: *5421 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/symfony/http-foundation/Session/Storage/Handler/NativeFileSessionHandler.php on line 53; PHP message: PHP Warning: Undefined variable $v_user in /usr/local/hestia/web/fm/configuration.php on line 181; PHP message: PHP Warning: Undefined variable $v_user in /usr/local/hestia/web/fm/configuration.php on line 184; PHP message: PHP Warning: Undefined variable $v_user in /usr/local/hestia/web/fm/configuration.php on line 191; PHP message: PHP Warning: Undefined variable $v_user in /usr/local/hestia/web/fm/configuration.php on line 208; PHP message: PHP Warning: Undefined variable $v_user in /usr/local/hestia/web/fm/configuration.php on line 213; PHP message: PHP Warning: Undefined variable $v_user in /usr/local/hestia/web/fm/configuration.php on line 214; PHP message: PHP Warning: Undefined variable $v_user in /usr/local/hestia/web/fm/backend/Services/Auth/Adapters/HestiaAuth.php on line 46; PHP message: PHP Fatal error: Uncaught TypeError: Hestiacp\\quoteshellarg\\quoteshellarg(): Argument #1 ($arg) must be of type string, null given, called in /usr/local/hestia/web/fm/backend/Services/Auth/Adapters/HestiaAuth.php on line 55 and defined in /usr/local/hestia/web/fm/vendor/hestiacp/phpquoteshellarg/src/Hestiacp/quoteshellarg/quoteshellarg.php:14
Stack trace:
#0 /usr/local/hestia/web/fm/backend/Services/Auth/Adapters/HestiaAuth.php(55): Hestiacp\\quoteshellarg\\quoteshellarg()
#1 /usr/local/hestia/web/fm/backend/Services/Router/Router.php(33): Filegator\\Services\\Auth\\Adapters\\HestiaAuth->user()
#2 /usr/local/hestia/web/fm/vendor/php-di/php-di/src/Definition/Resolver/ObjectCreator.php(143): Filegator\\Services\\Router\\Router->__construct()
#3 /usr/local/hestia/web/fm/vendor/php-di/php-di/src/Definition/Resolver/ObjectCreator.php(71): DI\\Definition\\Resolver\\ObjectCreator->createInstance()
#4 /usr/local/hestia/web/fm
2025/06/19 23:09:09 [error] 2242995#0: *5421 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/symfony/http-foundation/Session/Storage/Handler/NativeFileSessionHandler.php on line 53; PHP message: PHP Warning: Undefined variable $v_user in /usr/local/hestia/web/fm/configuration.php on line 181; PHP message: PHP Warning: Undefined variable $v_user in /usr/local/hestia/web/fm/configuration.php on line 184; PHP message: PHP Warning: Undefined variable $v_user in /usr/local/hestia/web/fm/configuration.php on line 191; PHP message: PHP Warning: Undefined variable $v_user in /usr/local/hestia/web/fm/configuration.php on line 208; PHP message: PHP Warning: Undefined variable $v_user in /usr/local/hestia/web/fm/configuration.php on line 213; PHP message: PHP Warning: Undefined variable $v_user in /usr/local/hestia/web/fm/configuration.php on line 214; PHP message: PHP Warning: Undefined variable $v_user in /usr/local/hestia/web/fm/backend/Services/Auth/Adapters/HestiaAuth.php on line 46; PHP message: PHP Fatal error: Uncaught TypeError: Hestiacp\\quoteshellarg\\quoteshellarg(): Argument #1 ($arg) must be of type string, null given, called in /usr/local/hestia/web/fm/backend/Services/Auth/Adapters/HestiaAuth.php on line 55 and defined in /usr/local/hestia/web/fm/vendor/hestiacp/phpquoteshellarg/src/Hestiacp/quoteshellarg/quoteshellarg.php:14
Stack trace:
#0 /usr/local/hestia/web/fm/backend/Services/Auth/Adapters/HestiaAuth.php(55): Hestiacp\\quoteshellarg\\quoteshellarg()
#1 /usr/local/hestia/web/fm/backend/Services/Router/Router.php(33): Filegator\\Services\\Auth\\Adapters\\HestiaAuth->user()
#2 /usr/local/hestia/web/fm/vendor/php-di/php-di/src/Definition/Resolver/ObjectCreator.php(143): Filegator\\Services\\Router\\Router->__construct()
#3 /usr/local/hestia/web/fm/vendor/php-di/php-di/src/Definition/Resolver/ObjectCreator.php(71): DI\\Definition\\Resolver\\ObjectCreator->createInstance()
#4 /usr/local/hestia/web/fm
2025/06/19 23:11:47 [error] 2242995#0: *5437 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/symfony/http-foundation/Session/Storage/Handler/NativeFileSessionHandler.php on line 53" while reading response header from upstream, client: 2a0c:5a80:230b:b100:55de:b730:f32f:15e1, server: _, request: "GET /fm/ HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "server.domain.com:10001", referrer: "https://server.domain.com:10001/list/user/"
2025/06/19 23:11:47 [error] 2242995#0: *5437 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/symfony/http-foundation/Session/Storage/Handler/NativeFileSessionHandler.php on line 53" while reading response header from upstream, client: 2a0c:5a80:230b:b100:55de:b730:f32f:15e1, server: _, request: "GET /fm/?r=/getconfig HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "server.domain.com:10001", referrer: "https://server.domain.com:10001/fm/"
2025/06/19 23:11:47 [error] 2242995#0: *5437 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/symfony/http-foundation/Session/Storage/Handler/NativeFileSessionHandler.php on line 53" while reading response header from upstream, client: 2a0c:5a80:230b:b100:55de:b730:f32f:15e1, server: _, request: "GET /fm/?r=/getuser HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "server.domain.com:10001", referrer: "https://server.domain.com:10001/fm/"
2025/06/19 23:11:48 [error] 2242995#0: *5437 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/symfony/http-foundation/Session/Storage/Handler/NativeFileSessionHandler.php on line 53" while reading response header from upstream, client: 2a0c:5a80:230b:b100:55de:b730:f32f:15e1, server: _, request: "POST /fm/?r=/getdir HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "server.domain.com:10001", referrer: "https://server.domain.com:10001/fm/"
2025/06/19 23:11:50 [error] 2242995#0: *5437 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/symfony/http-foundation/Session/Storage/Handler/NativeFileSessionHandler.php on line 53" while reading response header from upstream, client: 2a0c:5a80:230b:b100:55de:b730:f32f:15e1, server: _, request: "POST /fm/?r=/changedir HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "server.domain.com:10001", referrer: "https://server.domain.com:10001/fm/"
2025/06/19 23:11:52 [error] 2242995#0: *5437 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/symfony/http-foundation/Session/Storage/Handler/NativeFileSessionHandler.php on line 53" while reading response header from upstream, client: 2a0c:5a80:230b:b100:55de:b730:f32f:15e1, server: _, request: "POST /fm/?r=/changedir HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "server.domain.com:10001", referrer: "https://server.domain.com:10001/fm/"
2025/06/19 23:11:54 [error] 2242995#0: *5437 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/symfony/http-foundation/Session/Storage/Handler/NativeFileSessionHandler.php on line 53" while reading response header from upstream, client: 2a0c:5a80:230b:b100:55de:b730:f32f:15e1, server: _, request: "POST /fm/?r=/changedir HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "server.domain.com:10001", referrer: "https://server.domain.com:10001/fm/"
2025/06/19 23:12:00 [error] 2242995#0: *5437 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/symfony/http-foundation/Session/Storage/Handler/NativeFileSessionHandler.php on line 53" while reading response header from upstream, client: 2a0c:5a80:230b:b100:55de:b730:f32f:15e1, server: _, request: "POST /fm/?r=/deleteitems HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "server.domain.com:10001", referrer: "https://server.domain.com:10001/fm/"
2025/06/19 23:12:00 [error] 2242995#0: *5437 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/symfony/http-foundation/Session/Storage/Handler/NativeFileSessionHandler.php on line 53" while reading response header from upstream, client: 2a0c:5a80:230b:b100:55de:b730:f32f:15e1, server: _, request: "POST /fm/?r=/getdir HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "server.domain.com:10001", referrer: "https://server.domain.com:10001/fm/"
2025/06/19 23:37:37 [error] 3615#0: *9 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/symfony/http-foundation/Session/Storage/Handler/NativeFileSessionHandler.php on line 53" while reading response header from upstream, client: 2a0c:5a80:230b:b100:55de:b730:f32f:15e1, server: _, request: "POST /fm/?r=/getdir HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "server.domain.com:10001", referrer: "https://server.domain.com:10001/fm/"
2025/06/19 23:38:04 [error] 3615#0: *9 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/symfony/http-foundation/Session/Storage/Handler/NativeFileSessionHandler.php on line 53; PHP message: PHP Notice: Expected SSH_FXP_STATUS in /usr/local/hestia/web/fm/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP.php on line 2498; PHP message: PHP Notice: Expected SSH_FXP_STATUS in /usr/local/hestia/web/fm/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP.php on line 2498; PHP message: PHP Notice: Expected SSH_FXP_STATUS in /usr/local/hestia/web/fm/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP.php on line 2498; PHP message: PHP Notice: Expected SSH_FXP_STATUS in /usr/local/hestia/web/fm/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP.php on line 2498; PHP message: PHP Notice: Expected SSH_FXP_STATUS in /usr/local/hestia/web/fm/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP.php on line 2498; PHP message: PHP Notice: Expected SSH_FXP_STATUS in /usr/local/hestia/web/fm/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP.php on line 2498; PHP message: PHP Notice: Expected SSH_FXP_STATUS in /usr/local/hestia/web/fm/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP.php on line 2498; PHP message: PHP Fatal error: Uncaught League\Flysystem\FileNotFoundException: File not found at path: web/domain.com/public_html/CHANGELOG.md in /usr/local/hestia/web/fm/vendor/league/flysystem/src/Filesystem.php:390
Stack trace:
#0 /usr/local/hestia/web/fm/vendor/league/flysystem/src/Filesystem.php(236): League\Flysystem\Filesystem->assertPresent()
#1 /usr/local/hestia/web/fm/backend/Services/Storage/Filesystem.php(124): League\Flysystem\Filesystem->delete()
#2 /usr/local/hestia/web/fm/backend/Controllers/FileController.php(181): Filegator\Services\Storage\Filesystem->deleteFile()
#3 [internal function]: Filegator\Controllers\FileController->deleteItems()
#4 /usr/local/hestia/web/fm/vendor/php-di/invoker/src/Invoker.php(82): call_
2025/06/19 23:38:04 [error] 3615#0: *9 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/symfony/http-foundation/Session/Storage/Handler/NativeFileSessionHandler.php on line 53" while reading response header from upstream, client: 2a0c:5a80:230b:b100:55de:b730:f32f:15e1, server: _, request: "GET /fm/?r=/getuser HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "server.domain.com:10001", referrer: "https://server.domain.com:10001/fm/"
I already reinstalled before and still the same issue
I never had this problem before.
Removing, editing etc, gives me this into nginx-error.log
2025/06/20 01:23:40 [error] 238293#0: *163 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/symfony/http-foundation/Session/Storage/Handler/NativeFileSessionHandler.php on line 53; PHP message: PHP Notice: Expected SSH_FXP_STATUS in /usr/local/hestia/web/fm/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP.php on line 2498" while reading response header from upstream, client: 2a0c:5a80:230b:b100:55de:b730:f32f:15e1, server: _, request: "POST /fm/?r=/deleteitems HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "server.domain.com:10001", referrer: "https://server.domain.com:10001/fm/"
2025/06/20 01:24:10 [error] 238293#0: *163 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/symfony/http-foundation/Session/Storage/Handler/NativeFileSessionHandler.php on line 53" while reading response header from upstream, client: 2a0c:5a80:230b:b100:55de:b730:f32f:15e1, server: _, request: "POST /fm/?r=/renameitem HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "server.domain.com:10001", referrer: "https://server.domain.com:10001/fm/"
You’re amazing bro. The issue was the shell! After all day trying to find a solution, reinstalling, changing permissions etc., touching quotas, you found the issue. It was the shell.
I don’t get it how the hell the shell of admin user has been changed to nologin (probably) from bash. I changed it and now it’s working everything as it should.