Skip to content
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

Valkyrize Pals: Run work migration script #110

Open
2 tasks
jillpe opened this issue Aug 5, 2024 · 3 comments
Open
2 tasks

Valkyrize Pals: Run work migration script #110

jillpe opened this issue Aug 5, 2024 · 3 comments
Assignees

Comments

@jillpe
Copy link

jillpe commented Aug 5, 2024

Summary

After the valkyrized app has been deployed to production, we could run a script to migrate records instead of relying on lazy migrations.

"This script allows you to run a lambda on every instance of works, collections, etc in a resumable way. Very useful for migrating from Fedora to Postgres using Valkyrie." - Kiah

ref:

See Kiah for help on with this. He performed this task for GBH.

Tasks

  • Run this on staging
  • Run this on production

NOTES

related to
- scientist-softserv/hykuup_knapsack#238
- scientist-softserv/hykuup_knapsack#214

@kirkkwang
Copy link
Contributor

kirkkwang commented Aug 8, 2024

BLUF: DO NOT RUN MIGRATION SCRIPT

When saving an active fedora collection to migrate it to a valkyrie collection, the thumbnail seems to be retaining. When uploading a new thumbnail, it has to be done now through the branding tab. Do not run the migration, because doing each step seems to have locked one of the records we were testing.

ref:

TODO:

remove the task from hyku

kirkkwang added a commit to samvera/hyku that referenced this issue Aug 8, 2024
We discovered on staging that we don't actually need this because the
collection thumbnails are still presenter after migrating the collection
to a collection resource.

Hyrax::IndexesThumbnailsDecorator#thumbnail_path will handle the
fallback which is why it is working.

Ref:
  - scientist-softserv/palni_palci_knapsack#110
@ShanaLMoore ShanaLMoore changed the title collection migration Run migration script Aug 8, 2024
@ShanaLMoore ShanaLMoore changed the title Run migration script Valkyrize Pals: Run migration script Aug 8, 2024
@laritakr
Copy link
Contributor

laritakr commented Sep 3, 2024

@jillpe jillpe added the blocked other work must be completed first label Sep 3, 2024
@jillpe
Copy link
Author

jillpe commented Sep 3, 2024

Blocked until the imported tenant data is fixed

@jillpe jillpe changed the title Valkyrize Pals: Run migration script Valkyrize Pals: Run work migration script Sep 9, 2024
@ShanaLMoore ShanaLMoore removed the blocked other work must be completed first label Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants