Skip to content
This repository has been archived by the owner on Feb 27, 2021. It is now read-only.

unable to open database file #27

Open
DaDaDim opened this issue May 22, 2019 · 1 comment
Open

unable to open database file #27

DaDaDim opened this issue May 22, 2019 · 1 comment

Comments

@DaDaDim
Copy link

DaDaDim commented May 22, 2019

Hi,
I was using background taks in production mode and everything was going fine. Now I just deployed my django app on a server with Apache2 and sqlite3 and Django 2.2.1, but when I try to access the app via the browser I get "unable to open database file" which happens at the moment I call my task in urls.py. By commenting the line the app works just fine, though. Of course, no background task is run anymore then.

Any idea?

@DaDaDim
Copy link
Author

DaDaDim commented May 23, 2019

So I solved it by giving writing rights to the whole project folder rather than just the database... Still if anyone has an explanation on why allowing writes to just the database is not enough, I'd gladly hear it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant