← Back to team overview

graphite-dev team mailing list archive

[Question #328866]: Install failing with Unknown command: 'collectstatic'

 

New question #328866 on Graphite:
https://answers.launchpad.net/graphite/+question/328866

I am attempting to setup graphite in the following environment:

OS: CentOS Linux release 7.2.1511 (Core)
Kernel: 3.10.0-327.22.2.el7
Sw version: graphite2-1.3.6-1.el7_2
Python version: 2.7
Django version:1.10

[root@dev1~]# export GRAPHITE_ROOT=/opt/graphite
[root@dev1~]# PYTHONPATH=$GRAPHITE_ROOT/webapp django-admin.py collectstatic --noinput --settings=graphite.settings
/opt/graphite/webapp/graphite/settings.py:246: UserWarning: SECRET_KEY is set to an unsafe default. This should be set in local_settings.py for better security
  warn('SECRET_KEY is set to an unsafe default. This should be set in local_settings.py for better security')
Unknown command: 'collectstatic'
Type 'django-admin.py help' for usage.
[root@dev1~]# python -c "import django; print(django.__path__)"
['/usr/lib/python2.7/site-packages/django']
[root@dev1~]# python -c "import django; print(django.__version__)"
1.10

I am following instructions document on https://graphite.readthedocs.io/en/latest/config-local-settings.html

What am I missing?

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.