sqlite3.OperationalError: unable to open database file

Check your settings.py DATABASE_NAME, ensure that:
– The path is absolute path, don’t use ~ $HOME etc, and
– The path exists, and
– The database file exists (if it doesn’t, use manage.py syncdb), and
– Webserver has read and write access to the file, and
– Webserver has read and write access to the directory containing the file.

Anything else?

Advertisements