Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 

See What's New in Avalon 5.0 for more details.

...

Code Block
languagebash
titleUpgrade Avalon
# 1. Upgrade ruby version to 2.2.5
$ rvm install 2.2.5
$ rvm use 2.2.5
$ yum update  

# 2. 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

# make3. sureensure avalon-_files directory has RPM-GPG-KEY-avalon and ffmpeg 
$ ln -s $INSTALL_DIR/avalon-installer-flat/files /ls /etc/puppet/avalon_files

# 34. navigate to the installer
$ cd avalon-installer-flat

# 45. remove the Avalon deploy tag
$ rm -f /var/www/avalon/bare-deploy
$ rm -rf /opt/staging/avalon/avalon-bare-deploy.tar.gz /opt/staging/avalon/avalon-bare-deploy
 
# 56. apply the puppet manifest
$ puppet apply --fileserverconfig=fileserver.conf --modulepath=modules \
	--hiera_config=hiera/hiera.yaml --templatedir=templates manifests/init.pp

# 67. reindex
$ su - avalon -c "cd /var/www/avalon/current; RAILS_ENV='production' bundle exec rake avalon:reindex"

...