package: graphite-web 1.1.8-2

It doesn't load the /etc/graphite/local_settings.py.

/var/log/apache2/graphite-web_error.log shows:"Could not import graphite.local_settings, using defaults!"


Debian already has a patch to set the env var GRAPHITE_SETTINGS_MODULE to "local_settings"

instead of "graphite.local_settings" in settings.py. Unfortunately the /usr/share/graphite-web/graphite.wsgi

already sets this env var to "graphite.local_settings" so the patch doesn't have effect.

My solution was to simply comment out the line:

os.environ.setdefault('GRAPHITE_SETTINGS_MODULE', 'graphite.local_settings')

in the /usr/share/graphite-web/graphite.wsgi


Debian 12

Reply via email to