Page 1 of 1

Upgrading Subsonic on Ubuntu server - need advice

PostPosted: Mon Feb 03, 2014 4:19 pm
by stim
Hi,

I am a happy subsonic user for the past few months. It is running smoothly from a remote Ubuntu server. I followed an install tutorial similar to this.

Now I wish to upgrade to 4.9 but I'm somewhat nervous as this is my first time. So before I screw anything up I thought I should ask:
Are there any particular issues I should watch for, or can I just install the new version over the old without disturbing my existing settings?

Any advice or pointers would be highly appreciated

Many kind thanks in advance
:)

Re: Upgrading Subsonic on Ubuntu server - need advice

PostPosted: Mon Feb 03, 2014 6:00 pm
by daneren2005
Shut down the service (sudo service subsonic stop), and backup the whole /var/subsonic folder first. I think you only need the /var/subsonic/db to save your settings, but I just do the whole folder just to be safe. That way if anything goes wrong you can restore all your settings and playlists and such.

Re: Upgrading Subsonic on Ubuntu server - need advice

PostPosted: Tue Feb 04, 2014 8:37 am
by stim
Jut the reassurance I needed. Thank you very much.
:)

Re: Upgrading Subsonic on Ubuntu server - need advice

PostPosted: Sat Feb 15, 2014 3:21 pm
by aleza66
Just stopping service, backaping, dont have to delete anything?


Aleza

Re: Upgrading Subsonic on Ubuntu server - need advice

PostPosted: Tue Feb 18, 2014 11:14 am
by stim
Hi,

I just got around to updating to 4.9 on my server. Here's what I did:

1. Stop subsonic
Code: Select all
sudo service subsonic stop


2.Make backup:
Code: Select all
mkdir backups
sudo cp -r /var/subsonic/ /home/stim/backups/subsonic4_8


3.Download subsonic 4.9:
Code: Select all
wget http://downloads.sourceforge.net/project/subsonic/subsonic/4.9/subsonic-4.9.deb


4. Install
Code: Select all
sudo dpkg -i subsonic-4.9.deb

5. Next I referred back to installation reference I used first, paying particular attention to permissions.
http://unlockforus.com/installing-subsonic-music-streamer-in-ubuntu-server-10-04-lts-lucid-lynx-2/

6.Re-check settings, inc ports...
Code: Select all
sudo nano /etc/default/subsonic


7. Re-start subsonic
Code: Select all
sudo service subsonic restart


I encountered one problem at the end and could not connect.
Although I had re-assigned the port, I could still only connect the default port 4040. Until I can find a fix, I stopped the service then restarted with the following command (assuming port 12345)

Code: Select all
sudo subsonic --port=12345


EDIT: Fixed it - it was a permissions issue!

Now everything is working as expected.

Thanks again for the reassurances.

:)