-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What is the correct permission for the path /var/www/html
?
#1490
Comments
did u find out? i just fucked up my permission and now i dont get access to the site.. "Warning: require_once(public/Constants.php): Failed to open stream: No such file or directory in /var/www/html/lib/base.php on line 74 Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/lib/base.php:74) in /var/www/html/index.php on line 80 |
This could be dependent on the docker image you're using. If it's the Debian one, then it should be @kim3k Not sure whether this is the same cause. But you could try this too. |
I ended up restoring from a backup :) but thanks for the reply :) |
Hi @LeducH - I can't reproduce this behavior today. There are some scenarios where if you use, for example, bind mounts rather than named volumes that it's easier for permissions to get weird since they're dependent on non-Docker managed folders. I'm processing old Issues in the repository. I hope you found help through another channel such as https://help.nextcloud.com. If this Issue is no longer relevant today, can you close it out here to avoid confusion? Thanks! |
Closing. Refer to my last comment for details. Feel free to follow-up if you think this is a bug in the Docker image, but it appears to be a volume mounting or underlying host filesystem matter. |
I want to run
occ db:add-missing-columns
inside the container.Currently I get a permissions error.
I expect to able to run. There seems to be a permission error.
I use the latest image with the details
As you can see the user group is changed to root.
Why was this done?
I assume that
should fix the issue given that the user group
www-data
is correct. Therefore what is the correct user group?The text was updated successfully, but these errors were encountered: