How to Upgrade subsonic on FreeNas

Tutorials, tips and tricks.

Moderator: moderators

How to Upgrade subsonic on FreeNas

Postby crippledlemming » Thu Dec 16, 2010 6:17 pm

Maybe I am being a noob, but 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 isn't new data, but a combining of different sources of data. I hope it helps!

This guide assumes you already have FreeNas installed, and have a previous version of Subsonic installed and working.

Download the most recent standalone .rar from: http://www.subsonic.org/pages/download.jsp

I used winSCP to copy the downloaded .rar into my FreeNas server

SSH into your FreeNas box (I use putty http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html)

Go to where you copied the standalone.rar file to

Unrar the file to /var/subsonic/standalone:

tar xvzfr standalone.x.x.rar /var/subsonic/standalone/

Edit the new subsonic.sh script so it will work:

cd /var/subsonic/standalone
nano subsonic.sh

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:

Code: Select all
cd $(dirname $0)
if [ -e /bin/readlink ] || [ -e /usr/bin/readlink ]; then
cd $(dirname $(readlink -f $0))
fi


in its' place put:

cd `dirname $0`

Subsonic is now updated and should begin working for you.
crippledlemming
 
Posts: 1
Joined: Thu Dec 16, 2010 6:01 pm

Return to Tutorials

Who is online

Users browsing this forum: No registered users and 4 guests