Issues with file manager

Hi,

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:

apt install --reinstall hestia hestia-nginx hestia-php bubblewrap
rm -f /home/*/.ssh/hst-filemanager-key
sudo find /home -name hst-filemanager-key -delete

And nothing helps.

Nothing in auth.log to help me either

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.

Any idea what to try or where to look? Thank you.

Hi @demlasjr

Show the output of:

grep -Ev '^#|^$' /etc/ssh/sshd_config

Did you check /var/log/hestia/nginx-error.log ?

Hi @sahsanu, thanks for answering me.

nginx-error.log gives me:

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.

That’s not causing the problem.

Looks fine.

Yes, it is. An unknown error should show something in the logs.

Show the output of these commands (replace YourUser with the actual user):

ls -la /home/YourUser/.ssh
/usr/local/hestia/bin/v-list-sys-sshd-port json

Hi again,

This is the result of the command:

root@delta:~# ls -la /home/admin/.ssh
/usr/local/hestia/bin/v-list-sys-sshd-port json
total 12
drwxr-xr-x   2 admin admin 4096 Jun 19 01:04 .
drwxr-xr-x+ 15 root  root  4096 Aug  5  2024 ..
-rw-------   1 admin admin  323 Jun 19 00:34 authorized_keys
[
	"112"
]
root@delta:~# ls -la /home/laslagunas/.ssh
/usr/local/hestia/bin/v-list-sys-sshd-port json
total 12
drwxr-xr-x   2 laslagunas laslagunas 4096 Jun 18 21:11 .
drwxr-xr-x+ 14 root       root       4096 Feb 10 00:41 ..
-rw-r--r--   1 laslagunas laslagunas  323 Jun 18 21:07 authorized_keys
[
	"112"
]

Tested with my user and other user as root. 112 is the correct ssh port.

Did you modify perms manually? I’m asking because home directories /home/admin and /home/laslagunas don’t have the correct perms.

Show the output of these commands:

getfacl /home/admin/
getfacl /home/laslagunas/

I’m leaving in a few minutes so, as your perms are not correct I put here the commands you should use to fix it.

setfacl -b /home/admin/
chmod 0751 /home/admin/
setfacl -m "u:admin:r-x" /home/admin/
setfacl -m "g:hestia-users:---" /home/admin/

Do the same for the user laslagunas replacing admin with laslagunas. Once done, try it again.

I didn’t modified nothing, but datacenter had issues moving disks into new server and it failed because of SAS, maybe it got broken meanwhile.

I have this one doing those commands

root@delta:~# getfacl /home/admin/
getfacl: Removing leading '/' from absolute path names
# file: home/admin/
# owner: root
# group: root
user::rwx
group::r-x
group:hestia-users:---
group:admin:r-x
mask::r-x
other::r-x

root@delta:~# getfacl /home/laslagunas/
getfacl: Removing leading '/' from absolute path names
# file: home/laslagunas/
# owner: root
# group: root
user::rwx
user:laslagunas:r-x
group::r-x
group:hestia-users:---
mask::r-x
other::r-x

I guess i have to fix for every single user manually.

I’ll give a try and let you know.

1 Like

@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.

Where is the file? Check the path perms to that file.

For example, if the file is index.html and it’s inside your public_html dir:

namei -l /home/YourUser/web/YourDomain/public_html/index.html

Are you sure? You had this:

drwxr-xr-x+

and now you should have this:

drwxr-x--x+

Did you check the nginx-error.log again?

1 Like

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/"

Doing namei I’m getting

"-rw-r--r-- admin admin file.txt"

Thank you so much for everything so far.

I have no knowledge of PHP but it seems that the v_user variable is null and it’s being retrieved from the session. So something is failing there.

I said to use namei because I want to see the permissions and owner for every part of the file path.

Also:

ls -la /usr/local/hestia/data/sessions/
namei -l /usr/local/hestia/data/sessions/

Yes, that’s what I’m trying to find information about…that v_user…

This is the ls -la /usr/local/hestia/data/sessions/


(it’s way much bigger than the capture)

namei -l /usr/local/hestia/data/sessions/ gives this

f: /usr/local/hestia/data/sessions/
drwxr-xr-x root      root      /
drwxr-xr-x root      root      usr
drwxr-xr-x root      root      local
drwxr-xr-x root      root      hestia
drwxr-xr-x root      root      data
drwx------ hestiaweb hestiaweb sessions

Thank you.

1 Like

I see no obvious problem.

I would remove the web directory and reinstall Hestia (you shouldn’t lose anything at all).

mkdir /root/backup_hestia_reinstall
cp -prf /usr/local/hestia /root/backup_hestia_reinstall
rm -rf /usr/local/hestia/web/
apt reinstall hestia
1 Like

I already reinstalled before and still the same issue :frowning:

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/"


Can somebody help me please? Any idea?

I just found that:

root@delta:/usr/local/hestia/web/fm/private/logs# sftp -i /home/admin/.ssh/hst-filemanager-key -P 112 [email protected]
Connected to 127.0.0.1.
sftp> cd web/domain.com/public_html
sftp> rm phpcs.xml
Removing /home/admin/web/domain.com/public_html/phpcs.xml
remote delete /home/admin/web/domain.com/public_html/phpcs.xml: Failure

I cannot get the full log even if I set -l DEBUG3 into sshd_config. Any help guys? @sahsanu @Raphael @eris ? Please :folded_hands:

Show this output:

namei -l /home/YourUser/web/YourDomain/public_html/index.html

Also, try assigning a shell to the user.

v-change-user-shell USER bash
2 Likes

OMFG, @sahsanu,

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.

Thank you so much mate. You deserve a huge beer!

2 Likes