Upgrading Avalon 7.1 to Avalon 7.2

See the Avalon 7.2 release notes for more information.


Similar to Avalon 7.1, Ruby 2.5.x is recommended.

Config changes

Old settingNew settingNote

  proxy: false

  player_width: 1200 #pixels
  finest_zoom: 5 #seconds
  sample_rate: 41000

  • Whether to send_data or redirect_to blob

  • Config waveform data

config/storage.yml for where we're storing Supplemental Files

  service: Disk
  root: /path/to/longterm/storage # Don't use the default Rails root

Upgrade Steps

For Manual Installations

  1. Avalon 7.2 now runs cron jobs inside sidekiq workers. It's important to remove previously generated cronjobs in your crontab
  2. Update gems, and migrate DB
bundle install --with production --without development test
RAILS_ENV=production bundle exec rake db:migrate

3. Update JS dependencies

yarn install # in Avalon root dir

4. Update configuration, see Config changes above

5. Restart passenger (if using)

passenger-config restart-app

For Docker Installations

Update new code from avalon-docker

git checkout master
git pull

Pull new Avalon image. 

docker-compose pull avalon

Check config changes then replace the Avalon containers

docker-compose up avalon worker

You can also build your own image, Docker Buildkit is recommended

docker-compose build avalon