FAQ  •  Register  •  Login

Serviio not running after sleep mode

<<

kaman

Serviio newbie

Posts: 11

Joined: Mon Nov 28, 2011 4:15 am

Post Fri Dec 21, 2012 6:36 am

Serviio not running after sleep mode

Hello, I'm having a problem that I hope someone else has run into and come up with a solution. I'm running Serviio 1.1 under Windows 7 64bit. Everything was running fine under version 0.6, but since upgrading to first 1.01 and now 1.1, I have to restart the Serviio service every time the PC comes out of sleep mode. This started immediately after upgrading to 1.01. I have not tried reverting back to 0.6, but am about to. I was hoping that upgrading to 1.1 might solve the issue, but no luck.

After coming out of sleep, the service appears to be running as indicated in the console, but none of my devices can connect to it. If I stop and restart the service, then everything works fine up until the PC goes back to sleep again. Then I have to hoof it back up stairs and manually restart the service. This problem has made what I used to consider one of the best DLNA servers that I had come across into a major pain that I am about to give up on.

Any help that you can lend would be greatly appreciated.

Thanks
<<

kurruptor

Serviio newbie

Posts: 1

Joined: Mon Jan 07, 2013 11:03 pm

Post Mon Jan 07, 2013 11:08 pm

Re: Serviio not running after sleep mode

I can confirm this behavior is happening for me as well.

Windows 7 32-bit

After waking the computer from sleep mode, all indications from the Console and from Windows Services indicates all is well. However Serviio does not show up on my devices. I usually exit the Console and restart the service through services.msc to resolve the issue.
<<

slyguy42o

DLNA master

Posts: 481

Joined: Wed Oct 24, 2012 5:29 am

Post Mon Jan 07, 2013 11:42 pm

Re: Serviio not running after sleep mode

I can't confirm as I don't sleep my servers, but instead of "running upstairs to reset the service" maybe you could use a smart phone app like "ServiiDroid" to restart the service until a fix is found?
<<

ffox

Serviio newbie

Posts: 2

Joined: Sun Mar 10, 2013 9:08 am

Post Sun Mar 10, 2013 9:14 am

Re: Serviio not running after sleep mode

I confirm this behavior is happening for me too. Who knows it can be fixed?
<<

ffox

Serviio newbie

Posts: 2

Joined: Sun Mar 10, 2013 9:08 am

Post Sun Mar 10, 2013 10:01 am

Re: Serviio not running after sleep mode

The only way to do that is deleting Serviio icon from Autostart !
<<

someone4k

Serviio newbie

Posts: 6

Joined: Mon Feb 18, 2013 11:06 pm

Post Sun Mar 10, 2013 5:37 pm

Re: Serviio not running after sleep mode

Same issue here.. On win7 and Vista. Tversity works fine, but Serviio needs a service restart to appear
<<

marsha11

Serviio newbie

Posts: 3

Joined: Sun Jan 15, 2012 1:43 pm

Post Tue Mar 26, 2013 11:49 am

Re: Serviio not running after sleep mode

I'm also experiencing this problem on Windows 7 since upgrading from version 0.6. Will there be a fix rolled out soon?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Mar 26, 2013 1:34 pm

Re: Serviio not running after sleep mode

there is no built-in sleep mode support in Serviio. There is a ticket for it. If it ever worked, it was by chance.
<<

jammoblammo

Serviio newbie

Posts: 3

Joined: Thu Apr 04, 2013 10:47 pm

Post Thu Apr 04, 2013 11:09 pm

Re: Serviio not running after sleep mode

I've been running into this as well, and don't want my wife and kid to suffer through the my workday because of it, and also don't want to disable sleep, because money.

I put together a scheduled task in Windows 7 as follows, which will restart Serviio after resuming from sleep:

1. Create a new text file with the following two liner, and save it as C:\Scripts\Restart-Serviio.cmd:
  Code:
net stop serviio
net start serviio

2. Open Task Scheduler (hit Start, type it in)
-- Click Task Scheduler Library in the left pane
-- Click Create Basic Task in the Actions pane

3. Create the task
-- Name it what you want, such as Restart Serviio after waking from sleep, hit Next
-- For a Trigger, select When a specific event is logged, hit Next
-- Log: System, Source: Power-Troubleshooter, Event ID: 1, hit Next
-- For an Action, select Start a program, hit Next
-- Program/script: C:\Scripts\Restart-Serviio.cmd, hit Next
-- On the Finish page, check Open the Properties dialog for this task when I click Finish, hit Finish

