Skip to content
This repository has been archived by the owner on Jul 24, 2020. It is now read-only.

Your username and password didn't match. Please try again. #106

Open
h3ku opened this issue Aug 10, 2016 · 6 comments
Open

Your username and password didn't match. Please try again. #106

h3ku opened this issue Aug 10, 2016 · 6 comments
Assignees
Labels

Comments

@h3ku
Copy link

h3ku commented Aug 10, 2016

I get this message when try to login with user user and password password

@dArignac
Copy link
Member

Hi @h3ku how do you run it? Self setup or using the docker dev images?

@h3ku
Copy link
Author

h3ku commented Aug 11, 2016

Using the make file.
-docker-build-base
-docker-build-web
-docker-up

@dArignac
Copy link
Member

Could please try the following:

  • delete the pricemonitor/base image and the pricemonitor/web image (docker rmi pricemonitor.base && docker rmi pricemonitor/web)
  • then build only the web image as the base image is on dockerhub and will be loaded from there: make docker-build-web
  • then start the whole thing make docker-up
  • then run docker logs -f pm_web_1 (assuming that the web container has the name pm_web_1 (default))
  • then try to login

Please tell the result, so if it works or not.

@dArignac
Copy link
Member

I additionally clearified this in the docs.

@h3ku
Copy link
Author

h3ku commented Aug 11, 2016

Nothing, I try this and a new clean build but nothing.

image

/login path
image

/admin path
image

@dArignac
Copy link
Member

dArignac commented Aug 12, 2016

You're right, the admin user was not created. I fixed this in e0bc2dd. You have to rebuild the pricemonitor/web image and should delete the docker/postgres folder beforehand. Then please start it with make docker-up and test.

@dArignac dArignac self-assigned this Aug 12, 2016
@tbaker4802
Copy link

Just in case you're not running the docker image (as I wasn't) you can do the same thing as the json he mentions by running:

python manage.py createsuperuser

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants