Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Requirements

Ruby 3.2.x and Node.js 20.x are recommended.

Upgrade Steps

For Manual Installations

  1. Install Ruby 3.2.x 

  2. Update gems, and migrate DB

    bundle install --with production --without development test 
    RAILS_ENV=production bundle exec rake db:migrate
  3. Install node.js 20.x (if needed)

  4. Update JS dependencies

    yarn install # in Avalon root dir
  5. Restart passenger (if using)

    passenger-config restart-app

For Docker Installations

Note: avalon-docker 7.7.0 switches to a bind mount volume for storing Solr data for safer persistence across upgrades.

  1. Stop Avalon

    docker-compose down
  2. Backup solr data using instructions on https://samvera.atlassian.net/wiki/spaces/AVALON/pages/2303328775/Backing+up+and+restoring+supporting+services#Solr

  3. Update new code from avalon-docker

    git checkout main
    git pull
    sudo chmod a+w solr_data
  4. Pull new images

    docker-compose pull avalon solr
  5. Check 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

  • No labels