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

Fresh installation with external mysql gives error: failed to open stream: Permission denied #150

Open
manisha-tanwar opened this issue Apr 19, 2021 · 0 comments

Comments

@manisha-tanwar
Copy link

Hi, I'm doing a fresh install and using external mysql mysql Ver 14.14 Distrib 5.7.32-35, for Linux (x86_64) using 6.2 but gets below error:

file_put_contents(/var/www/html/storage/framework/sessions/LBHi7b2PtLRv7xc5Z12QKB3bNQJnk6g2x4I5t50l): failed to open stream: Permission denied

I realised pods are running with root user and docker user isn't able to access /var/www/html/storage/framework/sessions directory.
running chown docker storage/framework/ -R command this inside pods fixed the issue.

Am I missing anything here or Do I need to run this command with every fresh install?
Thanks!

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

1 participant