Work in progress. Don't do this!! Avalon v.4.0 Hasn't been released yet.
Preparing for the Upgrade
Before doing anything to prepare for the upgrade, backup your Avalon 3.3 installation.
streaming: server: :generic content_path: /var/avalon/rtmp_streams stream_token_ttl: 20 rtmp_base: rtmp://mallorn.dlib.indiana.edulocalhost/avalon http_base: http://mallorn.dlib.indiana.edu/avalonlocalhost/streams
See What's New in Avalon 4.0 for more details.
The following instructions will work for any Avalon 3.3 installation that used Puppet as its source. This includes the portable VM Image Installation, the Vagrant Virtual Machine Installation, and the Manual Installation of Avalon Using 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.
- Open a terminal window from within the VM console, and type
su rootto become the root user. This will require the root password you provided the first time the system was booted.
- Vagrant virtual machine:
From within the original installer directory (from step 4 of the Vagrant Virtual Machine Image Installation Instructions), type
vagrant sshto log in as the vagrant user, then type
sudo -ito become the root user.
- Manual Puppet installed machine:
Log in and become root as you did in steps 1 and 2 of the Manual Installation of Avalon Using Puppet Install instructions.
Once you have a root prompt, proceed with the upgrade as follows:
# 1. Stop Red5 $ service red5 stop # 2. Switch to red5 directory $ cd /usr/local/red5 # 3. Install updated avalon webapp $ cd webapps/avalon $ wget --no-check-certificate https://raw.githubusercontent.com/avalonmediasystem/avalon-red5/master/webapps/avalon/WEB-INF/lib/red5-avalon.jar -O WEB-INF/lib/red5-avalon.jar $ wget --no-check-certificate https://raw.githubusercontent.com/avalonmediasystem/avalon-red5/master/webapps/avalon/WEB-INF/red5-web.properties -O WEB-INF/red5-web.properties $ wget --no-check-certificate https://raw.githubusercontent.com/avalonmediasystem/avalon-red5/master/webapps/avalon/WEB-INF/red5-web.xml -O WEB-INF/red5-web.xml $ wget --no-check-certificate https://raw.githubusercontent.com/avalonmediasystem/avalon-red5/master/webapps/avalon/META-INF/MANIFEST.MF -O META-INF/MANIFEST.MF $ chmod -R a+x META-INF WEB-INF # 4.Configure serverUrl to point to localhost $ perl -pi -e 's/#avalon\.serverUrl=http:\/\/www\.example\.edu\/avalon\//avalon\.serverUrl=http:\/\/localhost/' WEB-INF/red5-web.properties # 5. Restart Red5 $ service red5 start
Restart Delayed Job
See details here: Restart Delayed Job
Update AMS (if relevant)
If you are using Adobe Media Server for your streaming server, see Upgrading Updating AMS for Avalon 4.0.
If you didn't load the sample content before, try it out to test your avalon 4.0 upgrade.