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.
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.
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?