graphite_docker
graphite_docker copied to clipboard
OperationalError: no such table: auth_user
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

I am using this docker thing first time, so might be missing something in the process.
I just tried the same and ran into the same error. Did you manage to resolve it?
I likewise was getting this error.
Same here
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
unfortunately I get
python: can't open file 'manage.py': [Errno 2] No such file or directory
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.
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.
cd /var/lib/graphite/webapp/graphite &&
python manage.py syncdb --noinput