{"action":"created","issue":{"url":"https://api.github.com/repos/titpetric/netdata/issues/39","repository_url":"https://api.github.com/repos/titpetric/netdata","labels_url":"https://api.github.com/repos/titpetric/netdata/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/titpetric/netdata/issues/39/comments","events_url":"https://api.github.com/repos/titpetric/netdata/issues/39/events","html_url":"https://github.com/titpetric/netdata/issues/39","id":203688706,"number":39,"title":"Web interface doesn't work when running as non root user","user":{"login":"romcheck","id":14827105,"avatar_url":"https://avatars1.githubusercontent.com/u/14827105?v=3","gravatar_id":"","url":"https://api.github.com/users/romcheck","html_url":"https://github.com/romcheck","followers_url":"https://api.github.com/users/romcheck/followers","following_url":"https://api.github.com/users/romcheck/following{/other_user}","gists_url":"https://api.github.com/users/romcheck/gists{/gist_id}","starred_url":"https://api.github.com/users/romcheck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romcheck/subscriptions","organizations_url":"https://api.github.com/users/romcheck/orgs","repos_url":"https://api.github.com/users/romcheck/repos","events_url":"https://api.github.com/users/romcheck/events{/privacy}","received_events_url":"https://api.github.com/users/romcheck/received_events","type":"User","site_admin":false},"labels":[{"id":309470514,"url":"https://api.github.com/repos/titpetric/netdata/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-01-27T17:06:21Z","updated_at":"2017-05-26T13:45:30Z","closed_at":null,"body":"I start with env variable -u netdata. So command looks like:\r\n\r\n` netdata -u root -u netdata`\r\n\r\nSome redundancy does not bother me.\r\n\r\nBut web interface shows me:\r\n\r\n`Access to file is not permitted: &#x2F;usr&#x2F;share&#x2F;netdata&#x2F;web&#x2F;`\r\n\r\nIn netdata logs I found this:\r\n\r\n`netdata    | 2017-01-27 18:53:51: netdata: ERROR: 1: File '/usr/share/netdata/web/' is owned by user 0 (expected user 999). Access Denied.`\r\n\r\nNetdata expects owner of web dir is to be netdata user (userid 999).\r\n\r\nI think, solution is to build image as netdata user.\r\n"},"comment":{"url":"https://api.github.com/repos/titpetric/netdata/issues/comments/304286242","html_url":"https://github.com/titpetric/netdata/issues/39#issuecomment-304286242","issue_url":"https://api.github.com/repos/titpetric/netdata/issues/39","id":304286242,"user":{"login":"titpetric","id":233360,"avatar_url":"https://avatars3.githubusercontent.com/u/233360?v=3","gravatar_id":"","url":"https://api.github.com/users/titpetric","html_url":"https://github.com/titpetric","followers_url":"https://api.github.com/users/titpetric/followers","following_url":"https://api.github.com/users/titpetric/following{/other_user}","gists_url":"https://api.github.com/users/titpetric/gists{/gist_id}","starred_url":"https://api.github.com/users/titpetric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/titpetric/subscriptions","organizations_url":"https://api.github.com/users/titpetric/orgs","repos_url":"https://api.github.com/users/titpetric/repos","events_url":"https://api.github.com/users/titpetric/events{/privacy}","received_events_url":"https://api.github.com/users/titpetric/received_events","type":"User","site_admin":false},"created_at":"2017-05-26T13:45:30Z","updated_at":"2017-05-26T13:45:30Z","body":"Hmm, thanks for the additional info. Must be something in the Dockerfile between the two versions, I'll take a look to see what's going on."}}
{"actor":{"display_login":"titpetric"}}