OperationalError at / attempt to write a readonly database

走远了吗. 提交于 2020-01-06 02:13:14

问题


I configured Apache with Django. For that I had to move my django app to the server root directory. Now, I'm getting an error that my database is read only. I checked permissions and they didn't change after the move. Please help. It gives me this error:

OperationalError at /
attempt to write a readonly database

回答1:


I ran into a similar problem on a CentOS 7 system, where SELinux was running. If you have SELinux installed, you can check if it's enabled by running sestatus and possibly disable it (temporarily for testing) with setenforce 0.



来源:https://stackoverflow.com/questions/24261716/operationalerror-at-attempt-to-write-a-readonly-database

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!