graphite-project / graphite-project/graphite-web

installation uses 'local' under /opt/graphite /opt/graphite/local

Open
#2,828 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

pinned
Dominant language
JavaScript
Stars
6.1k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

I run into following issue:
Debian 12 - python3 - install Graphite from scratch wit pip:
pip3 install --no-binary=:all: https://github.com/graphite-project/whisper/tarball/master
pip3 install --no-binary=:all: https://github.com/graphite-project/carbon/tarball/master
pip3 install --no-binary=:all: https://github.com/graphite-project/graphite-web/tarball/master

big part of the installation (not everything) happens under /opt/graphite/local instead of the documented /opt/graphite.
this happens for storage, conf_dir, etc..

So i changed /opt/graphite/webapp/graphite/local_settings.py
CONF_DIR = '/opt/graphite/local/conf'
STORAGE_DIR = '/opt/graphite/local/storage'
STATIC_ROOT = '/opt/graphite/local/static'
LOG_DIR = '/opt/graphite/local/storage/log/webapp'
INDEX_FILE = '/opt/graphite/local/storage/index'

But things still seem broken.
what do I miss here?

Thanks,
Tom

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Debian 12 installation with the three pip3 commands in the issue and compare the resulting /opt/graphite and /opt/graphite/local paths with the documented layout. Inspect webapp/graphite/local_settings.py and the CONF_DIR, STORAGE_DIR, STATIC_ROOT, LOG_DIR, and INDEX_FILE values; done means the installation paths and configuration work consistently without the reported breakage.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.