← Back to team overview

graphite-dev team mailing list archive

Re: [Question #192127]: Unable to open database file

 

Question #192127 on Graphite changed:
https://answers.launchpad.net/graphite/+question/192127

Mohan posted a new comment:
Hi,
              This part is unchanged. This directory tree can be read and written by the user calling 'syncdb'. Is there any other permission required ?

Nothing is changed in the original files.

Thanks.

# Filesystem layout (all directores should end in a /)
WEB_DIR = dirname( abspath(__file__) ) + '/'
WEBAPP_DIR = dirname( dirname(WEB_DIR) ) + '/'
GRAPHITE_ROOT = dirname( dirname(WEBAPP_DIR) ) + '/'
CONTENT_DIR = WEBAPP_DIR + 'content/'
CSS_DIR = CONTENT_DIR + 'css/'
THIRDPARTY_DIR = WEB_DIR + 'thirdparty/'

CONF_DIR = os.environ.get('GRAPHITE_CONF_DIR', GRAPHITE_ROOT + 'conf/')
STORAGE_DIR = os.environ.get('GRAPHITE_STORAGE_DIR', GRAPHITE_ROOT + 'storage/')
LISTS_DIR = STORAGE_DIR + 'lists/'
INDEX_FILE = STORAGE_DIR + 'index'
WHITELIST_FILE = LISTS_DIR + 'whitelist'
LOG_DIR = STORAGE_DIR + 'log/webapp/'

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.