Oh that's my fault. I missed the manage.py! It's not mentioned on the
instructions list. Do you guys have a better comprehensive guide for single
server deployment?
Thank you all
路路路
On Wednesday, January 20, 2016 at 9:55:00 AM UTC+2, Simon Kelly wrote:
>
> That error suggests the the table does not exist in the PostgreSQL
> database. The table would normally be created by running './manage.py
> migrate'.
>
> Did you run the 'migrate' command and did it complete successfully?
>
> On 20 January 2016 at 09:46, <ashu...@srprogram.com > wrote:
>
>> Hello everyone,
>>
>> I was working on deploying CommCare-HQ using Docker as instructed here:
>> https://github.com/dimagi/commcare-hq/tree/master/docker
>> Everything went well, but when i tried to go to the website, i received
>> this error: \
>>
>> relation "django_prbac_role" does not exist
>>
>> LINE 1: ...scription", "django_prbac_role"."parameters" FROM "django_pr...
>>
>>
>>
>> Thank you for your help guys :)
>>
>>
>> --
>>
>> ---
>> 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
>
Hi Cory,
I tried to run ./manage.py migrate but it's stopping at:
import djcelery
ImportError: No module named djcelery
I tried so many solutions, but with no luck Any ideas?
路路路
On Wednesday, January 20, 2016 at 9:51:55 AM UTC+2, Cory Zue wrote:
>
> Hello,
>
> It doesn't look like you have created all your database tables. Have you
> run ./manage.py migrate successfully?
>
> On Wed, Jan 20, 2016 at 9:46 AM, <ashu...@srprogram.com > wrote:
>
>> Hello everyone,
>>
>> I was working on deploying CommCare-HQ using Docker as instructed here:
>> https://github.com/dimagi/commcare-hq/tree/master/docker
>> Everything went well, but when i tried to go to the website, i received
>> this error: \
>>
>> relation "django_prbac_role" does not exist
>>
>> LINE 1: ...scription", "django_prbac_role"."parameters" FROM "django_pr...
>>
>>
>>
>> Thank you for your help guys :)
>>
>>
>> --
>>
>> ---
>> 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.
>>
>
>
Hi Giovanni,
Thanks for your post! Yes i tried the pip install step. Actually i did
every single step written in the instructions, but still having the same
issue (knowing that i'm doing it while in the virtual environment)
Thank you again
Amjad
路路路
On Wednesday, January 20, 2016 at 11:17:59 PM UTC+2, Giovanni Capalbo wrote:
>
> Hi,
>
> Have you done the `pip install` step mentioned here
> ?
> Note that if you're using a virtual environment you should be in the
> virtual environment before doing that.
>
> Thanks,
> Giovanni
>
> On Wed, Jan 20, 2016 at 4:13 PM, <ashu...@srprogram.com > wrote:
>
>> Hi Cory,
>> I tried to run ./manage.py migrate but it's stopping at:
>> import djcelery
>> ImportError: No module named djcelery
>>
>> I tried so many solutions, but with no luck :( Any ideas?
>>
>> On Wednesday, January 20, 2016 at 9:51:55 AM UTC+2, Cory Zue wrote:
>>>
>>> Hello,
>>>
>>> It doesn't look like you have created all your database tables. Have you
>>> run ./manage.py migrate successfully?
>>>
>>> On Wed, Jan 20, 2016 at 9:46 AM, wrote:
>>>
>>>> Hello everyone,
>>>>
>>>> I was working on deploying CommCare-HQ using Docker as instructed here:
>>>> https://github.com/dimagi/commcare-hq/tree/master/docker
>>>> Everything went well, but when i tried to go to the website, i received
>>>> this error: \
>>>>
>>>> relation "django_prbac_role" does not exist
>>>>
>>>> LINE 1: ...scription", "django_prbac_role"."parameters" FROM "django_pr...
>>>>
>>>>
>>>>
>>>> Thank you for your help guys :)
>>>>
>>>>
>>>> --
>>>>
>>>> ---
>>>> 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.
>>>>
>>>
>>> --
>>
>> ---
>> 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.
>>
>
>
In addition to that, when i'm trying $./manage.py sync_couch_views
i'm getting this error:
File
"/home/ubuntu/.virtualenvs/cchq/local/lib/python2.7/site-packages/socketpool/util.py",
line 71, in load_backend
raise ImportError(error_msg)
ImportError: gevent isn't a socketpool backend
Any help is much appreciated
路路路
On Wednesday, January 20, 2016 at 11:17:59 PM UTC+2, Giovanni Capalbo wrote:
>
> Hi,
>
> Have you done the `pip install` step mentioned here
> ?
> Note that if you're using a virtual environment you should be in the
> virtual environment before doing that.
>
> Thanks,
> Giovanni
>
> On Wed, Jan 20, 2016 at 4:13 PM, <ashu...@srprogram.com > wrote:
>
>> Hi Cory,
>> I tried to run ./manage.py migrate but it's stopping at:
>> import djcelery
>> ImportError: No module named djcelery
>>
>> I tried so many solutions, but with no luck :( Any ideas?
>>
>> On Wednesday, January 20, 2016 at 9:51:55 AM UTC+2, Cory Zue wrote:
>>>
>>> Hello,
>>>
>>> It doesn't look like you have created all your database tables. Have you
>>> run ./manage.py migrate successfully?
>>>
>>> On Wed, Jan 20, 2016 at 9:46 AM, wrote:
>>>
>>>> Hello everyone,
>>>>
>>>> I was working on deploying CommCare-HQ using Docker as instructed here:
>>>> https://github.com/dimagi/commcare-hq/tree/master/docker
>>>> Everything went well, but when i tried to go to the website, i received
>>>> this error: \
>>>>
>>>> relation "django_prbac_role" does not exist
>>>>
>>>> LINE 1: ...scription", "django_prbac_role"."parameters" FROM "django_pr...
>>>>
>>>>
>>>>
>>>> Thank you for your help guys :)
>>>>
>>>>
>>>> --
>>>>
>>>> ---
>>>> 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.
>>>>
>>>
>>> --
>>
>> ---
>> 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.
>>
>
>
It looks like you're not completely following the instructions. I'd
recommend carefully running through the readme (possibly starting from
scratch) and posting here if you think there are steps that are wrong. For
other errors I'd recommend using google and stack overflow to try and
figure them out.
In general CommCare HQ is quite a complicated project to setup and
maintain! If you aren't an experienced python/django developer I would
strongly urge you to consider just using our cloud hosting.
Cory
路路路
On Wed, Jan 20, 2016 at 11:37 PM, wrote:
In addition to that, when i'm trying $./manage.py sync_couch_views
i'm getting this error:
File
"/home/ubuntu/.virtualenvs/cchq/local/lib/python2.7/site-packages/socketpool/util.py",
line 71, in load_backend
raise ImportError(error_msg)
ImportError: gevent isn't a socketpool backend
Any help is much appreciated
On Wednesday, January 20, 2016 at 11:17:59 PM UTC+2, Giovanni Capalbo wrote:
One other point to add is that we aren't currently using the docker setup
ourselves and so won't necessarily have come across or know how to solve
all the issues you encounter.
路路路
On 21 January 2016 at 13:16, Cory Zue wrote:
Hi Amjad,
It looks like you're not completely following the instructions. I'd
recommend carefully running through the readme (possibly starting from
scratch) and posting here if you think there are steps that are wrong. For
other errors I'd recommend using google and stack overflow to try and
figure them out.
In general CommCare HQ is quite a complicated project to setup and
maintain! If you aren't an experienced python/django developer I would
strongly urge you to consider just using our cloud hosting.
In addition to that, when i'm trying $./manage.py sync_couch_views
i'm getting this error:
File
"/home/ubuntu/.virtualenvs/cchq/local/lib/python2.7/site-packages/socketpool/util.py",
line 71, in load_backend
raise ImportError(error_msg)
ImportError: gevent isn't a socketpool backend
Any help is much appreciated
On Wednesday, January 20, 2016 at 11:17:59 PM UTC+2, Giovanni Capalbo wrote: