Upgrading Avalon 8.1.0 to Avalon 8.1.1
Requirements
Ruby 3.4.x and Node.js 20.x are recommended.
Description
Avalon 8.1.1 is a bugfix release only. No new features or configuration options are included.
Upgrade Steps
For Manual Installations
Install ruby 3.4.x (if needed)
Update gems, and migrate DB
bundle install --with production --without development test RAILS_ENV=production bundle exec rake db:migrateInstall node.js 20.x (if needed)
Update JS dependencies
yarn install # in Avalon root dirUpdate configuration, see Config changes above
Restart passenger (if using)
passenger-config restart-app
For Docker Installations
Stop Avalon
docker-compose downUpdate new code from avalon-docker
git fetch git checkout v8.1.1 git pullPull new images
docker-compose pull avalonCheck config changes then restart the Avalon containers
docker-compose up
You can also build your own image, Docker Buildkit is recommended
docker-compose build avalon
For Terraform installations
These instructions are a work in progress.
Set
avalon_docker_code_branchandavalon_branchinterraform.tfvarsif necessary. (Latest tags arev8.1.1for Avalon andavalon-8.1-aws_minfor avalon-docker.)Perform the upgrade:
terraform apply
You may also see an error when attempting to create an iam user which already exists. If this happens rerunning the terraform apply should resolve the issue and successfully run to completion