reason : your Django project does not have access to the database. In Ubuntu, www data is the user/group that runs the web service by default, and the folder/file that builds the web service should be set to WWW data
solution : CD…/my app chgrp www data databasedir chgrp www data databasedir/mydb.db CHMOD G + W databasedir CHMOD G + W databasedir/mydb.db
Similar Posts:
- Run Wireshark or tshark as a Non-Root User
- [Solved] createdb: could not connect to database postgres: FATAL: Peer authentication failed for user “postgres”
- MySQL database insert into statement with parameters Error
- [Solved] Django Error: – no such table: main.auth_user__old
- Error 1046 (3d000): no database selected) error in importing MySQL datagram from Ubuntu 18.04
- [Solved] Error when connecting to MySQL when creating Django project
- [Solved] pymongo.errors.OperationFailure: Authentication failed.
- [Solved] PHP write file permission failure: file_put_contents: failed to open stream: Permission denied
- [Solved] DjangoORM Run python manage.py makemigrations Error: no changes detected
- Django: How to Solve Using Pymysql Error