hi.
Why can’t I edit, delete, add, or upload any files in the file manager? Please help me solve this problem.
Please watch the video to see what I mean.
Hi @stc2020
Check the log /var/log/hestia/nginx-error.log
hi.
This is what it looks like to me after I did what you told me.
root@cp:~# /var/log/hestia/nginx-error.log
-bash: /var/log/hestia/nginx-error.log: Permission denied
You are trying to execute a log file. I only said that you should check it, using tail
, cat
, etc.
Try to reproduce the issue in file manager and just after that:
tail -n30 /var/log/hestia/nginx-error.log
[quote="stc2020, post:3, topic:19283"]
[quote="sahsanu, post:2, topic:19283"]
/var/log/hestia/nginx-error.log
[/quote]
[/quote]
=============================
Welcome!
This server is hosted by Contabo. If you have any questions or need help,
please don't hesitate to contact us at [email protected].
Last login: Tue Jun 17 01:10:44 2025 from 188.240.115.124
root@cp:~# /var/log/hestia/nginx-error.log
-bash: /var/log/hestia/nginx-error.log: Permission denied
root@cp:~#
root@cp:~# tail -n30 /var/log/hestia/nginx-error.log
2025/06/17 01:07:50 [error] 1243#0: *445 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: 188.240.115.124, server: _, request: "POST /fm/?r=/changedir HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "cp.haraj-sooq.store:8083", referrer: "https://cp.haraj-sooq.store:8083/fm/"
2025/06/17 01:07:52 [error] 1243#0: *445 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: 188.240.115.124, server: _, request: "POST /fm/?r=/changedir HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "cp.haraj-sooq.store:8083", referrer: "https://cp.haraj-sooq.store:8083/fm/"
2025/06/17 01:07:56 [error] 1243#0: *445 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: 188.240.115.124, server: _, request: "POST /fm/?r=/zipitems HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "cp.haraj-sooq.store:8083", referrer: "https://cp.haraj-sooq.store:8083/fm/"
2025/06/17 01:07:57 [error] 1243#0: *445 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: 188.240.115.124, server: _, request: "POST /fm/?r=/getdir HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "cp.haraj-sooq.store:8083", referrer: "https://cp.haraj-sooq.store:8083/fm/"
2025/06/17 01:09:31 [error] 1243#0: *445 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: 188.240.115.124, server: _, request: "POST /fm/?r=/changedir HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "cp.haraj-sooq.store:8083", referrer: "https://cp.haraj-sooq.store:8083/fm/"
2025/06/17 01:09:35 [error] 1243#0: *445 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: 188.240.115.124, server: _, request: "POST /fm/?r=/changedir HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "cp.haraj-sooq.store:8083", referrer: "https://cp.haraj-sooq.store:8083/fm/"
2025/06/17 01:09:37 [error] 1243#0: *445 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: 188.240.115.124, server: _, request: "POST /fm/?r=/changedir HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "cp.haraj-sooq.store:8083", referrer: "https://cp.haraj-sooq.store:8083/fm/"
2025/06/17 01:09:41 [error] 1243#0: *445 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: 188.240.115.124, server: _, request: "POST /fm/?r=/zipitems HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "cp.haraj-sooq.store:8083", referrer: "https://cp.haraj-sooq.store:8083/fm/"
2025/06/17 01:09:42 [error] 1243#0: *445 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: 188.240.115.124, server: _, request: "POST /fm/?r=/getdir HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "cp.haraj-sooq.store:8083", referrer: "https://cp.haraj-sooq.store:8083/fm/"
2025/06/17 01:17:01 [error] 1243#0: *469 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: 188.240.115.124, server: _, request: "GET /fm/ HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "cp.haraj-sooq.store:8083", referrer: "https://cp.haraj-sooq.store:8083/edit/user/?user=admin&token=04d9b70e9702352ee7cbd4de77db6268"
2025/06/17 01:17:02 [error] 1243#0: *469 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: 188.240.115.124, server: _, request: "GET /fm/?r=/getconfig HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "cp.haraj-sooq.store:8083", referrer: "https://cp.haraj-sooq.store:8083/fm/"
2025/06/17 01:17:02 [error] 1243#0: *469 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: 188.240.115.124, server: _, request: "GET /fm/?r=/getuser HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "cp.haraj-sooq.store:8083", referrer: "https://cp.haraj-sooq.store:8083/fm/"
2025/06/17 01:17:04 [error] 1243#0: *469 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: 188.240.115.124, server: _, request: "POST /fm/?r=/getdir HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "cp.haraj-sooq.store:8083", referrer: "https://cp.haraj-sooq.store:8083/fm/"
2025/06/17 01:17:09 [error] 1243#0: *469 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: 188.240.115.124, server: _, request: "POST /fm/?r=/zipitems HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "cp.haraj-sooq.store:8083", referrer: "https://cp.haraj-sooq.store:8083/fm/"
2025/06/17 01:17:09 [error] 1243#0: *469 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: 188.240.115.124, server: _, request: "POST /fm/?r=/getdir HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "cp.haraj-sooq.store:8083", referrer: "https://cp.haraj-sooq.store:8083/fm/"
2025/06/17 01:19:30 [error] 1243#0: *481 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: 188.240.115.124, server: _, request: "POST /fm/?r=/changedir HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "cp.haraj-sooq.store:8083", referrer: "https://cp.haraj-sooq.store:8083/fm/"
2025/06/17 01:19:31 [error] 1243#0: *481 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: 188.240.115.124, server: _, request: "GET /fm/?r=/getuser HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "cp.haraj-sooq.store:8083", referrer: "https://cp.haraj-sooq.store:8083/fm/"
2025/06/17 01:32:24 [error] 1243#0: *497 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: 188.240.115.124, server: _, request: "GET /fm/ HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "cp.haraj-sooq.store:8083", referrer: "https://cp.haraj-sooq.store:8083/edit/user/?user=admin&token=04d9b70e9702352ee7cbd4de77db6268"
2025/06/17 01:32:25 [error] 1243#0: *497 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: 188.240.115.124, server: _, request: "GET /fm/?r=/getconfig HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "cp.haraj-sooq.store:8083", referrer: "https://cp.haraj-sooq.store:8083/fm/"
2025/06/17 01:32:26 [error] 1243#0: *497 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: 188.240.115.124, server: _, request: "GET /fm/?r=/getuser HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "cp.haraj-sooq.store:8083", referrer: "https://cp.haraj-sooq.store:8083/fm/"
2025/06/17 01:32:27 [error] 1243#0: *497 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: 188.240.115.124, server: _, request: "POST /fm/?r=/getdir HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "cp.haraj-sooq.store:8083", referrer: "https://cp.haraj-sooq.store:8083/fm/"
2025/06/17 01:32:37 [error] 1243#0: *497 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: 188.240.115.124, server: _, request: "POST /fm/?r=/zipitems HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "cp.haraj-sooq.store:8083", referrer: "https://cp.haraj-sooq.store:8083/fm/"
2025/06/17 01:32:38 [error] 1243#0: *497 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: 188.240.115.124, server: _, request: "POST /fm/?r=/getdir HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "cp.haraj-sooq.store:8083", referrer: "https://cp.haraj-sooq.store:8083/fm/"
2025/06/17 01:33:15 [error] 1243#0: *497 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "v_nginx_cache_duration" in /usr/local/hestia/web/edit/web/index.php on line 352" while reading response header from upstream, client: 188.240.115.124, server: _, request: "POST /edit/web/?domain=apaksirror.site&token=05345b3c26a07546c28daeb6b1cb6652 HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "cp.haraj-sooq.store:8083", referrer: "https://cp.haraj-sooq.store:8083/edit/web/?domain=apaksirror.site&token=05345b3c26a07546c28daeb6b1cb6652"
2025/06/17 01:33:24 [error] 1243#0: *497 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: 188.240.115.124, server: _, request: "GET /fm/ HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "cp.haraj-sooq.store:8083", referrer: "https://cp.haraj-sooq.store:8083/edit/user/?user=admin&token=04d9b70e9702352ee7cbd4de77db6268"
2025/06/17 01:33:25 [error] 1243#0: *497 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: 188.240.115.124, server: _, request: "GET /fm/?r=/getconfig HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "cp.haraj-sooq.store:8083", referrer: "https://cp.haraj-sooq.store:8083/fm/"
2025/06/17 01:33:25 [error] 1243#0: *497 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: 188.240.115.124, server: _, request: "GET /fm/?r=/getuser HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "cp.haraj-sooq.store:8083", referrer: "https://cp.haraj-sooq.store:8083/fm/"
2025/06/17 01:33:26 [error] 1243#0: *497 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: 188.240.115.124, server: _, request: "POST /fm/?r=/getdir HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "cp.haraj-sooq.store:8083", referrer: "https://cp.haraj-sooq.store:8083/fm/"
2025/06/17 01:33:31 [error] 1243#0: *497 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: 188.240.115.124, server: _, request: "POST /fm/?r=/zipitems HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "cp.haraj-sooq.store:8083", referrer: "https://cp.haraj-sooq.store:8083/fm/"
2025/06/17 01:33:31 [error] 1243#0: *497 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: 188.240.115.124, server: _, request: "POST /fm/?r=/getdir HTTP/2.0", upstream: "fastcgi://unix:/run/hestia-php.sock:", host: "cp.haraj-sooq.store:8083", referrer: "https://cp.haraj-sooq.store:8083/fm/"
root@cp:~#
root@cp:~# etc -n30 /var/log/hestia/nginx-error.log
Command 'etc' not found, did you mean:
command 'rtc' from deb nvram-wakeup (1.1-4build1)
command 'etr' from deb extremetuxracer (0.8.1-1)
command 'etcd' from deb etcd-server (3.3.25+dfsg-7ubuntu0.22.04.1)
command 'htc' from deb httptunnel (3.3+dfsg-4)
command 'eta' from deb eta (1.0.1-1)
command 'tc' from deb iproute2 (5.15.0-1ubuntu2)
command 'etm' from deb etm (3.2.30-1.1)
command 'atc' from deb bsdgames (2.17-29)
command 'dtc' from deb device-tree-compiler (1.6.1-1)
command 'etw' from deb etw (3.6+svn162-6)
Try: apt install <deb name>
root@cp:~#
I see no problem in that log, the session lines are normal.
Why are you trying to execute that command?
So how can I solve this problem? I don’t know what to do to solve this problem.
If I see no error I don’t how to solve it.
Show the output of these commands (replace YourUser
and YourDomain
with the actual data):
ls -la /home/YourUser/.ssh/
namei -l /home/YourUser/web/YourDomain/public_html/index.html
getfacl /home/YourUser/
Last login: Tue Jun 17 01:44:43 2025 from 188.240.115.124
root@cp:~# v-rebuild-webdomains user
v-rebuild-webdomains: command not found
root@cp:~# v-rebuild-apksirror.site user
v-rebuild-apksirror.site: command not found
root@cp:~# ls -la /home/apksirror.site/.ssh/
ls: cannot access ‘/home/apksirror.site/.ssh/’: No such file or directory
root@cp:~# namei -l /home/apksirror.site/web/YourDomain/public_html/index.html
f: /home/apksirror.site/web/YourDomain/public_html/index.html
drwxr-xr-x root root /
drwxr-xr-x root root home
apksirror.site - No such file or directory
root@cp:~# getfacl /home/apksirror.site/
getfacl: /home/apksirror.site/: No such file or directory
root@cp:~# ^C
root@cp:~# namei -l /home/apksirror.site/web/apksirror.site/public_html/index.html
f: /home/apksirror.site/web/apksirror.site/public_html/index.html
drwxr-xr-x root root /
drwxr-xr-x root root home
apksirror.site - No such file or directory
root@cp:~#
Are you sure your user is apksirror.site
?
ls -l /home/
When I created a new username it worked fine I was able to upload and edit files.
But in the basic supervisor is not accepted. Why is that?
That’s because…
Why do you think it is not accepted as the primary username? Is there something wrong with that?
Hestia doesn’t support user names with a dot.
❯ v-add-user 'apksirror.site' 'Password0!' [email protected]
Error: invalid user format :: apksirror.site
And because the commands can’t show the path with that user.
Sorry for the delay in replying. I was on vacation. How can I resolve this please?
root@cp:~# ls -la /home/radad/.ssh/
total 12
drwxr-xr-x 2 radad radad 4096 Jul 15 13:31 .
drwxr-x–x+ 14 root root 4096 Sep 8 2024 ..
-rw-r–r-- 1 radad radad 322 Jul 15 13:01 authorized_keys
Last login: Tue Jul 15 14:04:33 2025 from 145.224.127.253
root@cp:~# ls -la /home/radad/.ssh/
total 12
drwxr-xr-x 2 radad radad 4096 Jul 15 13:31 .
drwxr-x–x+ 14 root root 4096 Sep 8 2024 ..
-rw-r–r-- 1 radad radad 322 Jul 15 13:01 authorized_keys
root@cp:~# namei -l /home/radad/web/haraj-sooq.store/public_html/index.html
f: /home/radad/web/haraj-sooq.store/public_html/index.html
drwxr-xr-x root root /
drwxr-xr-x root root home
drwxr-x–x root root radad
drwxr-x–x root radad web
drwxr-x–x radad radad haraj-sooq.store
drwxr-x–x radad www-data public_html
index.html - No such file or directory
root@cp:~# getfacl /home/radad/
Now I know how these problems happen. And at that moment, this problem I am suffering from occurred.
I did this before this problem happened to me.
Because default perms for dir /home/user/web/domain/
are 551
and that means your user don’t have write perms to that dir.
You can add write perms for your user using this (keep in mind that this will affect all your users and domains):
Note: replace YourUser
and YourDomain
by the actual data.
v-change-sys-config-value DOMAINDIR_WRITABLE yes
v-rebuild-web-domain YourUser YourDomain
Then the problem happened.
Here is the link
The problem has been solved.sahsanu
This is the solution:
v-change-user-shell YourUser bash