Upgrade fails from 4.6 beta2 to 4.6 final on CentOS

Need help? Post your questions here.

Moderator: moderators

Upgrade fails from 4.6 beta2 to 4.6 final on CentOS

Postby Tanner Williamson » Fri Jan 27, 2012 4:40 pm

I am unable to upgrade from Subsonic 4.6beta2 to 4.6 final.

CentOS 6.2 x86_64.

Currently running:
Version 4.6.beta2 (build 2567) – November 16, 2011
Server jetty-6.1.x, java 1.6.0_22, Linux (41.8 MB / 88.3 MB)

I have downloaded the 4.6final

Code: Select all
[user@computer tmp2]# service subsonic stop
Stopping subsonic ...                                      [  OK  ]
[user@computer tmp2]# rpm -Uvh subsonic-4.6.rpm
Preparing...                ########################################### [100%]
        package subsonic-4.6.beta2-2567.i386 (which is newer than subsonic-4.6-2585.i386) is already installed


The above statement seems incorrect. It is suggesting that 4.6.beta2 build 2567 is more recent than 2585, the final build of 4.6.

I've tried re-downloading from a different mirror the 4.6 final installer for Redhat/Fedora, and I've also tried rebooting the OS then stopping subsonic, and tried installing after that, but still the same problem.
Tanner Williamson https://www.tannerwilliamson.com/

Image
Tanner Williamson
 
Posts: 51
Joined: Mon Dec 14, 2009 7:30 am

Re: Upgrade fails from 4.6 beta2 to 4.6 final on CentOS

Postby ytechie » Fri Jan 27, 2012 6:37 pm

I know I've read about this problem before. I think it has something to do with the build number not being correct in the build file.

In your current installation, go to [subsonic]/jetty/[build]/webapp/WEB-INF/classes.

Check out the files build_date.txt and build_number.txt.
User avatar
ytechie
 
Posts: 547
Joined: Sun Dec 12, 2010 5:05 am
Location: Manhattan, New York

Re: Upgrade fails from 4.6 beta2 to 4.6 final on CentOS

Postby Tanner Williamson » Fri Jan 27, 2012 6:56 pm

build_date.txt: 20111116
build_number.txt: 2567
This also matches the parent folder:
Code: Select all
# pwd
/var/subsonic/jetty/2567/webapp/WEB-INF/classes
Tanner Williamson https://www.tannerwilliamson.com/

Image
Tanner Williamson
 
Posts: 51
Joined: Mon Dec 14, 2009 7:30 am

Re: Upgrade fails from 4.6 beta2 to 4.6 final on CentOS

Postby ytechie » Fri Jan 27, 2012 7:31 pm

What you could do is stop the subsonic service, copy the db folder, remove subsonic, install the upgrade, and replace the db folder.

That should keep all of your settings and information. Unless the data structure is different between the versions.
User avatar
ytechie
 
Posts: 547
Joined: Sun Dec 12, 2010 5:05 am
Location: Manhattan, New York

Re: Upgrade fails from 4.6 beta2 to 4.6 final on CentOS

Postby Tanner Williamson » Fri Jan 27, 2012 7:35 pm

I bet that will work. I'll give it a shot. Seeing as it's a minor version and between a beta and a final, I don't anticipate any database structure changes.
Tanner Williamson https://www.tannerwilliamson.com/

Image
Tanner Williamson
 
Posts: 51
Joined: Mon Dec 14, 2009 7:30 am

Re: Upgrade fails from 4.6 beta2 to 4.6 final on CentOS

Postby ytechie » Fri Jan 27, 2012 7:46 pm

Either way, if it doesn't work, just reinstall the beta and move the db back where it came from.
User avatar
ytechie
 
Posts: 547
Joined: Sun Dec 12, 2010 5:05 am
Location: Manhattan, New York


Return to Help

Who is online

Users browsing this forum: No registered users and 24 guests