You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the title says, I'm getting permissions error 500: Internal Server Error An exception occurred while executing a query: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database every time I have to restart the Wallabag Docker container.
I know that I solve this by running chown -R nobody [folders] but I'm confused why I have to do this every time the container restarts?
I first setup the container using suggested command $ docker run -v /opt/wallabag/data:/var/www/wallabag/data -v /opt/wallabag/images:/var/www/wallabag/web/assets/images -p 80:80 -e "SYMFONY__ENV__DOMAIN_NAME=http://localhost" wallabag/wallabag but with the directories changed to my usual Docker folder that I use for persistent storage and a different port.
So how do I get it to stop having this issue with permissions every time?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
As the title says, I'm getting permissions error
500: Internal Server Error An exception occurred while executing a query: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database
every time I have to restart the Wallabag Docker container.I know that I solve this by running
chown -R nobody [folders]
but I'm confused why I have to do this every time the container restarts?I first setup the container using suggested command
$ docker run -v /opt/wallabag/data:/var/www/wallabag/data -v /opt/wallabag/images:/var/www/wallabag/web/assets/images -p 80:80 -e "SYMFONY__ENV__DOMAIN_NAME=http://localhost" wallabag/wallabag
but with the directories changed to my usual Docker folder that I use for persistent storage and a different port.So how do I get it to stop having this issue with permissions every time?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions