{"action":"created","issue":{"url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/issues/60","repository_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks","labels_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/issues/60/comments","events_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/issues/60/events","html_url":"https://github.com/SU-SWS/ansible-playbooks/pull/60","id":364679688,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE4ODA4ODU0","number":60,"title":"Check if site exist fails if Drupal has PHP error or database is empty","user":{"login":"sherakama","id":550602,"node_id":"MDQ6VXNlcjU1MDYwMg==","avatar_url":"https://avatars2.githubusercontent.com/u/550602?v=4","gravatar_id":"","url":"https://api.github.com/users/sherakama","html_url":"https://github.com/sherakama","followers_url":"https://api.github.com/users/sherakama/followers","following_url":"https://api.github.com/users/sherakama/following{/other_user}","gists_url":"https://api.github.com/users/sherakama/gists{/gist_id}","starred_url":"https://api.github.com/users/sherakama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sherakama/subscriptions","organizations_url":"https://api.github.com/users/sherakama/orgs","repos_url":"https://api.github.com/users/sherakama/repos","events_url":"https://api.github.com/users/sherakama/events{/privacy}","received_events_url":"https://api.github.com/users/sherakama/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jbickar","id":821106,"node_id":"MDQ6VXNlcjgyMTEwNg==","avatar_url":"https://avatars3.githubusercontent.com/u/821106?v=4","gravatar_id":"","url":"https://api.github.com/users/jbickar","html_url":"https://github.com/jbickar","followers_url":"https://api.github.com/users/jbickar/followers","following_url":"https://api.github.com/users/jbickar/following{/other_user}","gists_url":"https://api.github.com/users/jbickar/gists{/gist_id}","starred_url":"https://api.github.com/users/jbickar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbickar/subscriptions","organizations_url":"https://api.github.com/users/jbickar/orgs","repos_url":"https://api.github.com/users/jbickar/repos","events_url":"https://api.github.com/users/jbickar/events{/privacy}","received_events_url":"https://api.github.com/users/jbickar/received_events","type":"User","site_admin":false},"assignees":[{"login":"jbickar","id":821106,"node_id":"MDQ6VXNlcjgyMTEwNg==","avatar_url":"https://avatars3.githubusercontent.com/u/821106?v=4","gravatar_id":"","url":"https://api.github.com/users/jbickar","html_url":"https://github.com/jbickar","followers_url":"https://api.github.com/users/jbickar/followers","following_url":"https://api.github.com/users/jbickar/following{/other_user}","gists_url":"https://api.github.com/users/jbickar/gists{/gist_id}","starred_url":"https://api.github.com/users/jbickar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbickar/subscriptions","organizations_url":"https://api.github.com/users/jbickar/orgs","repos_url":"https://api.github.com/users/jbickar/repos","events_url":"https://api.github.com/users/jbickar/events{/privacy}","received_events_url":"https://api.github.com/users/jbickar/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-09-27T22:41:31Z","updated_at":"2018-10-01T20:21:14Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/pulls/60","html_url":"https://github.com/SU-SWS/ansible-playbooks/pull/60","diff_url":"https://github.com/SU-SWS/ansible-playbooks/pull/60.diff","patch_url":"https://github.com/SU-SWS/ansible-playbooks/pull/60.patch"},"body":"# READY FOR REVIEW\r\n\r\n# Summary\r\n- Whenever a site fails to install or if there is a PHP error, the `drush st` check fails to assert that the site exists. When migrating to the ACSF environment we drop the database right away anyhow so no need to bootstrap Drupal. Just check if all the parts are there.\r\n\r\n# Needed By (Date)\r\n- I run into this all the time testing migrations that already exist that have failed.\r\n\r\n# Urgency\r\n- Low\r\n\r\n# Steps to Test\r\n\r\n1. Check out this branch\r\n2. Drop the database on iranianstudies dev (drush @acsf.dev.cardinald7.iranianstudies sql-drop)\r\n3. Run full migration playbook using iranian-studies as your inventory item\r\n4. Truncate the `system` table\r\n5. Run `migration-sync-only-playbook.yml`\r\n\r\n# See Also\r\n- [PR Checklist](https://gist.github.com/sherakama/0ba17601381e3adbe0cad566ad4d80a5)"},"comment":{"url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/issues/comments/426048932","html_url":"https://github.com/SU-SWS/ansible-playbooks/pull/60#issuecomment-426048932","issue_url":"https://api.github.com/repos/SU-SWS/ansible-playbooks/issues/60","id":426048932,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjA0ODkzMg==","user":{"login":"jbickar","id":821106,"node_id":"MDQ6VXNlcjgyMTEwNg==","avatar_url":"https://avatars3.githubusercontent.com/u/821106?v=4","gravatar_id":"","url":"https://api.github.com/users/jbickar","html_url":"https://github.com/jbickar","followers_url":"https://api.github.com/users/jbickar/followers","following_url":"https://api.github.com/users/jbickar/following{/other_user}","gists_url":"https://api.github.com/users/jbickar/gists{/gist_id}","starred_url":"https://api.github.com/users/jbickar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbickar/subscriptions","organizations_url":"https://api.github.com/users/jbickar/orgs","repos_url":"https://api.github.com/users/jbickar/repos","events_url":"https://api.github.com/users/jbickar/events{/privacy}","received_events_url":"https://api.github.com/users/jbickar/received_events","type":"User","site_admin":false},"created_at":"2018-10-01T20:21:14Z","updated_at":"2018-10-01T20:21:14Z","author_association":"CONTRIBUTOR","body":"OK, my added steps (truncate `system` table and run `migration-sync-only-playbook.yml`) fail because I get a fatal error with drush trying to get the public files path. I can see some optimization available there but that is not the topic of this PR."}}
{"actor":{"display_login":"jbickar"}}