Upgrading Subsonic on Ubuntu server - need advice

Need help? Post your questions here.

Moderator: moderators

Upgrading Subsonic on Ubuntu server - need advice

Postby stim » Mon Feb 03, 2014 4:19 pm

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
:)
stim
 
Posts: 8
Joined: Mon Oct 14, 2013 1:03 pm

Re: Upgrading Subsonic on Ubuntu server - need advice

Postby daneren2005 » Mon Feb 03, 2014 6:00 pm

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.
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: Upgrading Subsonic on Ubuntu server - need advice

Postby stim » Tue Feb 04, 2014 8:37 am

Jut the reassurance I needed. Thank you very much.
:)
stim
 
Posts: 8
Joined: Mon Oct 14, 2013 1:03 pm

Re: Upgrading Subsonic on Ubuntu server - need advice

Postby aleza66 » Sat Feb 15, 2014 3:21 pm

Just stopping service, backaping, dont have to delete anything?


Aleza
aleza66
 
Posts: 3
Joined: Fri Mar 22, 2013 3:23 pm

Re: Upgrading Subsonic on Ubuntu server - need advice

Postby stim » Tue Feb 18, 2014 11:14 am

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.

:)
stim
 
Posts: 8
Joined: Mon Oct 14, 2013 1:03 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 112 guests