There was no easy tutorial for how to upgrade subsonic on FreeNas, so I figured I would write one while it is still fresh in my memory.
This guide assumes you already have FreeNas installed, and have a previous version of Subsonic installed and working.
Step 1. Download the most recent standalone .rar from: http://www.subsonic.org/pages/download.jsp
Step 2. I used winSCP to copy the downloaded .rar into my FreeNas server
Step 3. SSH into your FreeNas box (I use putty)
Step 4. Go to where you copied the standalone.rar file to
Step 5. Unrar the file to /var/subsonic/standalone:
tar xvzfr standalone.x.x.rar /var/subsonic/standalone/
Step 6. Edit the new subsonic.sh script so it will work:
cd /var/subsonic/standalone
nano subsonic.sh
Step 7. At the top of this file you will want to verify you directories, and also the port you wish to use to access subsonic, then comment out or delete:
cd $(dirname $0)
if [ -e /bin/readlink ] || [ -e /usr/bin/readlink ]; then
cd $(dirname $(readlink -f $0))
fi
Step 8 . in its’ place put:
cd `dirname $0`
Subsonic is now upgraded and should begin working for you.