{"action":"created","issue":{"url":"https://api.github.com/repos/Islandora-CLAW/CLAW/issues/727","repository_url":"https://api.github.com/repos/Islandora-CLAW/CLAW","labels_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/issues/727/labels{/name}","comments_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/issues/727/comments","events_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/issues/727/events","html_url":"https://github.com/Islandora-CLAW/CLAW/issues/727","id":260714596,"number":727,"title":"Issue with sync when claw_vagrant virtualbox is accessed via an ip","user":{"login":"Natkeeran","id":1827166,"avatar_url":"https://avatars1.githubusercontent.com/u/1827166?v=4","gravatar_id":"","url":"https://api.github.com/users/Natkeeran","html_url":"https://github.com/Natkeeran","followers_url":"https://api.github.com/users/Natkeeran/followers","following_url":"https://api.github.com/users/Natkeeran/following{/other_user}","gists_url":"https://api.github.com/users/Natkeeran/gists{/gist_id}","starred_url":"https://api.github.com/users/Natkeeran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Natkeeran/subscriptions","organizations_url":"https://api.github.com/users/Natkeeran/orgs","repos_url":"https://api.github.com/users/Natkeeran/repos","events_url":"https://api.github.com/users/Natkeeran/events{/privacy}","received_events_url":"https://api.github.com/users/Natkeeran/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-09-26T17:56:58Z","updated_at":"2017-11-27T16:47:13Z","closed_at":null,"author_association":"COLLABORATOR","body":"In local testing/development workflow, we often access virtualbox over an ip.  Instead of NAT, we use the Bridge adapter.  More info about this setup [here](http://digitalscholarship.utsc.utoronto.ca/content/blogs/let-others-access-your-islandora-vm).  This setup does not change the network naming of the vagrant.  It disables port forwarding, however all needed ports are accessible over the network.\r\n\r\nWhen using this setup, fedora is failing to sync.  Tracing back on this issue showed that Gemini db is not being populated.  \r\n\r\n@whikloj and @ajs6f troubleshooted this issue.  \r\n\r\nThe issue seem to be that $path received here: https://github.com/Islandora-CLAW/Crayfish/blob/master/Milliner/src/Converter/DrupalEntityConverter.php#L55 seems to be incorrect.  The path is `8000/node/nid` instead of `node/nid`.  **Removing that 8000 resolves this issue (`$path = substr($path, 4);`).  However it is not clear where the 8000 is coming from.**\r\n\r\n@whikloj suggested the issue might be in Alpaca (https://github.com/Islandora-CLAW/Alpaca/blob/master/islandora-indexing-fcrepo/src/main/java/ca/islandora/alpaca/indexing/fcrepo/FcrepoIndexer.java#L84 or https://github.com/Islandora-CLAW/Alpaca/blob/master/islandora-indexing-fcrepo/src/main/java/ca/islandora/alpaca/indexing/fcrepo/FcrepoIndexerBean.java#L131-L151).\r\n\r\nThis might be a general issue if CLAW gets deployed into an actual machine.\r\n\r\nWe need to add more logging in Alpaca to troubleshoot this issue.  "},"comment":{"url":"https://api.github.com/repos/Islandora-CLAW/CLAW/issues/comments/347243792","html_url":"https://github.com/Islandora-CLAW/CLAW/issues/727#issuecomment-347243792","issue_url":"https://api.github.com/repos/Islandora-CLAW/CLAW/issues/727","id":347243792,"user":{"login":"Natkeeran","id":1827166,"avatar_url":"https://avatars1.githubusercontent.com/u/1827166?v=4","gravatar_id":"","url":"https://api.github.com/users/Natkeeran","html_url":"https://github.com/Natkeeran","followers_url":"https://api.github.com/users/Natkeeran/followers","following_url":"https://api.github.com/users/Natkeeran/following{/other_user}","gists_url":"https://api.github.com/users/Natkeeran/gists{/gist_id}","starred_url":"https://api.github.com/users/Natkeeran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Natkeeran/subscriptions","organizations_url":"https://api.github.com/users/Natkeeran/orgs","repos_url":"https://api.github.com/users/Natkeeran/repos","events_url":"https://api.github.com/users/Natkeeran/events{/privacy}","received_events_url":"https://api.github.com/users/Natkeeran/received_events","type":"User","site_admin":false},"created_at":"2017-11-27T16:47:13Z","updated_at":"2017-11-27T16:47:13Z","author_association":"COLLABORATOR","body":"@whikloj @dannylamb \r\nThis issue can be closed.  Looks like merging 640 and recent changes has addressed this issue.  Tested in claw-playbook."}}
{"actor":{"display_login":"Natkeeran"}}