Command line switches for Subsonic server?

Need help? Post your questions here.

Moderator: moderators

Command line switches for Subsonic server?

Postby skribb » Tue Sep 25, 2018 9:22 pm

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
skribb
 
Posts: 3
Joined: Tue Sep 25, 2018 9:16 pm

Re: Command line switches for Subsonic server?

Postby toolman » Wed Sep 26, 2018 8:30 pm

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
toolman
 
Posts: 538
Joined: Fri Dec 11, 2009 4:18 pm
Location: Netherlands

Re: Command line switches for Subsonic server?

Postby skribb » Thu Sep 27, 2018 9:02 am

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)
skribb
 
Posts: 3
Joined: Tue Sep 25, 2018 9:16 pm

Re: Command line switches for Subsonic server?

Postby toolman » Thu Sep 27, 2018 1:37 pm

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.
toolman
 
Posts: 538
Joined: Fri Dec 11, 2009 4:18 pm
Location: Netherlands

Re: Command line switches for Subsonic server?

Postby skribb » Thu Sep 27, 2018 1:54 pm

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
skribb
 
Posts: 3
Joined: Tue Sep 25, 2018 9:16 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 17 guests