http error 503 - all my settings have gone?

Need help? Post your questions here.

Moderator: moderators

http error 503 - all my settings have gone?

Postby WildWalker » Sun Feb 14, 2010 11:32 am

Hello All,

I decided to put a larger hard disk in my media server, so I made an image and restored it to my larger disk. Everything works (Vista) except Subsonic, I get an HTTP Error 503. I uninstalled subsonic and reinstalled it, now subsonic is working but as a virgin system.

I tired to copy my backed up db folder to the c:\subsonic folder but once I do this I again get the HTTP Error 503. Do I have to start setting this up from scratch again?

Alan.
If I am more stupid than you, does that make me better at something than you?
WildWalker
 
Posts: 136
Joined: Mon Nov 09, 2009 8:49 am
Location: Portsmouth, England

Postby WildWalker » Sun Feb 14, 2010 11:44 am

I tried copying over the db folder and subsonic.properties but that has not worked :(
If I am more stupid than you, does that make me better at something than you?
WildWalker
 
Posts: 136
Joined: Mon Nov 09, 2009 8:49 am
Location: Portsmouth, England

Postby WildWalker » Sun Feb 14, 2010 12:27 pm

Can someone tell me what the subsonic.script file does?

If I dont copy that file over, i can copy my db, although I still have none of my old settings, the script file looks like a load of SQL commands to rebuild a database.

Any ideas?
If I am more stupid than you, does that make me better at something than you?
WildWalker
 
Posts: 136
Joined: Mon Nov 09, 2009 8:49 am
Location: Portsmouth, England

Postby WildWalker » Fri Feb 19, 2010 9:45 pm

Having lost all my album stats, album art, higest rated etc I am feeling pretty miffed. If I can't get to the bottom of this then I can't have any confidence running Subsonic long term.

Is anyone able to look at my database and tell me if it is corrupted?

Alan.
If I am more stupid than you, does that make me better at something than you?
WildWalker
 
Posts: 136
Joined: Mon Nov 09, 2009 8:49 am
Location: Portsmouth, England

Postby Aethies » Sat Feb 20, 2010 5:05 pm

WildWalker wrote:Having lost all my album stats, album art, higest rated etc I am feeling pretty miffed. If I can't get to the bottom of this then I can't have any confidence running Subsonic long term.

Is anyone able to look at my database and tell me if it is corrupted?

Alan.


I don't run a windows version of it, but in Linux, I have found that you have to have the /var/subsonic dir as well. I could be wrong though.

Sorry, wish I knew more of the Windows side of things, but I just don't run it.
Aethies

Ubuntu Server 12.04
===================
3,281 artists
9,432 albums
113,608 songs
2636.09 GB (10,769 hours)
===================
User avatar
Aethies
 
Posts: 197
Joined: Fri Oct 24, 2008 4:33 pm

Postby flacflac » Sat Feb 20, 2010 5:10 pm

When upgrading you should backup the folder "database" and the subsonic.properties file in the subsonic folder. This should be enough to have your settings and your data carried over to the next installation. Try replacing just those two items and not the whole subsonic folder. I am using a tomcat installation, but I think it should be fairly similar in terms of backups.

ff
flacflac
 
Posts: 141
Joined: Mon Jun 01, 2009 7:43 am

Postby kwheat » Thu Feb 25, 2010 7:46 pm

My best solution currently (I had the same issue after a full dist-upgrade) is to run subsonic first with sudo to allow it root permissions to create any directories it may need, and then to kill it and run it as a regular user. Not pretty, but it worked for me. Seemed heavily related to permissions assigned to folders, if you wanted to run it with root permissions all the time (not advisable) you could do it but there are no guarantees what will happen if its compromised.
kwheat
 
Posts: 1
Joined: Thu Feb 25, 2010 7:44 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 23 guests