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 setting | New setting | Note |
---|
| supplemental_files:
proxy: false
waveform:
player_width: 1200 #pixels
finest_zoom: 5 #seconds
sample_rate: 41000
| - Whether to
send_data or redirect_to blob
|
Upgrade Steps
- 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
Code Block |
---|
|
bundle install --with production --without development test
RAILS_ENV=production bundle exec rake db:migrate |
3. Update JS dependencies
Code Block |
---|
|
yarn install # in Avalon root dir |
4. Update configuration, see Config changes above
5. Restart passenger (if using)
Code Block |
---|
|
passenger-config restart-app |
For Docker Installations
Update new code from avalon-docker
Code Block |
---|
|
git checkout master
git pull |
Pull or Rebuild Avalon container.
Code Block |
---|
|
docker-compose pull avalon
# or docker-compose build --no-cache avalon |
Check config changes then replace the Avalon containers
Code Block |
---|
|
docker-compose up avalon worker |