graphite question

Asked by cnsmith

I recently installed graphite and am having trouble getting it running. I enabled DEBUG. Here is the output:

OperationalError at /

no such table: auth_user

Request Method: GET
Request URL: http://localhost/graphite
Exception Type: OperationalError
Exception Value:

no such table: auth_user

Exception Location: /usr/lib/python2.4/site-packages/django/db/backends/sqlite3/base.py in execute, line 167
Python Executable: /usr/bin/python
Python Version: 2.4.3
Python Path: ['/usr/local/graphite/webapp', '/usr/lib/python24.zip', '/usr/lib/python2.4', '/usr/lib/python2.4/plat-linux2', '/usr/lib/python2.4/lib-tk', '/usr/lib/python2.4/lib-dynload', '/usr/lib/python2.4/site-packages', '/usr/lib/python2.4/site-packages/Numeric', '/usr/lib/python2.4/site-packages/gtk-2.0']
Server time: Tue, 10 Feb 2009 17:49:19 -0600

Question information

Language:
English Edit question
Status:
Solved
For:
Graphite Edit question
Assignee:
No assignee Edit question
Solved by:
jdugan
Solved:
Last query:
Last reply:
Revision history for this message
Best jdugan (jdugan-x1024) said :
#1

Looks like the database for the Django part of the app isn't initialized.

In graphite/webapp/web, do:

python manange.py syncdb

That assumes the settings in settings.py and/or local_settings.py are correct.

Revision history for this message
cnsmith (cnsmith21) said :
#2

Thanks jdugan, that solved my question.