{"action":"created","issue":{"url":"https://api.github.com/repos/nicolargo/glances/issues/518","labels_url":"https://api.github.com/repos/nicolargo/glances/issues/518/labels{/name}","comments_url":"https://api.github.com/repos/nicolargo/glances/issues/518/comments","events_url":"https://api.github.com/repos/nicolargo/glances/issues/518/events","html_url":"https://github.com/nicolargo/glances/issues/518","id":59230220,"number":518,"title":"CRITICAL: InfluxDB database did not exist","user":{"login":"BarthV","id":1901955,"avatar_url":"https://avatars.githubusercontent.com/u/1901955?v=3","gravatar_id":"","url":"https://api.github.com/users/BarthV","html_url":"https://github.com/BarthV","followers_url":"https://api.github.com/users/BarthV/followers","following_url":"https://api.github.com/users/BarthV/following{/other_user}","gists_url":"https://api.github.com/users/BarthV/gists{/gist_id}","starred_url":"https://api.github.com/users/BarthV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BarthV/subscriptions","organizations_url":"https://api.github.com/users/BarthV/orgs","repos_url":"https://api.github.com/users/BarthV/repos","events_url":"https://api.github.com/users/BarthV/events{/privacy}","received_events_url":"https://api.github.com/users/BarthV/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nicolargo/glances/labels/bug","name":"bug","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/nicolargo/glances/milestones/18","html_url":"https://github.com/nicolargo/glances/milestones/Version%202.4","labels_url":"https://api.github.com/repos/nicolargo/glances/milestones/18/labels","id":958727,"number":18,"title":"Version 2.4","description":"","creator":{"login":"nicolargo","id":776747,"avatar_url":"https://avatars.githubusercontent.com/u/776747?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolargo","html_url":"https://github.com/nicolargo","followers_url":"https://api.github.com/users/nicolargo/followers","following_url":"https://api.github.com/users/nicolargo/following{/other_user}","gists_url":"https://api.github.com/users/nicolargo/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolargo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolargo/subscriptions","organizations_url":"https://api.github.com/users/nicolargo/orgs","repos_url":"https://api.github.com/users/nicolargo/repos","events_url":"https://api.github.com/users/nicolargo/events{/privacy}","received_events_url":"https://api.github.com/users/nicolargo/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":13,"state":"open","created_at":"2015-01-30T19:20:45Z","updated_at":"2015-03-10T20:38:21Z","due_on":"2015-03-30T22:00:00Z","closed_at":null},"comments":4,"created_at":"2015-02-27T12:28:40Z","updated_at":"2015-03-12T09:30:42Z","closed_at":null,"body":"Building from dev branch : \r\n* Ubuntu 14.04.2\r\n* commit 929b832b74ba874d4add74c6478fafab859db998\r\n* Python 2.7.6 (in a venv)\r\n* pip 6.0.8\r\n* InfluxDB 0.8.6\r\n\r\nThe same error occurs when building from v2.3 tag\r\n\r\n```bash\r\n> .venv/bin/pip install -r requirements.txt\r\n> .venv/bin/pip install influxdb #needed since influxdb lib is not in the requierements\r\n> .venv/bin/python setup.py install\r\n[...]\r\nInstalled .venv/lib/python2.7/site-packages/Glances-2.4b0-py2.7.egg\r\nProcessing dependencies for Glances==2.4b0\r\nSearching for psutil==2.2.1\r\nBest match: psutil 2.2.1\r\nAdding psutil 2.2.1 to easy-install.pth file\r\n\r\nUsing .venv/lib/python2.7/site-packages\r\nFinished processing dependencies for Glances==2.4b0\r\n```\r\n\r\n```bash\r\n> .venv/bin/glances --export-influxdb -C influx.conf\r\n.venv/local/lib/python2.7/site-packages/influxdb/client.py:451: FutureWarning: get_database_list is deprecated, and will be removed in future versions. Please use ``InfluxDBClient.get_list_database`` instead.\r\n  FutureWarning)\r\nCRITICAL: InfluxDB database 'glances' did not exist. Please create it\r\n```\r\n\r\nBUT : my db exists :'(\r\n```bash\r\n> influxdb-cli -h dev.influx.acme.org -u root -p root -d glances --pretty\r\nglances> Connecting to http://dev.influx.acme.org:8086/db/glances ...\r\nglances> ✔ ready\r\nglances> list series\r\n┌─────────────────┬─────────────────┬──────┐\r\n│       time      │ sequence_number │ name │\r\n└─────────────────┴─────────────────┴──────┘\r\nQuery took  2 ms\r\n```\r\n\r\nmy influx.conf file :\r\n```\r\n[influxdb]\r\nhost=dev.influx.acme.org\r\nport=8086\r\nuser=root\r\npassword=root\r\ndb=glances\r\n```"},"comment":{"url":"https://api.github.com/repos/nicolargo/glances/issues/comments/78447686","html_url":"https://github.com/nicolargo/glances/issues/518#issuecomment-78447686","issue_url":"https://api.github.com/repos/nicolargo/glances/issues/518","id":78447686,"user":{"login":"asergi","id":325166,"avatar_url":"https://avatars.githubusercontent.com/u/325166?v=3","gravatar_id":"","url":"https://api.github.com/users/asergi","html_url":"https://github.com/asergi","followers_url":"https://api.github.com/users/asergi/followers","following_url":"https://api.github.com/users/asergi/following{/other_user}","gists_url":"https://api.github.com/users/asergi/gists{/gist_id}","starred_url":"https://api.github.com/users/asergi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asergi/subscriptions","organizations_url":"https://api.github.com/users/asergi/orgs","repos_url":"https://api.github.com/users/asergi/repos","events_url":"https://api.github.com/users/asergi/events{/privacy}","received_events_url":"https://api.github.com/users/asergi/received_events","type":"User","site_admin":false},"created_at":"2015-03-12T09:30:42Z","updated_at":"2015-03-12T09:30:42Z","body":"No issue here.\r\n\r\n- InfluxDB v0.8.8 (stable)\r\n- influxdb-python 0.3.1"}}