Upgrading Avalon 7.0 to Avalon 7.1
See the Avalon 7.1 release notes for more information.
Requirements
Avalon 7.1 and above requires Ruby 2.5 or newer. If you're using RVM, simply run
rvm list # Get current ruby version, eg 2.2.1
rvm upgrade 2.2.1 2.5.5 # Installs Ruby 2.5.5 and migrate gemsets, wrappers, aliases and environment filesOld setting | New setting | Note |
|---|---|---|
|
|
Upgrade Steps
For Manual Installations
Download and deploy new code from the avalon repository.
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 or Rebuild Avalon container.
docker-compose pull avalon
# or docker-compose build --no-cache avalonCheck config changes then replace the Avalon containers
docker-compose up avalon worker