...
Code Block |
---|
#port 9999 stands for your local mirror of your fedora3.host:8983 import source #if 9999 doesn't work, try another port nearby ssh -L 9999:localhost:8983 user@fedora3.host |
Code Block |
keep the ssh mirror running in another tab as you do the next steps.
Setup config/fedora3.yml in your Avalon 6 app
The fedora3.yml should work without change, but if you do have trouble, here's an example fedora3.yml for the avalon demo server.
Code Block |
---|
development: user: fedoraAdmin password: <password> url: http://localhost:9999/fedora) /fedora test: user: fedoraAdmin password: <password> url: http://pawpaw.dlib.indiana.edu:8983/fedora solruser: solrAdmin solrpassword: <password> solrurl: http://pawpaw.dlib.indiana.edu:8983/solr production: user: fedoraAdmin password: <password> url: http://pawpaw.dlib.indiana.edu:8983/fedora |
Run the migration! You can watch it run on your target avalon by going to <you avalon url>/admin/migration_report
Code Block |
---|
bundle exec rake avalon:migrate:repo
#Review output and fix/rerun it |
After this command is finished, look through the report and see with items have failed and troubleshoot using the errors listed.
Migrate Database Tables
Code Block |
---|
# Run script to map fedora 3 pids in database to newly minted fedora 4 noids bundle exec rake avalon:migrate:db |
development:
user: fedoraAdmin
password: mAlaTenSif
url: http://localhost:9998/fedora
test:
user: fedoraAdmin
password: mAlaTenSif
url: http://pawpaw.dlib.indiana.edu:8983/fedora
solruser: solrAdmin
solrpassword: solrAdmin
solrurl: http://pawpaw.dlib.indiana.edu:8983/solr
production:
user: fedoraAdmin
password: mAlaTenSif
url: http://pawpaw.dlib.indiana.edu:8983/fedora