{"action":"created","issue":{"url":"https://api.github.com/repos/JonathanTron/chef-grafana/issues/33","labels_url":"https://api.github.com/repos/JonathanTron/chef-grafana/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/JonathanTron/chef-grafana/issues/33/comments","events_url":"https://api.github.com/repos/JonathanTron/chef-grafana/issues/33/events","html_url":"https://github.com/JonathanTron/chef-grafana/issues/33","id":54079247,"number":33,"title":"nginx setup fails on ubuntu 14.04","user":{"login":"runningman84","id":1699128,"avatar_url":"https://avatars.githubusercontent.com/u/1699128?v=3","gravatar_id":"","url":"https://api.github.com/users/runningman84","html_url":"https://github.com/runningman84","followers_url":"https://api.github.com/users/runningman84/followers","following_url":"https://api.github.com/users/runningman84/following{/other_user}","gists_url":"https://api.github.com/users/runningman84/gists{/gist_id}","starred_url":"https://api.github.com/users/runningman84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runningman84/subscriptions","organizations_url":"https://api.github.com/users/runningman84/orgs","repos_url":"https://api.github.com/users/runningman84/repos","events_url":"https://api.github.com/users/runningman84/events{/privacy}","received_events_url":"https://api.github.com/users/runningman84/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-12T17:06:25Z","updated_at":"2015-01-14T11:55:54Z","closed_at":null,"body":"There seems to be a problem with ubuntu 1404 and your cookbook.\r\n\r\nI have tried some workarround for the pid problem but I still get the adress already in use error.\r\n\r\nThis is my wrapper cookbook:\r\n```\r\n# attributes\r\nif platform == 'ubuntu' && platform_version == '14.04'\r\n override[:nginx][:pid] = '/run/nginx.pid'\r\nend\r\n# recipe\r\ninclude_recipe \"java\"\r\ninclude_recipe \"elasticsearch\"\r\ninclude_recipe \"grafana\"\r\n```\r\n\r\n```\r\nubuntu@ip-10-90-yy-xx:/var/log/nginx$ tail error.log \r\n2015/01/12 16:59:36 [emerg] 31813#0: bind() to 10.90.13.107:80 failed (98: Address already in use)\r\n2015/01/12 16:59:36 [emerg] 31813#0: bind() to 10.90.13.107:80 failed (98: Address already in use)\r\n2015/01/12 16:59:36 [emerg] 31813#0: bind() to 10.90.13.107:80 failed (98: Address already in use)\r\n2015/01/12 16:59:36 [emerg] 31813#0: bind() to 10.90.13.107:80 failed (98: Address already in use)\r\n2015/01/12 16:59:36 [emerg] 31813#0: bind() to 10.90.13.107:80 failed (98: Address already in use)\r\n2015/01/12 16:59:36 [emerg] 31813#0: still could not bind()\r\nubuntu@ip-10-90-13-107:/var/log/nginx$ tail i-59da03bf.access.log \r\nubuntu@ip-10-90-13-107:/var/log/nginx$ curl localhost\r\n<!DOCTYPE html>\r\n<html>\r\n<head>\r\n<title>Welcome to nginx!</title>\r\n<style>\r\n    body {\r\n        width: 35em;\r\n        margin: 0 auto;\r\n        font-family: Tahoma, Verdana, Arial, sans-serif;\r\n    }\r\n</style>\r\n</head>\r\n<body>\r\n<h1>Welcome to nginx!</h1>\r\n<p>If you see this page, the nginx web server is successfully installed and\r\nworking. Further configuration is required.</p>\r\n\r\n<p>For online documentation and support please refer to\r\n<a href=\"http://nginx.org/\">nginx.org</a>.<br/>\r\nCommercial support is available at\r\n<a href=\"http://nginx.com/\">nginx.com</a>.</p>\r\n\r\n<p><em>Thank you for using nginx.</em></p>\r\n</body>\r\n</html>\r\n```"},"comment":{"url":"https://api.github.com/repos/JonathanTron/chef-grafana/issues/comments/69906148","html_url":"https://github.com/JonathanTron/chef-grafana/issues/33#issuecomment-69906148","issue_url":"https://api.github.com/repos/JonathanTron/chef-grafana/issues/33","id":69906148,"user":{"login":"runningman84","id":1699128,"avatar_url":"https://avatars.githubusercontent.com/u/1699128?v=3","gravatar_id":"","url":"https://api.github.com/users/runningman84","html_url":"https://github.com/runningman84","followers_url":"https://api.github.com/users/runningman84/followers","following_url":"https://api.github.com/users/runningman84/following{/other_user}","gists_url":"https://api.github.com/users/runningman84/gists{/gist_id}","starred_url":"https://api.github.com/users/runningman84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runningman84/subscriptions","organizations_url":"https://api.github.com/users/runningman84/orgs","repos_url":"https://api.github.com/users/runningman84/repos","events_url":"https://api.github.com/users/runningman84/events{/privacy}","received_events_url":"https://api.github.com/users/runningman84/received_events","type":"User","site_admin":false},"created_at":"2015-01-14T11:55:54Z","updated_at":"2015-01-14T11:55:54Z","body":"Hi Jonathan does it work for you?"}}