Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

See What's New in Avalon 6.1 for more details.

Upgrade to using Database-backed Noid ID Minter

Avalon 6.1 switched to using a database-backed noid id minter by default since it is more robust and recommended by the active_fedora-noid gem.

Set up the DB for minter state

 

bundle exec rake db:migrate

Backup your minter state file (default location is /tmp/minter-state). Skip if you do not have one.

cp /tmp/minter-state /tmp/minter-state.bak
bundle exec rake active_fedora:noid:migrate:yaml_to_marshal
bundle exec rake active_fedora:noid:file_to_database
# Remove the minter state file
rm /tmp/minter-state

If the following command runs without any output then it was successful

bundle exec rails r "MediaObject.new.assign_id"

Post-Upgrade steps

# Add a Fedora4 record identifier to existing MODS record
bundle exec rake avalon:migrate:record_identifier
  • No labels