graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #03975
[Question #225486]: Issues with running graphite in gunicorn
New question #225486 on Graphite:
https://answers.launchpad.net/graphite/+question/225486
I've been fiddling around with graphite-web and gunicorn for a couple of hours, and eventually gave up, because I couldn't get it to work.
When running graphite-web with the provided Apache site config and mod_wsgi, everything works like a charm. I would however like to switch to gunicorn (or flup, whatever works better). With gunicorn, I only get to the point that graphite-web is starting, but the page only shows the upper frame, and the logo is missing.
graphite-web is installed using pip, with the following command:
pip install graphite-web --install-option="--prefix=/var/lib/graphite" --install-option="--install-scripts=/usr/bin" --install-option="--install-lib=/var/lib/graphite/webapp"
Regardless of my PYTHONPATH setup, gunicorn does not seem to pickup the /render part for graphite-web. Running
run-graphite-devel-server.py --libs=/var/lib/graphite/webapp/graphite/ /var/lib/graphite/
works like a charm as well. My setup is running on CentOS 6.3, using EPEL packages for carbon and whisper, and the graphite-web dependencies.
I have no idea where to go from here.
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.