Page 1 of 1

Command line switches for Subsonic server?

PostPosted: Tue Sep 25, 2018 9:22 pm
by skribb
Occasionally, my subsonic server will stop working, where the client doesn't connect anymore ("error connecting to server" or some such msg after 4 connection attempts). On top of this, it will stop indexing newly added folders/files.

It seems to be fixed if I manually stop and restart the service. I was wondering, are there any command line switches for restarting the service? If so, I could schedule this to restart the service once a day or so, to work around this issue.

I'm using win7 x64.

thanks :D

Re: Command line switches for Subsonic server?

PostPosted: Wed Sep 26, 2018 8:30 pm
by toolman
net stop subsonic stops the service
net start subsonic starts the service
You might get an errormessage that the subsonic service can't be stopped, but it will stop eventually.
You must give subsonic some time to stop the service gracefully.
So don't try stopping the service at 04.00 AM and starting it again at 04.01 AM

Re: Command line switches for Subsonic server?

PostPosted: Thu Sep 27, 2018 9:02 am
by skribb
toolman wrote:net stop subsonic stops the service
net start subsonic starts the service
You might get an errormessage that the subsonic service can't be stopped, but it will stop eventually.
You must give subsonic some time to stop the service gracefully.
So don't try stopping the service at 04.00 AM and starting it again at 04.01 AM


Thanks! it seemed to stop and start quite instantly tho 8)

Re: Command line switches for Subsonic server?

PostPosted: Thu Sep 27, 2018 1:37 pm
by toolman
I wrote "You might get an errormessage".
It can happen when Subsonic is busy scanning the mediafolders or when there are other users connected and playing mediafiles.
So take care that you don't try to stop the service while Subsonic is scanning the media folders. It might corrupt your database.

Re: Command line switches for Subsonic server?

PostPosted: Thu Sep 27, 2018 1:54 pm
by skribb
toolman wrote:I wrote "You might get an errormessage".
It can happen when Subsonic is busy scanning the mediafolders or when there are other users connected and playing mediafiles.
So take care that you don't try to stop the service while Subsonic is scanning the media folders. It might corrupt your database.

noted