{"action":"created","issue":{"url":"https://api.github.com/repos/meetinghouse/cms/issues/173","labels_url":"https://api.github.com/repos/meetinghouse/cms/issues/173/labels{/name}","comments_url":"https://api.github.com/repos/meetinghouse/cms/issues/173/comments","events_url":"https://api.github.com/repos/meetinghouse/cms/issues/173/events","html_url":"https://github.com/meetinghouse/cms/issues/173","id":97968377,"number":173,"title":"Deploying: One site won't deploy all the code","user":{"login":"meetinghouse","id":5215893,"avatar_url":"https://avatars.githubusercontent.com/u/5215893?v=3","gravatar_id":"","url":"https://api.github.com/users/meetinghouse","html_url":"https://github.com/meetinghouse","followers_url":"https://api.github.com/users/meetinghouse/followers","following_url":"https://api.github.com/users/meetinghouse/following{/other_user}","gists_url":"https://api.github.com/users/meetinghouse/gists{/gist_id}","starred_url":"https://api.github.com/users/meetinghouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meetinghouse/subscriptions","organizations_url":"https://api.github.com/users/meetinghouse/orgs","repos_url":"https://api.github.com/users/meetinghouse/repos","events_url":"https://api.github.com/users/meetinghouse/events{/privacy}","received_events_url":"https://api.github.com/users/meetinghouse/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/meetinghouse/cms/labels/High%20Priority","name":"High Priority","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"meetinghouse","id":5215893,"avatar_url":"https://avatars.githubusercontent.com/u/5215893?v=3","gravatar_id":"","url":"https://api.github.com/users/meetinghouse","html_url":"https://github.com/meetinghouse","followers_url":"https://api.github.com/users/meetinghouse/followers","following_url":"https://api.github.com/users/meetinghouse/following{/other_user}","gists_url":"https://api.github.com/users/meetinghouse/gists{/gist_id}","starred_url":"https://api.github.com/users/meetinghouse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meetinghouse/subscriptions","organizations_url":"https://api.github.com/users/meetinghouse/orgs","repos_url":"https://api.github.com/users/meetinghouse/repos","events_url":"https://api.github.com/users/meetinghouse/events{/privacy}","received_events_url":"https://api.github.com/users/meetinghouse/received_events","type":"User","site_admin":false},"milestone":null,"comments":22,"created_at":"2015-07-29T15:55:07Z","updated_at":"2015-08-29T14:08:26Z","closed_at":null,"body":"I've been going along, happily deploying latest code to all the client websites, when I hit a snag. For the last two sites I tried, Forge gives me the message that \"We were unable to deploy your project to your server (corbettresearchgroup-one,\" and indeed those sites do not appear to have any updates to them.\r\n\r\nThe two sites that have failed thus far are\r\nhighlandrestorationinc.corbettresearchgroup.com\r\nhistoric-architecture.corbettresearchgroup.com\r\n\r\nBefore, though the deployment appeared to be working, I did get the message that the deployments had timed out. It looks to me like they went fine, so I was ignoring this for the present. But now there is this different server alert message and the code doesn't appear to be getting pushed out."},"comment":{"url":"https://api.github.com/repos/meetinghouse/cms/issues/comments/135989173","html_url":"https://github.com/meetinghouse/cms/issues/173#issuecomment-135989173","issue_url":"https://api.github.com/repos/meetinghouse/cms/issues/173","id":135989173,"user":{"login":"acavanagh","id":1994544,"avatar_url":"https://avatars.githubusercontent.com/u/1994544?v=3","gravatar_id":"","url":"https://api.github.com/users/acavanagh","html_url":"https://github.com/acavanagh","followers_url":"https://api.github.com/users/acavanagh/followers","following_url":"https://api.github.com/users/acavanagh/following{/other_user}","gists_url":"https://api.github.com/users/acavanagh/gists{/gist_id}","starred_url":"https://api.github.com/users/acavanagh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acavanagh/subscriptions","organizations_url":"https://api.github.com/users/acavanagh/orgs","repos_url":"https://api.github.com/users/acavanagh/repos","events_url":"https://api.github.com/users/acavanagh/events{/privacy}","received_events_url":"https://api.github.com/users/acavanagh/received_events","type":"User","site_admin":false},"created_at":"2015-08-29T14:08:26Z","updated_at":"2015-08-29T14:08:26Z","body":"Just went over these - the first two had the name in all caps in the deploy\nscript, but the folder on the server is lowercase.  It's a case sensitive\nserver so these didn't match up.  I fixed the deploy script and it works\nnow.  For the bronzedoor one there's a typo in the name of the folder on\nthe server - it's ...corbettresearchgroupcom <- not the lack of a dot\nbefore the 'com'.  I fixed in the deploy script and left a comment so\nyou'll remember.  We could fix it on the server side (probably should) but\nyou'll have to change the vhost for the site and reboot the webserver - Dan\nwill know how to make that work if you want to go that route.  The site\ndeploys fine now, as long as you leave the typo in the deploy script so it\nmatches the folder on the server.\n\n\nOn Fri, Aug 28, 2015 at 10:53 PM Andrew Cavanagh <cavanaghacea@gmail.com>\nwrote:\n\n> Looks good.  I'll check out the three stragglers this weekend, they're\n> probably just old code that needs that last push to get up to speed.\n>\n> On Fri, Aug 28, 2015 at 8:15 PM John M. Corbett <notifications@github.com>\n> wrote:\n>\n>> Very helpful info, thanks. I don't know why historicstructuresdc had old\n>> code. That must have been my screw-up.\n>>\n>> I've removed the composer.lock part from all the client sites' deploy\n>> code, and yes, they are running way faster and not throwing any more\n>> time-outs. That is great! I deployed code to all sites, mostly\n>> successfully, and was able to run three at once (didn't try more -- they\n>> complete fast now, so three is all I'd really be able to fire off at once).\n>>\n>> Three sites still failed (I admit having deleted some of the server\n>> alerts from the list, so you won't see them all. I hope that does not cause\n>> a problem). The three that failed are:\n>> armanirestoration\n>> blackburnrestoration\n>> bronzedoorrestoration\n>>\n>> All others completed fine, as far as I can tell.\n>>\n>> Here is the deploy code I've been using, to clarify the record here in\n>> GitHub if nothing else:\n>>\n>> CUSTOM_NAME=[name]\n>> BRANCH=blog\n>>\n>> date\n>>\n>> cd /home/forge/$CUSTOM_NAME.corbettresearchgroup.com\n>> git checkout -f $BRANCH\n>> git pull origin $BRANCH\n>> composer install\n>> php artisan migrate\n>> bower install\n>>\n>> —\n>> Reply to this email directly or view it on GitHub\n>> <https://github.com/meetinghouse/cms/issues/173#issuecomment-135919950>.\n>>\n>\n"}}