Skip to content
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

There is no existing directory at "/var/www/storage/logs" and it could not be created: Permission denied #68

Closed
EnzoDosSantos opened this issue Dec 16, 2023 · 2 comments

Comments

@EnzoDosSantos
Copy link

Hello, I tried to solve the storage permissions error with the steps in the README, it didn't work, I also tried doing it from a Dockerfile, it didn't give me a solution either, any ideas? I would also like to know how to disable APP_DEBUG

image

@EnzoDosSantos
Copy link
Author

these are the permissions inside the container

image

I have also disabled the debug, but it still appears

image

image

@jkaninda
Copy link
Owner

You can do this: chown -R www-data:www-data /var/www/html, and debug is applied from your .env file, please check it in your .env file.
You can also apply it directly from the environment in your docker-compose.yaml file and it will override the existing environment in .env

environment:
       - APP_DEBUG=false

@jkaninda jkaninda pinned this issue Dec 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants