Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Warning

Work in progress. To be changed


See the Avalon 7.1 release notes for more information.

Requirements

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

Anchor
configchanges
configchanges
Config changes

Old settingNew settingNote


supplemental_files:
  proxy: false


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

  • Whether to send_data or redirect_to blob


  • Config waveform data

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
Code Block
languagebash
bundle install --with production --without development test
RAILS_ENV=production bundle exec rake db:migrate

3. Update JS dependencies

Code Block
languagebash
yarn install # in Avalon root dir

4. Update configuration, see Config changes above

5. Restart passenger (if using)

Code Block
languagebash
passenger-config restart-app

For Docker Installations

Update new code from avalon-docker

Code Block
languagebash
git checkout master
git pull

Pull or Rebuild Avalon container. 

Code Block
languagebash
docker-compose pull avalon
# or docker-compose build --no-cache avalon

Check config changes then replace the Avalon containers

Code Block
languagebash
docker-compose up avalon worker