I have two docker containers. I tried to change owners of storage and bootstrap/cache, but its not working.
Asked
Active
Viewed 67 times
0
-
1Need more information , How you have change owner ? Share composer or docker file as well – Shamith Wimukthi Jul 15 '22 at 15:12
-
I usually follow https://stackoverflow.com/questions/30639174/how-to-set-up-file-permissions-for-laravel when I run into permissions issues for Laravel. – waterloomatt Jul 15 '22 at 15:22
-
Please share more detail to solve the problem. – mohammad hosein abedini Jul 15 '22 at 16:15
1 Answers
0
Make sure that you're running the below commands INSIDE your Docker container and not from outside of the Docker container:
php artisan cache:clear
php artisan config:clear
This should fix your problem. Running these commands outside of the Docker container (on your machine) will cause this problem to happen.

ChrisG
- 675
- 6
- 13