ProgrammingError Create Web user: relation "users_domainrequest" does not exist

Hello everyone,
I’m getting the following error in a fresh install of commcare-hq by
accessing to Web-User management:
Any idea how to solve this problem?
Best
-Speedy

ProgrammingError at /a/commcare-hq/settings/users/web/

relation “users_domainrequest” does not exist
LINE 1: …is_approved", “users_domainrequest”.“domain” FROM "users_dom…

Django Version:
1.10.7

  Exception Type:
  ProgrammingError




  Exception Value:

relation “users_domainrequest” does not exist
LINE 1: …is_approved", “users_domainrequest”.“domain” FROM "users_dom…

I believe there was a recent change around that, although I can’t recall
the specifics. Have you tried this?

pip install -r requirements/requirements.txt
./manage.py migrate

Many of us use a shell script along these lines to make sure everything is
up-to-date when developing locally:

function hammer() {
git checkout master &&
git pull origin master &&
git submodule update --init --recursive &&
sudo ./scripts/docker services rebuild &&
pip install -r requirements/requirements.txt &&
find . -name ‘*.pyc’ -delete &&
./manage.py migrate &&
./manage.py compilejsi18n
}

You might not need the docker line if you don’t use docker.

··· On Thu, May 4, 2017 at 5:00 AM, Speedy wrote:

Hello everyone,
I’m getting the following error in a fresh install of commcare-hq by
accessing to Web-User management:
Any idea how to solve this problem?
Best
-Speedy

ProgrammingError at /a/commcare-hq/settings/users/web/

relation “users_domainrequest” does not exist
LINE 1: …is_approved", “users_domainrequest”.“domain” FROM "users_dom…

Django Version:
1.10.7

  Exception Type:
  ProgrammingError




  Exception Value:

relation “users_domainrequest” does not exist
LINE 1: …is_approved", “users_domainrequest”.“domain” FROM "users_dom…


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.

I just tried and it works after adding before ./manage.py makemigrations ./manage.py
migrate
function hammer() {
git checkout master &&
git pull origin master &&
git submodule update --init --recursive &&
sudo ./scripts/docker services rebuild &&
pip install -r requirements/requirements.txt &&
find . -name ‘*.pyc’ -delete &&
./manage.py migrate &&
./manage.py makemigrations &&
./manage.py compilejsi18n
}
thank you for the fast support

··· Am Donnerstag, 4. Mai 2017 18:13:10 UTC+2 schrieb Ethan Soergel: > > I believe there was a recent change around that, although I can't recall > the specifics. Have you tried this? > > pip install -r requirements/requirements.txt > ./manage.py migrate > > Many of us use a shell script along these lines to make sure everything is > up-to-date when developing locally: > > function hammer() { > git checkout master && > git pull origin master && > git submodule update --init --recursive && > sudo ./scripts/docker services rebuild && > pip install -r requirements/requirements.txt && > find . -name '*.pyc' -delete && > ./manage.py migrate && > ./manage.py compilejsi18n > } > > You might not need the docker line if you don't use docker. > > On Thu, May 4, 2017 at 5:00 AM, Speedy <hamza...@gmx.com > wrote: > >> Hello everyone, >> I'm getting the following error in a fresh install of commcare-hq by >> accessing to Web-User management: >> Any idea how to solve this problem? >> Best >> -Speedy >> >> ProgrammingError at /a/commcare-hq/settings/users/web/ >> >> relation "users_domainrequest" does not exist >> LINE 1: ...is_approved", "users_domainrequest"."domain" FROM "users_dom... >> >> >> Django Version: >> 1.10.7 >> >> >> >> Exception Type: >> ProgrammingError >> >> >> >> >> Exception Value: >> >> relation "users_domainrequest" does not exist >> LINE 1: ...is_approved", "users_domainrequest"."domain" FROM "users_dom... >> >> -- >> >> --- >> 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. >> > > > > -- > >