Warning |
---|
This is a work in progress in preparation for upcoming Avalon 7 release |
See the Avalon 7.0 Release Notes for more information.
...
Code Block | ||
---|---|---|
| ||
rvm list # Get current ruby version, eg 2.2.1 rvm upgrade 2.2.1 2.5.75 # Installs Ruby 2.5.75 and migrate gemsets, wrappers, aliases and environment files |
Avalon uses ImageMagick to crop the Collection poster
Code Block | ||
---|---|---|
| ||
yum install ImageMagick |
Anchor | ||||
---|---|---|---|---|
|
Old setting | New setting | Note |
---|---|---|
|
| More information |
| Choose which collections to display in the featured and carousel portions of the new homepage. |
Ingest API Authorization changes
Changes were made to the authorization mechanism for the Avalon Ingest API in Avalon 7.0. In previous versions, user sessions authenticated with an API token were granted admin user access. In version 7.0 and later, user sessions authenticated with an API token will be granted the same access as the token's associated user. The means that when upgrading to Avalon 7.0, any API tokens in use must be checked to ensure that their associated users have the necessary permissions to perform API functions.
Upgrade Steps
For Manual Installations
...
Code Block | ||
---|---|---|
| ||
gem install bundler -v 2.0.2
bundle install --with production --without development test
RAILS_ENV=production bundle exec rake db:migrate |
...
3. Copy rightsstatement.org controlled vocabulary from config/controlled_vocabulary.yml.example into config/controlled_vocabulary.yml
4. Update configuration, see Config changes above
5. Restart passenger (if using)
Code Block | ||
---|---|---|
| ||
passenger-config restart-app |
56. Replace Resque with Sidekiq (background jobs processor). Look at our Manual Instructions for more details.
Code Block | ||
---|---|---|
| ||
pkill -f resque RAILS_ENV=production bundle exec sidekiq -d -C config/sidekiq.yml |
...
Code Block | ||
---|---|---|
| ||
docker-compose up avalon worker |