ImproperlyConfigured: Missing connection string! Do you have CELERY_RESULT_DBURI set to a real value?

Dear all,

I am here for help again. I have followed the updated installation steps
and getting a new error:

ImproperlyConfigured: Missing connection string! Do you have
CELERY_RESULT_DBURI set to a real value?

from celery documentation:

CELERY_RESULT_DBURI This setting is no longer used as it’s now possible to
specify the database URL directly in the CELERY_RESULT_BACKEND
http://docs.celeryproject.org/en/latest/configuration.html#std:setting-CELERY_RESULT_BACKEND
setting

Does commcare-hq use redis or couchdb for storing this? What is the correct
setting for CELERY_RESULT_BACKEND
http://docs.celeryproject.org/en/latest/configuration.html#std:setting-CELERY_RESULT_BACKEND?
thanks.

Euc

Thanks. I have resolved it.

··· On Thursday, November 3, 2016 at 1:22:18 PM UTC+1, Eucalyptus D wrote: > > Dear all, > > I am here for help again. I have followed the updated installation steps > and getting a new error: > > ImproperlyConfigured: Missing connection string! Do you have > CELERY_RESULT_DBURI set to a real value? > > from celery documentation: > > CELERY_RESULT_DBURI This setting is no longer used as it’s now possible > to specify the database URL directly in the CELERY_RESULT_BACKEND > > setting > > Does commcare-hq use redis or couchdb for storing this? What is the > correct setting for CELERY_RESULT_BACKEND > ? > thanks. > > Euc > >

At present we use the DB
backend: ‘djcelery.backends.database:DatabaseBackend’

··· On 3 November 2016 at 16:01, Eucalyptus D wrote:

Thanks. I have resolved it.

On Thursday, November 3, 2016 at 1:22:18 PM UTC+1, Eucalyptus D wrote:

Dear all,

I am here for help again. I have followed the updated installation steps
and getting a new error:

ImproperlyConfigured: Missing connection string! Do you have
CELERY_RESULT_DBURI set to a real value?

from celery documentation:

CELERY_RESULT_DBURI This setting is no longer used as it’s now possible
to specify the database URL directly in the CELERY_RESULT_BACKEND
http://docs.celeryproject.org/en/latest/configuration.html#std:setting-CELERY_RESULT_BACKEND
setting

Does commcare-hq use redis or couchdb for storing this? What is the
correct setting for CELERY_RESULT_BACKEND
http://docs.celeryproject.org/en/latest/configuration.html#std:setting-CELERY_RESULT_BACKEND?
thanks.

Euc


You received this message because you are subscribed to the Google Groups
"CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Simon Kelly
Senior Engineer | Dimagi South Africa

I am having the same issue…how did you resolve this?

@John_Harper1 you should make sure that you have the CELERY_RESULT_BACKEND setting set appropriately. Currently we use 'djcelery.backends.database:DatabaseBackend',