-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drupal URIs for files migrated from 7.x are not being populated correctly #1418
Comments
Did you trigger the migration using Drush or the WebUI? If using Drush, did you include the |
Same behavior with both, but I'll try the |
@seth-shaw-unlv that appears to have fixed the 'default' (full command:
and things aren't 404ing any more. It's right there in the docs, sorry I didn't read them more carefully 😄 Is there a way to add that option if initiating a migration via the GUI? |
🤷♂️. I stopped using the WebUI long ago. I thought it did it for you automatically but maybe there is a Drupal config thing going on. |
I'll confirm that. |
OK, I'm losing it. Running the Islandora Media migration from the GUI is not triggering the other migrations, as it's supposed to (and as it did on this VM two days ago). I'll look into why that's not working. |
Files migrated from 7.x are not getting the correct Drupal or Fedora URIs in Gemini. I'm migrating to an 8.x Islandora at 192.168.50.111:8000 from a 7.x whose Fedora is at 192.168.50.128:8080. Here is the Gemini record for a file that is 404ing when I view its migrated media in 8.x at http://192.168.50.111:8000/media/289 (404ing URL to file is http://192.168.50.111:8000/_flysystem/fedora/sundaytest_7_OBJ.jpg):
Looks like two things are happening:
The 'default' problem has come up before, in #1014.
As far as I can tell, the files are not ending up in Fedora at all. 7.x objects are being migrated as expected (http://192.168.50.111:8080/fcrepo/rest/83/f6/57/3c/83f6573c-1868-4e4b-a5b5-f9832802c060 results in a 404). My
migrate_plus.migration.islandora_media.yml
andmigrate_plus.migration.islandora_files.yml
files usefedora_base_url: 'http://192.168.50.128:8080/fedora'
. My Islandora settings atadmin/config/islandora/core
show the Fedora URL value is "http://127.0.0.1:8080/fcrepo/rest/", which may explain the value in thefedora_uri
field in Gemini, but it turns out that field in the settings config form is read only ('#attributes' => ['readonly' => 'readonly']
) so I can't confirm that 😭The text was updated successfully, but these errors were encountered: