Upgrading Avalon 7.1 to Avalon 7.2
See the Avalon 7.2 release notes for more information.
Requirements
Similar to Avalon 7.1, Ruby 2.5.x is recommended.
Old setting | New setting | Note |
|---|---|---|
|
|
config/storage.yml for where we're storing Supplemental Files
local:
service: Disk
root: /path/to/longterm/storage # Don't use the default Rails rootUpgrade Steps
For Manual Installations
Avalon 7.2 now runs cron jobs inside sidekiq workers. It's important to remove previously generated cronjobs in your crontab
Update gems, and migrate DB
bundle install --with production --without development test
RAILS_ENV=production bundle exec rake db:migrate3. Update JS dependencies
yarn install # in Avalon root dir4. Update configuration, see Config changes above
5. Restart passenger (if using)
passenger-config restart-appFor Docker Installations
Update new code from avalon-docker
git checkout master
git pullPull new Avalon image.
docker-compose pull avalonCheck config changes then replace the Avalon containers
docker-compose up avalon workerYou can also build your own image, Docker Buildkit is recommended
docker-compose build avalon