Shutting down properly Subsonic

Need help? Post your questions here.

Moderator: moderators

Shutting down properly Subsonic

Postby Miles Prower » Sun Jun 13, 2010 3:24 pm

Hello,

So I installed Subsonic on my Ubuntu 10.04 computer using the deb installer.


Subsonic works great as long as I do not restart the computer. Each time the computer is shut down, the database becomes corrupted (at least I think it is the problem, re: http://forum.subsonic.org/forum/viewtop ... 06f84c6d0a leading to a 503 error.

I have to delete the database each time I start the computer, create the users again, scan for music… etc before being able to fully use the aplication.

By the way, the first time I used Subsonic, it created a 12Mb log file. Seems a bit large. Tried to load it but did not see any reported errors.

How can I prevent that from happening? How to properly shut down Subsonic so this error does not occur?
Miles Prower
 
Posts: 4
Joined: Fri Jun 11, 2010 5:32 pm

Postby oeh » Sun Jun 13, 2010 3:40 pm

When rebooting my Ubuntu, I have to run.
Code: Select all
sudo service subsonic restart

to get it to run properly. If not I get the same error
as you are getting.

To stop subsonic use:
Code: Select all
sudo service subsonic stop


and to start:
Code: Select all
sudo service subsonic start
Regards
OEH ;-}
User avatar
oeh
 
Posts: 89
Joined: Wed Apr 21, 2010 9:26 pm
Location: Oslo Norway

Postby Miles Prower » Mon Jun 14, 2010 8:40 am

Weird. Nice to know deleting the /db/ is not mandatory to get Subsonic running again, at least.


So my guess is that, for a quick fix, I should :
→ remove subsonic in /etc/init.d/ to prevent it from starting automatically
→ launch a script with admin privileges to start subsonic on session login ?


EDIT : no way.


Simply restarting Subsonic (/etc/init.d/subsonic restart) does not work at all. Just tried without rebooting the computer, this leads to the same old 503 error.

Subsonic only starts again if I delete /var/subsonic/db/.

Quite annoying.
Miles Prower
 
Posts: 4
Joined: Fri Jun 11, 2010 5:32 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 27 guests