Error connecting to Django database: "sqlite3.OperationalError: cannot open database file"

So, I just created a new project and application for the blog. When I try to synchronize, it says: "sqlite3.OperationalError: cannot open the database file"

I saw frequently asked questions about num, and it says that possible errors have the wrong path or do not give apache permission to write to the folder.

Here is a dpaste with my settings.py options and some terminal outputs to give you an idea of ​​what is going on.

http://dpaste.org/eQUm/

If the solution should give apache permission to write, how would I do it? I am running the server on a personal computer on ubuntu.

+3
source share
1

, :

'NAME': '/home/vmplanet/code/blog', # Or path to database file if using sqlite3.

... . /home/vmplanet/code/blog/blog.db.

+4

All Articles