graphite_docker icon indicating copy to clipboard operation
graphite_docker copied to clipboard

OperationalError: no such table: auth_user

Open mukesh-sangtani opened this issue 8 years ago • 8 comments

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.

mukesh-sangtani avatar Jun 18 '17 14:06 mukesh-sangtani

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

marten avatar Jul 04 '17 13:07 marten

I likewise was getting this error.

kayila avatar Aug 11 '17 05:08 kayila

Same here

rvashurin avatar Oct 20 '17 13:10 rvashurin

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

caltechads avatar Nov 02 '17 15:11 caltechads

unfortunately I get

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

jeantil avatar Nov 24 '17 10:11 jeantil

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.

leopucci avatar Jun 01 '18 14:06 leopucci

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.

SamSaffron avatar Jun 04 '18 01:06 SamSaffron

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

lanjingling avatar Jan 12 '22 14:01 lanjingling