Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OperationalError: no such table: auth_user #27

Open
mukesh-sangtani opened this issue Jun 18, 2017 · 8 comments
Open

OperationalError: no such table: auth_user #27

mukesh-sangtani opened this issue Jun 18, 2017 · 8 comments

Comments

@mukesh-sangtani
Copy link

mukesh-sangtani commented Jun 18, 2017

Hello,

I was following this link and came across to use this docker to setup graphite web view. Grafana web interface worked fine. I am stuck on graphite web view. It says OperationalError: no such table: auth_user
Error log image for your reference
2017-06-18 19_14_40-graphite browser

I am using this docker thing first time, so might be missing something in the process.

@marten
Copy link

marten commented Jul 4, 2017

I just tried the same and ran into the same error. Did you manage to resolve it?

@kayila
Copy link

kayila commented Aug 11, 2017

I likewise was getting this error.

@rvashurin
Copy link

Same here

@caltechads
Copy link

exec into your container, do:

  cd /var/lib/graphite/webapp/graphite && \
     python manage.py migrate --noinput --no-initial-data auth && \
     python manage.py migrate --noinput --no-initial-data

@jeantil
Copy link

jeantil commented Nov 24, 2017

unfortunately I get

python: can't open file 'manage.py': [Errno 2] No such file or directory

@leopucci
Copy link

leopucci commented Jun 1, 2018

Happened to me also, to solve I´ve used this other image, that was plug and play. (not plug and pray =) )
https://github.com/kamon-io/docker-grafana-graphite

I´ve tried to attach to the image and solve by my own, but had the same error from @jeantil

This error is Django related... but I could not found manage.py to solve-it.. seems that the migrate command solves it.

@SamSaffron
Copy link
Owner

to be totally honest here, I recommend walking away from this repo and pattern.

These days grafana already ship an official image, it is better to lean on that, similarly I think graphite has something official out there.

I know it is annoying to cobble all the lego pieces together but it is way healthier to lean on the pieces the teams are delivering.

@lanjingling
Copy link

cd /var/lib/graphite/webapp/graphite &&
python manage.py syncdb --noinput

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

No branches or pull requests

8 participants