graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #03622
[Question #217785]: Graphite 0.9.10: settings.DATABASES is improperly configured
New question #217785 on Graphite:
https://answers.launchpad.net/graphite/+question/217785
Hello,
I'm installing graphite 0.9.10 on Debian wheezy (testing) server. All dependencies are met, installation was smooth. But when I run web interface I got a bunch of green error messages and the main error at the end, as I understand, is:
File "/usr/lib/python2.7/dist-packages/django/db/backends/dummy/base.py", line 15, in complain
raise ImproperlyConfigured("settings.DATABASES is improperly configured. "
ImproperlyConfigured: settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details.
I found that the new database setting could be done in /opt/graphite/webapp/graphite/local.settings.py and I uncommented the following there:
DATABASES = {
'default': {
'NAME': '/opt/graphite/storage/graphite.db',
'ENGINE': 'django.db.backends.sqlite3',
'USER': '',
'PASSWORD': '',
'HOST': '',
'PORT': ''
}
}
But, I do not see database file /opt/graphite/storage/graphite.db , so, these settings didn't help. Looks like sqlite database /opt/graphite/storage/graphite.db was not created during the installation for some reasons. How can I creat it now?
(I have graphite 0.9.9 installed and running and I didn't had such a problems with that version).
Thanks,
Alexandr
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.