There are some steps you can take to make the upgrade and transition to Avalon 3.2 smoother. Before doing anything to prepare for the upgrade, backup your Avalon 3.1 installation.
//TODO Add links to new configuration or feature documentation
See What's New in Avalon 3.1 and the release notes for more details.
The following instructions will work for any Avalon 3.1 installation that used Puppet as its source. This includes the portable VM Image Installation, the Vagrant Virtual Machine Installation, and the Manual Puppet Install.
Upgrading is fairly simple, and must be run as the root user from a bash prompt on the Avalon system. The process for this depends on which kind of installation you have.
su rootto become the root user. This will require the root password you provided the first time the system was booted.
vagrant sshto log in as the vagrant user, then type
sudo -ito become the root user.
Once you have a root prompt, proceed with the upgrade as follows:
# 1. if starting from Portable VM image, download the installer package, unpack, and link it $ wget http://www.avalonmediasystem.org/downloads/avalon-installer-flat.tar.gz -O flat.tar.gz $ tar xzf flat.tar.gz $ export INSTALL_DIR=`pwd` $ ln -s $INSTALL_DIR/avalon-installer-flat/files /etc/puppet/avalon_files # 2. navigate to the installer $ cd avalon-installer-flat # 3. remove the Avalon deploy tag $ rm -f /var/www/avalon/bare-deploy # 4. apply the puppet manifest $ puppet apply --fileserverconfig=fileserver.conf --modulepath=modules \ --hiera_config=hiera/hiera.yaml --templatedir=templates manifests/init.pp # 5. reindex $ su - avalon -c "cd /var/www/avalon/current; RAILS_ENV='production' rake avalon:reindex"
# 1. Switch to matterhorn user $ su - matterhorn $ cd /usr/local/matterhorn # 2. Install updated encoding profiles $ cd ../../etc/encoding $ wget --no-check-certificate https://raw.githubusercontent.com/avalonmediasystem/avalon-felix/1.4.x/etc/encoding/avalon.properties -O avalon.properties
If you didn't load the sample content before, try it out to test your avalon 3.2 upgrade.