{"action":"created","issue":{"url":"https://api.github.com/repos/mkellsy/homebridge-config-ui/issues/19","repository_url":"https://api.github.com/repos/mkellsy/homebridge-config-ui","labels_url":"https://api.github.com/repos/mkellsy/homebridge-config-ui/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/mkellsy/homebridge-config-ui/issues/19/comments","events_url":"https://api.github.com/repos/mkellsy/homebridge-config-ui/issues/19/events","html_url":"https://github.com/mkellsy/homebridge-config-ui/issues/19","id":251491691,"number":19,"title":"Cannot access Configuration","user":{"login":"SWEiNSANE","id":28483297,"avatar_url":"https://avatars2.githubusercontent.com/u/28483297?v=4","gravatar_id":"","url":"https://api.github.com/users/SWEiNSANE","html_url":"https://github.com/SWEiNSANE","followers_url":"https://api.github.com/users/SWEiNSANE/followers","following_url":"https://api.github.com/users/SWEiNSANE/following{/other_user}","gists_url":"https://api.github.com/users/SWEiNSANE/gists{/gist_id}","starred_url":"https://api.github.com/users/SWEiNSANE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SWEiNSANE/subscriptions","organizations_url":"https://api.github.com/users/SWEiNSANE/orgs","repos_url":"https://api.github.com/users/SWEiNSANE/repos","events_url":"https://api.github.com/users/SWEiNSANE/events{/privacy}","received_events_url":"https://api.github.com/users/SWEiNSANE/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-08-20T14:26:07Z","updated_at":"2017-08-20T14:33:20Z","closed_at":null,"body":"Hi,\r\n\r\nFirst of all I just want to say that I really like your application.\r\n\r\nI cannot access Configuration since this error message appears:\r\n_TypeError: Cannot read property 'length' of undefined\r\n    at write (/usr/lib/node_modules/homebridge-config-ui/routes/config.js:115:43)\r\n    at /usr/lib/node_modules/homebridge-config-ui/routes/config.js:13:5\r\n    at Layer.handle [as handle_request] (/usr/lib/node_modules/homebridge-config-ui/node_modules/express/lib/router/layer.js:95:5)\r\n    at next (/usr/lib/node_modules/homebridge-config-ui/node_modules/express/lib/router/route.js:137:13)\r\n    at /usr/lib/node_modules/homebridge-config-ui/routes/config.js:7:9\r\n    at Layer.handle [as handle_request] (/usr/lib/node_modules/homebridge-config-ui/node_modules/express/lib/router/layer.js:95:5)\r\n    at next (/usr/lib/node_modules/homebridge-config-ui/node_modules/express/lib/router/route.js:137:13)\r\n    at Route.dispatch (/usr/lib/node_modules/homebridge-config-ui/node_modules/express/lib/router/route.js:112:3)\r\n    at Layer.handle [as handle_request] (/usr/lib/node_modules/homebridge-config-ui/node_modules/express/lib/router/layer.js:95:5)\r\n    at /usr/lib/node_modules/homebridge-config-ui/node_modules/express/lib/router/index.js:281:22\r\n    at Function.process_params (/usr/lib/node_modules/homebridge-config-ui/node_modules/express/lib/router/index.js:335:12)\r\n    at next (/usr/lib/node_modules/homebridge-config-ui/node_modules/express/lib/router/index.js:275:10)\r\n    at Function.handle (/usr/lib/node_modules/homebridge-config-ui/node_modules/express/lib/router/index.js:174:3)\r\n    at router (/usr/lib/node_modules/homebridge-config-ui/node_modules/express/lib/router/index.js:47:12)\r\n    at Layer.handle [as handle_request] (/usr/lib/node_modules/homebridge-config-ui/node_modules/express/lib/router/layer.js:95:5)\r\n    at trim_prefix (/usr/lib/node_modules/homebridge-config-ui/node_modules/express/lib/router/index.js:317:13)_\r\n\r\nPerhaps an permission error? I can't access the /var/log/daemon.log since I'm not logging until I ran \r\nsudo chmod -R 0777 /var/log/daemon.log - should even that be necessary?! My user pi isn't part of the adm group I believe?!\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mkellsy/homebridge-config-ui/issues/comments/323588756","html_url":"https://github.com/mkellsy/homebridge-config-ui/issues/19#issuecomment-323588756","issue_url":"https://api.github.com/repos/mkellsy/homebridge-config-ui/issues/19","id":323588756,"user":{"login":"SWEiNSANE","id":28483297,"avatar_url":"https://avatars2.githubusercontent.com/u/28483297?v=4","gravatar_id":"","url":"https://api.github.com/users/SWEiNSANE","html_url":"https://github.com/SWEiNSANE","followers_url":"https://api.github.com/users/SWEiNSANE/followers","following_url":"https://api.github.com/users/SWEiNSANE/following{/other_user}","gists_url":"https://api.github.com/users/SWEiNSANE/gists{/gist_id}","starred_url":"https://api.github.com/users/SWEiNSANE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SWEiNSANE/subscriptions","organizations_url":"https://api.github.com/users/SWEiNSANE/orgs","repos_url":"https://api.github.com/users/SWEiNSANE/repos","events_url":"https://api.github.com/users/SWEiNSANE/events{/privacy}","received_events_url":"https://api.github.com/users/SWEiNSANE/received_events","type":"User","site_admin":false},"created_at":"2017-08-20T14:33:20Z","updated_at":"2017-08-20T14:33:20Z","body":"I replaced tokens and keys with another texts:\r\n{\r\n\t\"bridge\": {\r\n\t\t\"name\": \"HomebridgeHumlegatan\",\r\n\t\t\"username\": \"aa:bb:bb:dd:ee:ff\",\r\n\t\t\"port\": 12345,\r\n\t\t\"pin\": \"111-11-11\"\r\n\t},\r\n\t\"description\": \"Telldus plugin\",\r\n\t\"platforms\": [{\r\n\t\t\"platform\": \"Telldus\",\r\n\t\t\"name\": \"Telldus Liv!e\",\r\n\t\t\"public_key\": \"PUBLIC_KEY\",\r\n\t\t\"private_key\": \"PRIVATE_KEY\",\r\n\t\t\"token\": \"TOKEN\",\r\n\t\t\"token_secret\": \"TOKEN_SECRET\"\r\n\t}, {\r\n\t\t\"platform\": \"Ikea\",\r\n\t\t\"name\": \"Gateway\",\r\n\t\t\"ip\": \"192.168.1.1\",\r\n\t\t\"psk\": \"psk\"\r\n\t},\r\n\t{\r\n    \t\t\"platform\": \"config\",\r\n    \t\t\"name\": \"Config\",\r\n    \t\t\"port\": 8080,\r\n    \t\t\"log\": \"/var/log/daemon.log\",\r\n    \t\t\"restart\": \"sudo systemctl restart homebridge\"\r\n\t}]\r\n}"}}
{"actor":{"display_login":"SWEiNSANE"}}