{"action":"created","issue":{"url":"https://api.github.com/repos/hassio-addons/addon-influxdb/issues/6","repository_url":"https://api.github.com/repos/hassio-addons/addon-influxdb","labels_url":"https://api.github.com/repos/hassio-addons/addon-influxdb/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/hassio-addons/addon-influxdb/issues/6/comments","events_url":"https://api.github.com/repos/hassio-addons/addon-influxdb/issues/6/events","html_url":"https://github.com/hassio-addons/addon-influxdb/issues/6","id":362336842,"node_id":"MDU6SXNzdWUzNjIzMzY4NDI=","number":6,"title":"InfluxDB Losing Database and Users After Service Restart","user":{"login":"falnemer","id":1190963,"node_id":"MDQ6VXNlcjExOTA5NjM=","avatar_url":"https://avatars0.githubusercontent.com/u/1190963?v=4","gravatar_id":"","url":"https://api.github.com/users/falnemer","html_url":"https://github.com/falnemer","followers_url":"https://api.github.com/users/falnemer/followers","following_url":"https://api.github.com/users/falnemer/following{/other_user}","gists_url":"https://api.github.com/users/falnemer/gists{/gist_id}","starred_url":"https://api.github.com/users/falnemer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/falnemer/subscriptions","organizations_url":"https://api.github.com/users/falnemer/orgs","repos_url":"https://api.github.com/users/falnemer/repos","events_url":"https://api.github.com/users/falnemer/events{/privacy}","received_events_url":"https://api.github.com/users/falnemer/received_events","type":"User","site_admin":false},"labels":[{"id":946048804,"node_id":"MDU6TGFiZWw5NDYwNDg4MDQ=","url":"https://api.github.com/repos/hassio-addons/addon-influxdb/labels/Priority:%20Critical","name":"Priority: Critical","color":"ee0701","default":false},{"id":946049081,"node_id":"MDU6TGFiZWw5NDYwNDkwODE=","url":"https://api.github.com/repos/hassio-addons/addon-influxdb/labels/Status:%20In%20progress","name":"Status: In progress","color":"fbca04","default":false},{"id":946048865,"node_id":"MDU6TGFiZWw5NDYwNDg4NjU=","url":"https://api.github.com/repos/hassio-addons/addon-influxdb/labels/Type:%20Bug","name":"Type: Bug","color":"ee0701","default":false}],"state":"open","locked":false,"assignee":{"login":"frenck","id":195327,"node_id":"MDQ6VXNlcjE5NTMyNw==","avatar_url":"https://avatars0.githubusercontent.com/u/195327?v=4","gravatar_id":"","url":"https://api.github.com/users/frenck","html_url":"https://github.com/frenck","followers_url":"https://api.github.com/users/frenck/followers","following_url":"https://api.github.com/users/frenck/following{/other_user}","gists_url":"https://api.github.com/users/frenck/gists{/gist_id}","starred_url":"https://api.github.com/users/frenck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frenck/subscriptions","organizations_url":"https://api.github.com/users/frenck/orgs","repos_url":"https://api.github.com/users/frenck/repos","events_url":"https://api.github.com/users/frenck/events{/privacy}","received_events_url":"https://api.github.com/users/frenck/received_events","type":"User","site_admin":false},"assignees":[{"login":"frenck","id":195327,"node_id":"MDQ6VXNlcjE5NTMyNw==","avatar_url":"https://avatars0.githubusercontent.com/u/195327?v=4","gravatar_id":"","url":"https://api.github.com/users/frenck","html_url":"https://github.com/frenck","followers_url":"https://api.github.com/users/frenck/followers","following_url":"https://api.github.com/users/frenck/following{/other_user}","gists_url":"https://api.github.com/users/frenck/gists{/gist_id}","starred_url":"https://api.github.com/users/frenck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frenck/subscriptions","organizations_url":"https://api.github.com/users/frenck/orgs","repos_url":"https://api.github.com/users/frenck/repos","events_url":"https://api.github.com/users/frenck/events{/privacy}","received_events_url":"https://api.github.com/users/frenck/received_events","type":"User","site_admin":false}],"milestone":null,"comments":18,"created_at":"2018-09-20T19:40:43Z","updated_at":"2018-09-25T20:55:54Z","closed_at":null,"author_association":"NONE","body":"# Problem/Motivation\r\nWhen I restart my InfluxDB addon service, it would remove the users and databases it created.\r\n\r\n## Expected behavior\r\nI expect my database and users to remain.\r\n\r\n## Actual behavior\r\nThe databses and users are removed\r\n\r\n## Steps to reproduce\r\nWhen I log into Hass.IO and go to the addons, I launch the InfluxDB addon and click the restart service.\r\n\r\nI did hear back from a reddit thread that another user was having this issue. It was due to the config section having `\"auth\": true`\r\n\r\n[Here is the link to the reddit thread/comment](https://www.reddit.com/r/homeassistant/comments/9hayuh/losing_influxdb_when_restarting_hassio_service/e6b8o90)\r\n\r\nHere is my configuration and it now works by changing auth to false:\r\n\r\n{\r\n  \"log_level\": \"info\",\r\n  \"username\": \"##remark##\",\r\n  \"password\": \"##remark##\",\r\n  \"auth\": false,\r\n  \"ssl\": false,\r\n  \"certfile\": \"fullchain.pem\",\r\n  \"keyfile\": \"privkey.pem\",\r\n  \"ipv6\": true\r\n}\r\n\r\n## Proposed changes\r\nUpdate InfluxDB to allow for authentication."},"comment":{"url":"https://api.github.com/repos/hassio-addons/addon-influxdb/issues/comments/424498494","html_url":"https://github.com/hassio-addons/addon-influxdb/issues/6#issuecomment-424498494","issue_url":"https://api.github.com/repos/hassio-addons/addon-influxdb/issues/6","id":424498494,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDQ5ODQ5NA==","user":{"login":"matthew73210","id":19491784,"node_id":"MDQ6VXNlcjE5NDkxNzg0","avatar_url":"https://avatars2.githubusercontent.com/u/19491784?v=4","gravatar_id":"","url":"https://api.github.com/users/matthew73210","html_url":"https://github.com/matthew73210","followers_url":"https://api.github.com/users/matthew73210/followers","following_url":"https://api.github.com/users/matthew73210/following{/other_user}","gists_url":"https://api.github.com/users/matthew73210/gists{/gist_id}","starred_url":"https://api.github.com/users/matthew73210/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthew73210/subscriptions","organizations_url":"https://api.github.com/users/matthew73210/orgs","repos_url":"https://api.github.com/users/matthew73210/repos","events_url":"https://api.github.com/users/matthew73210/events{/privacy}","received_events_url":"https://api.github.com/users/matthew73210/received_events","type":"User","site_admin":false},"created_at":"2018-09-25T20:55:54Z","updated_at":"2018-09-25T20:55:54Z","author_association":"NONE","body":"Did you restart hassio?"}}
{"actor":{"display_login":"matthew73210"}}