How to upgrade from 3.6 ---> 3.7.1 Beta?

General discussions.

Moderator: moderators

How to upgrade from 3.6 ---> 3.7.1 Beta?

Postby Tobbe » Thu Jun 04, 2009 7:11 am

Hi,

If I use the Standalone Subsonic on my Ubuntu computer and have it installed in /var/subsonic directory. How should I do to install a new version?

I've tried to delete everything in that folder and downloaded 3.7.1 and extracted that to the same directory. Than I start the program and check the version and it's still 3.6. How come?

Thanks for a super application...PayPal in soon on it's way :lol:

//Tobbe
Tobbe
 
Posts: 1
Joined: Thu Jun 04, 2009 7:05 am

Postby WIL » Thu Jun 04, 2009 4:01 pm

I've been lurking about, searching for the answer for this. I would also like to know which is the best way to upgrade Subsonic using Ubuntu. I have 3.6 running without any problems and I'm afraid to mess with it because of my lack of linux experience[though I'm learning!] :oops:
WIL
 
Posts: 17
Joined: Fri May 29, 2009 7:49 pm
Location: Texas, USA

Postby drewkeller » Wed Jun 10, 2009 3:12 am

What worked for me was this.

Based on Installing 3.5.beta2 over 3.4 - not upgrading?
http://forum.subsonic.org/forum/viewtopic.php?t=1291

1. stop the subsonic server.
    The easiest method for me as a Windows user trying to figure out Linux was the bull-in-the-china-closet method.... go into the system monitor and kill all of the java processes that were running (two for me).

    Second easiest was to create a new file and paste the script from the start/stop shell script topic (link below) into it (need to modify the location of the script file referenced in the file for the standalone version), make it executable, and then run it from a terminal.

    I suppose a third option would be to enter the desired command as shown in the script directly into a terminal (hope you like typing).

    There are probably several other ways to do it, most likely more graceful. (If I was doing it on Windows, I would write a vbscript that toggles the status and displays a prompt with the result.... not sure what the linux equiv is.... don't say typing in terminal cuz that ain't equivalent to clickin an icon... maybe a couple extra lines in the given script could generate a prompt and do the toggle logic)

    Simple start/stop shell-script:
    http://forum.subsonic.org/forum/viewtopic.php?t=1546


ok, now for the real stuff.

2. go to /var/subsonic
3. rename jetty folder to something else (jetty_)
4. go to /var/subsonic/standalone
5. extract the files from the downloaded archive (subsonic-3.7.beta1-standalone.tar.gz) into /var/subsonic/standalone
6. execute the subsonic.sh file
7. point your web browser to http://servername:8080

This should keep all of your settings and database which I believe are in the /var/subsonic/db folder.

You can delete the old jetty folder if you're sure you won't need it any more.
drewkeller
 
Posts: 2
Joined: Wed Jun 10, 2009 2:37 am

Postby WIL » Wed Jun 10, 2009 5:58 am

Thanks dk! I thought that I would be able to just drop in the beta update in the same folders, but was unsure about the settings and the database. :D Thanks for your instructions!

Success! After 30 min or so of messing with the permissions, I was able to update/upgrade to the current version. My only problem was trying to get Subsonic to shut down. [Honestly I wasn't able to] So I unzipped and copied the files as instructed and renamed the 'jetty' file. After restarting my system, I could see the new update WITH my settings still intact! Thanks again for the help! :D
WIL
 
Posts: 17
Joined: Fri May 29, 2009 7:49 pm
Location: Texas, USA

Upgrade to 3.7!

Postby WIL » Tue Jun 23, 2009 8:47 pm

:D Many thanks to drewkeller for his instruction :D I was able to update to 3.7 without problems. This is how I did it...

1) Goto /var/subsonic

2) Delete the old "jetty_" folder

Code: Select all
sudo rm -rf jetty_


3) Rename the current "jetty" folder to "jetty_"

Code: Select all
mv jetty jetty_


4) Extract the new packed version to /var/subsonic/standalone

Code: Select all
tar xvfz <<New Subsonic Version>> -C /var/subsonic/standalone


5) Start Subsonic.

Code: Select all
sudo /var/subsonic/standalone/subsonic.sh


6) Rescan media folder after you point your web browser to Subsonic.

Code: Select all
Settings->Search->Update Search Index Now



I know that there are many other ways of doing this but I was able to get it done by doing this. Any help from the Linux Gurus out there to help me streamline my process, would be welcomed! :oops: :wink:
WIL
 
Posts: 17
Joined: Fri May 29, 2009 7:49 pm
Location: Texas, USA

Postby saoirse87 » Sat Sep 05, 2009 1:01 pm

Anybody familiar with updating the WAR version of subsonic from 3.6 to 3.7? I don't wanna lose my user settings and so on.

I'm using OpenSolaris and Apache Tomcat (of course).
saoirse87
 
Posts: 3
Joined: Sat Sep 05, 2009 12:58 pm

Postby saoirse87 » Mon Sep 07, 2009 4:26 pm

I played with it and got it working. Backing up data and web app aren't necessary but I'm paranoid. Here's how to update to 3.7.

Stop Tomcat, backup data and web app, remove subsonic under webapp, drop in new .war, restart tomcat, and access the server by http. Yes; that easy. Yes your library and settings will remain.
saoirse87
 
Posts: 3
Joined: Sat Sep 05, 2009 12:58 pm

Postby Fman99 » Sat Nov 07, 2009 9:07 pm

saoirse87 wrote:I played with it and got it working. Backing up data and web app aren't necessary but I'm paranoid. Here's how to update to 3.7.

Stop Tomcat, backup data and web app, remove subsonic under webapp, drop in new .war, restart tomcat, and access the server by http. Yes; that easy. Yes your library and settings will remain.


This works fine also for updating to 3.8, or at least it did for me on my Debian server. Thanks for the info!
Fman99
 
Posts: 4
Joined: Tue Aug 18, 2009 3:23 am

Postby Fman99 » Fri May 28, 2010 2:11 am

Unfortunately this process did not allow me to upgrade from 3.8 to 3.9, or 4.0 either. I seem to be stuck on 3.8 on my Debian server for now.

Anyone have any ideas as to why that might be?
Fman99
 
Posts: 4
Joined: Tue Aug 18, 2009 3:23 am

Postby Fman99 » Sun Jul 25, 2010 3:10 am

Eh, the answer was replacing the file in /var/lib/tomcat5.5/webapps. I was replacing it in /var/subsonic to no avail.
Fman99
 
Posts: 4
Joined: Tue Aug 18, 2009 3:23 am

hi

Postby anil123 » Wed Sep 08, 2010 7:57 am

a rom for testing everytime something cahnges is not easy...





_______________________________________
cheap dvd for sale
dvd online store
anil123
 
Posts: 1
Joined: Wed Sep 08, 2010 7:47 am


Return to General

Who is online

Users browsing this forum: No registered users and 15 guests