Note |
---|
This page is a work in progress. |
Requirements
Ruby 3.2.x and Node.js 20.x are recommended.
...
Install ruby 3.2.x (if needed)
Update gems, and migrate DB
Code Block bundle install --with production --without development test RAILS_ENV=production bundle exec rake db:migrate
Install node.js 20.x (if needed)
Update JS dependencies
Code Block yarn install # in Avalon root dir
Update configuration, see Config changes above
Restart passenger (if using)
Code Block passenger-config restart-app
Run rake migrations
Code Block RAILS_ENV=production bundle exec rake avalon:migrate:backfill_parent_id RAILS_ENV=production bundle exec rake avalon:migrate:media_object_section_list
For Docker Installations
Warning | ||||
---|---|---|---|---|
Before upgrading an AWS docker install based on
Then load them into an S3 bucket:
See https://github.com/avalonmediasystem/avalon-docker/issues/77 for more discussion on this. If you run into any problems, please reach out on slack or the email list. |
Stop Avalon
Code Block docker-compose down
Update new code from avalon-docker
Code Block git checkout main git pull
Pull new images
Code Block docker-compose pull avalon solr
Check config changes then restart the Avalon containers
Code Block docker-compose up
Run rake migrations (inside avalon container)
Code Block RAILS_ENV=production bundle exec rake avalon:migrate:backfill_parent_id RAILS_ENV=production bundle exec rake avalon:migrate:media_object_section_list
...