{"action":"created","issue":{"url":"https://api.github.com/repos/sourcegraph/sourcegraph/issues/430","repository_url":"https://api.github.com/repos/sourcegraph/sourcegraph","labels_url":"https://api.github.com/repos/sourcegraph/sourcegraph/issues/430/labels{/name}","comments_url":"https://api.github.com/repos/sourcegraph/sourcegraph/issues/430/comments","events_url":"https://api.github.com/repos/sourcegraph/sourcegraph/issues/430/events","html_url":"https://github.com/sourcegraph/sourcegraph/issues/430","id":370914174,"node_id":"MDU6SXNzdWUzNzA5MTQxNzQ=","number":430,"title":"AWS setup page has syntax error in cloud-init script","user":{"login":"rmccue","id":21655,"node_id":"MDQ6VXNlcjIxNjU1","avatar_url":"https://avatars3.githubusercontent.com/u/21655?v=4","gravatar_id":"","url":"https://api.github.com/users/rmccue","html_url":"https://github.com/rmccue","followers_url":"https://api.github.com/users/rmccue/followers","following_url":"https://api.github.com/users/rmccue/following{/other_user}","gists_url":"https://api.github.com/users/rmccue/gists{/gist_id}","starred_url":"https://api.github.com/users/rmccue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmccue/subscriptions","organizations_url":"https://api.github.com/users/rmccue/orgs","repos_url":"https://api.github.com/users/rmccue/repos","events_url":"https://api.github.com/users/rmccue/events{/privacy}","received_events_url":"https://api.github.com/users/rmccue/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-17T06:16:31Z","updated_at":"2018-10-17T06:18:44Z","closed_at":null,"author_association":"NONE","body":"- **Sourcegraph version:** Sourcegraph.com\r\n- **Platform information:** AWS\r\n\r\nThe [AWS setup page](https://about.sourcegraph.com/docs/deploy/AWS) contains a syntax error in the cloud-init script. The final line looks like:\r\n\r\n```\r\n- [ sh, -c, 'docker run -d --publish 80:7080 --publish 443:7443 --restart unless-stopped --volume /home/ec2-user/.sourcegraph/config:/etc/sourcegraph --volume /home/ec2-user/.sourcegraph/data:/var/opt/sourcegraph --volume /var/run/docker.sock:/var/run/docker.sock sourcegraph/server:2.12.0\r\n```\r\n\r\nThis is presumably missing the trailing `' ]`, and causes a syntax error when starting the machine.\r\n\r\n#### Steps to reproduce:\r\n\r\n1. Copy configuration from AWS page\r\n2. Launch server\r\n\r\n#### Expected behavior:\r\n\r\nMachine should launch.\r\n\r\n#### Actual behavior:\r\n\r\n```\r\n[    8.419574] cloud-init[2224]: Oct 05 14:13:30 cloud-init[2224]: util.py[WARNING]: Failed loading yaml blob. Invalid format at line 15 column 13: \"while scanning a quoted scalar\r\n[    8.419745] cloud-init[2224]: in \"<string>\", line 15, column 13:\r\n[    8.419858] cloud-init[2224]: - [ sh, -c, 'docker run -d --publish 80:7080 ...\r\n[    8.421051] cloud-init[2224]: ^\r\n[    8.422664] cloud-init[2224]: found unexpected end of stream\r\n[    8.423445] cloud-init[2224]: in \"<string>\", line 15, column 290:\r\n[    8.424491] cloud-init[2224]: ... r.sock sourcegraph/server:2.11.2\r\n[    8.424614] cloud-init[2224]: ^\"\r\n[    8.429040] cloud-init[2224]: Oct 05 14:13:30 cloud-init[2224]: util.py[WARNING]: Failed at merging in cloud config part from part-001\r\n```"},"comment":{"url":"https://api.github.com/repos/sourcegraph/sourcegraph/issues/comments/430503417","html_url":"https://github.com/sourcegraph/sourcegraph/issues/430#issuecomment-430503417","issue_url":"https://api.github.com/repos/sourcegraph/sourcegraph/issues/430","id":430503417,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDUwMzQxNw==","user":{"login":"sqs","id":1976,"node_id":"MDQ6VXNlcjE5NzY=","avatar_url":"https://avatars0.githubusercontent.com/u/1976?v=4","gravatar_id":"","url":"https://api.github.com/users/sqs","html_url":"https://github.com/sqs","followers_url":"https://api.github.com/users/sqs/followers","following_url":"https://api.github.com/users/sqs/following{/other_user}","gists_url":"https://api.github.com/users/sqs/gists{/gist_id}","starred_url":"https://api.github.com/users/sqs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sqs/subscriptions","organizations_url":"https://api.github.com/users/sqs/orgs","repos_url":"https://api.github.com/users/sqs/repos","events_url":"https://api.github.com/users/sqs/events{/privacy}","received_events_url":"https://api.github.com/users/sqs/received_events","type":"User","site_admin":false},"created_at":"2018-10-17T06:18:44Z","updated_at":"2018-10-17T06:18:44Z","author_association":"MEMBER","body":"Thank you for reporting this. I am about to push a big overhaul of the docs and will include this fix in it. "}}
{"actor":{"display_login":"sqs"}}