4. Finishing steps
-- On the General tab, ensure the selected user account has sufficient privileges to restart services, and select Run whether user is logged on or not, Do not store password..., and Run with highest privileges
-- On the Conditions tab, deselect Start the task only if the computer is on AC power
-- Click OK

I hope this helps everyone, and that a real fix for this can go into a future release. I really love this product.
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Fri Apr 05, 2013 9:38 am

Re: Serviio not running after sleep mode

Excellent workaround for the issue. Having said that, since version 1.2.1 with its new strategy for recovering the bound IP address (which it loses during sleep), I haven't had a single problem with not recovering after sleep... but if it rears it's head again, I will certainly implement this as I know how annoying the troops get when there beloved server isn't up and running!
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.
<<

jammoblammo

Serviio newbie

Posts: 3

Joined: Thu Apr 04, 2013 10:47 pm

Post Fri Apr 05, 2013 2:21 pm

Re: Serviio not running after sleep mode

since version 1.2.1 with its new strategy for recovering the bound IP address (which it loses during sleep), I haven't had a single problem with not recovering after sleep...

I wish I could say the same. I've experienced it for the past few releases, including the current one.

I know how annoying the troops get when there beloved server isn't up and running!

Truth! :D
<<

wookiebreath

Serviio newbie

Posts: 11

Joined: Sun May 30, 2010 9:40 am

Post Sat Apr 13, 2013 2:24 am

Re: Serviio not running after sleep mode

Thanks for the detailed post with the workaround: jammoblammo
<<

MST246

Serviio newbie

Posts: 1

Joined: Tue Apr 30, 2013 5:05 pm

Post Wed May 01, 2013 3:51 pm

Re: Serviio not running after sleep mode

Thanks for this work around,but,it does not work for me,as Serviio is running after waking my laptop,but my devices lose it.It's not enough to restart the server through the console,I have to shut it all down in task manager.This is strange,as the previous version never did this.I recently reinstalled win 7,and installed current version 1.2.1. and that's when the trouble started. Needless to say,it's annoying as hell.
<<

deadmonkey

Serviio newbie

Posts: 5

Joined: Sat Apr 20, 2013 3:17 pm

Post Wed May 01, 2013 10:31 pm

Re: Serviio not running after sleep mode

But that is what his workaround does, restarts the service which is the equivalent of what you're doing in task mgr. That isn't the same as restarting it from the console as you're stating.
<<

deadmonkey

Serviio newbie

Posts: 5

Joined: Sat Apr 20, 2013 3:17 pm

Post Wed May 01, 2013 11:19 pm

Re: Serviio not running after sleep mode

I've just tried it and it brought it back online just fine.

This makes the whole app much more usable for me, so thanks very much indeed.
<<

jammoblammo

Serviio newbie

Posts: 3

Joined: Thu Apr 04, 2013 10:47 pm

Post Sat May 04, 2013 1:35 pm

Re: Serviio not running after sleep mode

I'm glad I could help some folks!
<<

slyguy42o

DLNA master

Posts: 481

Joined: Wed Oct 24, 2012 5:29 am

Post Mon May 06, 2013 5:13 pm

Re: Serviio not running after sleep mode

maybe you should write that up in the wiki?
<<

nleszek

Serviio newbie

Posts: 1

Joined: Sun Jan 09, 2011 3:48 pm

Post Fri May 10, 2013 3:17 pm

Re: Serviio not running after sleep mode

Confirm too. I had to return to version 1.2. Serviio 1.2.1. doesn't work after computer awake (win7 64-bit).
<<

slyguy42o

DLNA master

Posts: 481

Joined: Wed Oct 24, 2012 5:29 am

Post Fri May 10, 2013 4:55 pm

Re: Serviio not running after sleep mode

the work around didn't work for you?
<<

npuser

DLNA master

Posts: 172

Joined: Mon Feb 06, 2012 3:44 am

Location: Michigan

Post Sun May 12, 2013 12:39 pm

Re: Serviio not running after sleep mode

Could it be a case of laptop bouncing from Default ip to bound ip when it comes back to life? I do not like to restart serviio because online lib contents take forever to parse and be ready for viewing in each subsequent restart. You guys may want give reg hack mentioned here http://forum.serviio.org/viewtopic.php?p=45912#p45912 a try - this tells PC to retain ip address even if the dhcp is not available.


Npuser
Next

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 40 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.