Celery beat task can't open database file.

93 views
Skip to first unread message

vis...@perpetualny.com

unread,
Sep 6, 2016, 6:54:47 AM9/6/16
to General Open edX discussion
I've created periodic task. Its is getting called after a required interval but it is throwing  exception as it can't access database file.


INFO:celery.beat:Scheduler: Sending due task stocks_update_scheduler (stocks_update_scheduler)
WARNING:celery.redirected:inside stocks_update_scheduler
WARNING:celery.redirected:unable to open database file
WARNING:celery.redirected:unable to open database file


I'm here trying to figure out how to actually give permission to this task to access database. is there something in settings regarding database access that I might have missed.


gs...@edx.org

unread,
Sep 7, 2016, 1:12:07 PM9/7/16
to General Open edX discussion
Are you able to run the stocks_update_scheduler task independent of celerey without issues? That would be where I would start.

It looks like the access to the DB is denied at that level.
Reply all
Reply to author
Forward
0 new messages