New question #649208 on Graphite:
https://answers.launchpad.net/graphite/+question/649208
Hi,
I'm trying to get started with graphite, and I did good progress as I can see
graphite-web is running, but it is not showing the left menu with the tree,
only the top links: Documentation, Dashboard, Events, Login
Looking at the logs, there are two kinds of errors:
Loads of: "/usr/lib/python2.7/site-packages/django/template/<file>.py:line:
RemovedInDjango110Warning: You haven't defined a TEMPLATES setting. You must do
so before upgrading to Django 1.10. Otherwise Django will be unable to load
templates."
and missing files on /static such as:
"GET /static/js/ext/ext-all-debug.js HTTP/1.1" 404 1097
So I need to go and run collectstatic, right? But it does not work:
# PYTHONPATH=/usr/share/graphite/webapp django-admin collectstatic
--settings=graphite.settings
You have requested to collect static files at the destination
location as specified in your settings:
/usr/share/graphite/static
This will overwrite existing files!
Are you sure you want to do this?
Type 'yes' to continue, or 'no' to cancel: yes
Traceback (most recent call last):
File "/usr/bin/django-admin", line 5, in <module>
management.execute_from_command_line()
File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py",
line 353, in execute_from_command_line
utility.execute()
File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py",
line 345, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python2.7/site-packages/django/core/management/base.py", line
348, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/lib/python2.7/site-packages/django/core/management/base.py", line
399, in execute
output = self.handle(*args, **options)
File
"/usr/lib/python2.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py",
line 176, in handle
collected = self.collect()
File
"/usr/lib/python2.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py",
line 98, in collect
for path, storage in finder.list(self.ignore_patterns):
File
"/usr/lib/python2.7/site-packages/django/contrib/staticfiles/finders.py", line
112, in list
for path in utils.get_files(storage, ignore_patterns):
File "/usr/lib/python2.7/site-packages/django/contrib/staticfiles/utils.py",
line 28, in get_files
directories, files = storage.listdir(location)
File "/usr/lib/python2.7/site-packages/django/core/files/storage.py", line
299, in listdir
for entry in os.listdir(path):
OSError: [Errno 2] No such file or directory:
'/usr/lib/python2.7/site-packages/content'
I guess I may be missing something silly here. Ideas? I'm running on Fedora 25,
installed from fedora packages:
graphite2-1.3.10-1.fc25.x86_64
graphite-web-0.10.0-0.1.rc1.fc25.noarch
Thanks a lot!
--
You received this question notification because your team graphite-dev
is an answer contact for Graphite.
_______________________________________________
Mailing list: https://launchpad.net/~graphite-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~graphite-dev
More help : https://help.launchpad.net/ListHelp