Note that there are some explanatory texts on larger screens.

plurals
  1. PODjango error when installing Graphite - settings.DATABASES is improperly configured. Please supply the ENGINE value
    primarykey
    data
    text
    <p>I am trying to install GRAPHITE on ubuntu. I follow the instructions in the blog. </p> <pre><code>http://geek.michaelgrace.org/2011/09/how-to-install-graphite-on-ubuntu/ </code></pre> <p>When I get to the part where I run the command..I get the below error. I have zero clue on how to resolve. I am using the lastest version of Django 1.4.</p> <pre><code>cd /opt/graphite/webapp/graphite/ sudo python manage.py syncdb sudo python manage.py syncdb /opt/graphite/webapp/graphite/thirdparty/pytz/__init__.py:32: UserWarning: Module pytz was already imported from /opt/graphite/webapp/graphite/thirdparty/pytz/__init__.pyc, but /usr/local/lib/python2.7/dist-packages/pytz-2012b-py2.7.egg is being added to sys.path from pkg_resources import resource_stream Traceback (most recent call last): File "manage.py", line 11, in &lt;module&gt; execute_manager(settings) File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 459, in execute_manager utility.execute() File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 382, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 196, in run_from_argv self.execute(*args, **options.__dict__) File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 232, in execute output = self.handle(*args, **options) File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 371, in handle return self.handle_noargs(**options) File "/usr/local/lib/python2.7/dist-packages/django/core/management/commands/syncdb.py", line 57, in handle_noargs cursor = connection.cursor() File "/usr/local/lib/python2.7/dist-packages/django/db/backends/dummy/base.py", line 15, in complain raise ImproperlyConfigured("settings.DATABASES is improperly configured. " django.core.exceptions.ImproperlyConfigured: settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details. </code></pre> <p>In the /opt/graphite/webapp/graphite/settings.py file, this is the contents.</p> <pre><code>#Database settings, sqlite is intended for single-server setups DATABASE_ENGINE = 'sqlite3' # 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'. DATABASE_NAME = STORAGE_DIR + 'graphite.db' # Or path to database file if using sqlite3. DATABASE_USER = '' # Not used with sqlite3. DATABASE_PASSWORD = '' # Not used with sqlite3. DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3. DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3. DASHBOARD_CONF = join(CONF_DIR, 'dashboard.conf') GRAPHTEMPLATES_CONF = join(CONF_DIR, 'graphTemplates.conf') </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload