graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #00299
Re: [Question #101875]: Trying to install - docs are out of date?
Question #101875 on Graphite changed:
https://answers.launchpad.net/graphite/+question/101875
Status: Open => Solved
bobemoe confirmed that the question is solved:
Right, figured it out...
As far as I can tell, sys.path is another name for the bash environment variable $PYTHONPATH, which needed to be set with:
export PYTHONPATH=/opt/graphite/webapp:/opt/graphite/lib
I think the installer did some of this, but only for the current user,
but as I installed with sudo all the files were root owned I need to
sudo the manage.py so it had access to the db files, however the root
environment didn't have this variable set...
Initially I sudo su to root and exported the variable and things started
to work, however in the end I chowned all the /opt/graphite to me anyway
as I didnt see a need to run all this as root.
All sorted now, but some good guides wouldn't go a miss! I also see
some people working on ubuntu packages, that would be great! :)
Cheers for the amazing product,
James.
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.