-
Notifications
You must be signed in to change notification settings - Fork 3
How to Reset Solr & Fedora
Glen Horton edited this page Jan 28, 2019
·
1 revision
Do the following steps in order (In the ucrate root directory):
- Clean Solr
solr_wrapper -d solr/config/ --collection_name hydra-development clean
solr_wrapper -d solr/config/ --collection_name hydra-test clean
- Start Solr
solr_wrapper -d solr/config/ --collection_name hydra-development
- Remove the fedora directory
rm -r tmp/fcrepo4-development-data/
- Start Fedora
fcrepo_wrapper -p 8984
- Note: You may need to run the following commands in the rails console (
rails console
)
AdminSet.find('admin_set/default').delete
ActiveFedora::Base.eradicate('admin_set/default')
- Create the default Admin Set (may need to run twice)
bin/rails hyrax:default_admin_set:create
- Create default collection types
bundle exec rails hyrax:default_collection_types:create