{"action":"created","issue":{"url":"https://api.github.com/repos/librenms/librenms/issues/2045","labels_url":"https://api.github.com/repos/librenms/librenms/issues/2045/labels{/name}","comments_url":"https://api.github.com/repos/librenms/librenms/issues/2045/comments","events_url":"https://api.github.com/repos/librenms/librenms/issues/2045/events","html_url":"https://github.com/librenms/librenms/issues/2045","id":109505581,"number":2045,"title":"Graphs not working","user":{"login":"loganmarchione","id":4955337,"avatar_url":"https://avatars.githubusercontent.com/u/4955337?v=3","gravatar_id":"","url":"https://api.github.com/users/loganmarchione","html_url":"https://github.com/loganmarchione","followers_url":"https://api.github.com/users/loganmarchione/followers","following_url":"https://api.github.com/users/loganmarchione/following{/other_user}","gists_url":"https://api.github.com/users/loganmarchione/gists{/gist_id}","starred_url":"https://api.github.com/users/loganmarchione/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loganmarchione/subscriptions","organizations_url":"https://api.github.com/users/loganmarchione/orgs","repos_url":"https://api.github.com/users/loganmarchione/repos","events_url":"https://api.github.com/users/loganmarchione/events{/privacy}","received_events_url":"https://api.github.com/users/loganmarchione/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/librenms/librenms/labels/Question","name":"Question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-10-02T14:46:56Z","updated_at":"2015-10-07T20:53:31Z","closed_at":null,"body":"Today, after a fresh install on multiple machines, my graphs aren't working for localhost (my only host so far). I'm running on Ubuntu Server 14.04 x64, nginx, MariaDB, with PHP5-FPM.  \r\n![capture](https://cloud.githubusercontent.com/assets/4955337/10249060/4b5ee6b0-68f1-11e5-9f33-bd61b7d24923.PNG)\r\n\r\nI have made sure I [don't have any white space](http://docs.librenms.org/Support/FAQ/#why-do-i-not-see-any-graphs) in my config.php file, seen below.\r\n```\r\n<?php\r\n## Have a look in defaults.inc.php for examples of settings you can set here. DO NOT EDIT defaults.inc.php!\r\n\r\n### Database config\r\n$config['db_host'] = 'localhost';\r\n$config['db_user'] = 'username';\r\n$config['db_pass'] = 'password';\r\n$config['db_name'] = 'database';\r\n$config['db']['extension'] = \"mysqli\";// mysql or mysqli\r\n\r\n// This is the user LibreNMS will run as\r\n//Please ensure this user is created and has the correct permissions to your install\r\n$config['user'] = 'librenms';\r\n\r\n### Memcached config - We use this to store realtime usage\r\n$config['memcached']['enable']  = FALSE;\r\n$config['memcached']['host']    = \"localhost\";\r\n$config['memcached']['port']    = 11211;\r\n\r\n### Locations - it is recommended to keep the default\r\n$config['install_dir']  = \"/var/www/librenms\";\r\n\r\n### This should *only* be set if you want to *force* a particular hostname/port\r\n### It will prevent the web interface being usable form any other hostname\r\n#$config['base_url']        = \"http://librenms.company.com\";\r\n\r\n### Enable this to use rrdcached. Be sure rrd_dir is within the rrdcached dir\r\n### and that your web server has permission to talk to rrdcached.\r\n#$config['rrdcached']    = \"unix:/var/run/rrdcached.sock\";\r\n\r\n### Default community\r\n$config['snmp']['community'] = array(\"public\");\r\n\r\n### Authentication Model\r\n$config['auth_mechanism'] = \"mysql\"; # default, other options: ldap, http-auth\r\n#$config['http_auth_guest'] = \"guest\"; # remember to configure this user if you use http-auth\r\n\r\n### List of RFC1918 networks to allow scanning-based discovery\r\n#$config['nets'][] = \"10.0.0.0/8\";\r\n#$config['nets'][] = \"172.16.0.0/12\";\r\n#$config['nets'][] = \"192.168.0.0/16\";\r\n\r\n# following is necessary for poller-wrapper\r\n# poller-wrapper is released public domain\r\n$config['poller-wrapper']['alerter'] = FALSE;\r\n# Uncomment the next line to disable daily updates\r\n#$config['update'] = 0;\r\n```\r\n\r\nBelow are the logs from Nginx at ```/var/log/nginx/librenms.error.log```. I had tried to load the main page, then a graph, with /debug=yes/ at the end of the URL.  \r\n```\r\n2015/10/02 10:38:22 [error] 7059#0: *156 FastCGI sent in stderr: \"PHP message: PHP Notice:  Undefined index: PATH_TRANSLATED in /var/www/librenms/html/index.php on line 16\r\nPHP message: PHP Notice:  Undefined index: ORIG_SCRIPT_FILENAME in /var/www/librenms/html/index.php on line 16\" while reading response header from upstream, client: YY.YY.YY.YY, server: XX.XX.XX.XX, request: \"GET /device/device=1/debug=yes/ HTTP/1.1\", upstream: \"fastcgi://unix:/var/run/php5-fpm.sock:\", host: \"XX.XX.XX.XX\"\r\n2015/10/02 10:38:22 [error] 7059#0: *156 FastCGI sent in stderr: \"PHP message: PHP Notice:  Undefined index: PATH_TRANSLATED in /var/www/librenms/html/index.php on line 16\r\nPHP message: PHP Notice:  Undefined index: ORIG_SCRIPT_FILENAME in /var/www/librenms/html/index.php on line 16\" while reading response header from upstream, client: YY.YY.YY.YY, server: XX.XX.XX.XX, request: \"GET / HTTP/1.1\", upstream: \"fastcgi://unix:/var/run/php5-fpm.sock:\", host: \"XX.XX.XX.XX\", referrer: \"http://XX.XX.XX.XX/device/device=1/debug=yes/\"\r\n2015/10/02 10:39:03 [error] 7059#0: *156 FastCGI sent in stderr: \"PHP message: PHP Notice:  Undefined index: PATH_TRANSLATED in /var/www/librenms/html/index.php on line 16\r\nPHP message: PHP Notice:  Undefined index: ORIG_SCRIPT_FILENAME in /var/www/librenms/html/index.php on line 16\" while reading response header from upstream, client: YY.YY.YY.YY, server: XX.XX.XX.XX, request: \"GET /graphs/to=1443796500/device=1/type=device_bits/from=1443710100/legend=no/debug=yes/ HTTP/1.1\", upstream: \"fastcgi://unix:/var/run/php5-fpm.sock:\", host: \"XX.XX.XX.XX\"\r\n2015/10/02 10:39:03 [error] 7059#0: *156 FastCGI sent in stderr: \"PHP message: PHP Notice:  Undefined index: PATH_TRANSLATED in /var/www/librenms/html/index.php on line 16\r\nPHP message: PHP Notice:  Undefined index: ORIG_SCRIPT_FILENAME in /var/www/librenms/html/index.php on line 16\" while reading response header from upstream, client: YY.YY.YY.YY, server: XX.XX.XX.XX, request: \"GET / HTTP/1.1\", upstream: \"fastcgi://unix:/var/run/php5-fpm.sock:\", host: \"XX.XX.XX.XX\", referrer: \"http://XX.XX.XX.XX/graphs/to=1443796500/device=1/type=device_bits/from=1443710100/legend=no/debug=yes/\"\r\n```"},"comment":{"url":"https://api.github.com/repos/librenms/librenms/issues/comments/146324713","html_url":"https://github.com/librenms/librenms/issues/2045#issuecomment-146324713","issue_url":"https://api.github.com/repos/librenms/librenms/issues/2045","id":146324713,"user":{"login":"laf","id":3941142,"avatar_url":"https://avatars.githubusercontent.com/u/3941142?v=3","gravatar_id":"","url":"https://api.github.com/users/laf","html_url":"https://github.com/laf","followers_url":"https://api.github.com/users/laf/followers","following_url":"https://api.github.com/users/laf/following{/other_user}","gists_url":"https://api.github.com/users/laf/gists{/gist_id}","starred_url":"https://api.github.com/users/laf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laf/subscriptions","organizations_url":"https://api.github.com/users/laf/orgs","repos_url":"https://api.github.com/users/laf/repos","events_url":"https://api.github.com/users/laf/events{/privacy}","received_events_url":"https://api.github.com/users/laf/received_events","type":"User","site_admin":false},"created_at":"2015-10-07T20:53:31Z","updated_at":"2015-10-07T20:53:31Z","body":"@loganmarchione That output works for me. Can you run the rrdtool graph command in a shell and see what the output is please."}}