Burrito78 15 Posted May 3, 2017 Share Posted May 3, 2017 Hi there, my DS213 is waking up every hour at night. I checked the logfiles and saw that Emby connect is doing something at these times. I don't use Emby connect. Emby is only used locally. I then stopped Emby before going to bed. Better log this time. Still not perfect, but that is something else going on. I didn't do any special Emby-Tricks yet to improve hibernation. Are they still required? Is it possible to disable Emby connect? See full log attached to this post. Best regards, Burrito78 server-63629280000.txt Link to comment Share on other sites More sharing options...
Luke 36884 Posted May 3, 2017 Share Posted May 3, 2017 As a test, can you remove installed plugins and see if that makes a difference? thanks ! Link to comment Share on other sites More sharing options...
Burrito78 15 Posted May 3, 2017 Author Share Posted May 3, 2017 I uninstalled everything but the Trailers Plug-In won't go away. Restarting the server from the Dashboard and stopping/starting from DSM Package Center makes no difference. See current log attached. server-63629452876.txt Link to comment Share on other sites More sharing options...
Burrito78 15 Posted May 4, 2017 Author Share Posted May 4, 2017 Either it's the Trailers Plugin or something else because with only the Trailers Plugin it still happens. Sorry about the size! Maybe you could come back to me about that Trailer Plugin uninstall problem too? Regards, Burrito78 Link to comment Share on other sites More sharing options...
ebr 14862 Posted May 4, 2017 Share Posted May 4, 2017 Hi. Can you make sure that any apps you use (Roku, Android, etc.) are logged out one night and see if that makes a difference? Link to comment Share on other sites More sharing options...
Solution newb 14 Posted May 5, 2017 Solution Share Posted May 5, 2017 (edited) Hi @@Burrito78,Disk writes would prevent the NAS from hibernating the hard disks.Please would you try the steps in the following post - they will suppress Emby Connect related log entries from being created in the log files, hence eliminating the hourly disk writes:https://emby.media/community/index.php?/topic/39319-Synology-NAS-(DS415+)-does-not-hibernate-after-installing-Emby-Server&do=findComment&comment=403693Also see the full thread for more details and on how to detect which files were modified in the last hour.Please let us know how you get along? Edited May 5, 2017 by newb 1 Link to comment Share on other sites More sharing options...
Burrito78 15 Posted May 5, 2017 Author Share Posted May 5, 2017 @@ebr I'm running only one LibreELEC client at the moment and its powered off at night. @@newb Thanks for pointing me in the right direction! Will do so and report back! Thanks guys for your help! Link to comment Share on other sites More sharing options...
Burrito78 15 Posted May 5, 2017 Author Share Posted May 5, 2017 @@Luke Do you want to troubleshoot the problem that the Trailers Plugin can't be uninstalled or have you already found the cause? Link to comment Share on other sites More sharing options...
Luke 36884 Posted May 8, 2017 Share Posted May 8, 2017 hi @@Burrito78, I haven't looked at it yet, but yes I will be looking to troubleshoot it soon. Thanks. 1 Link to comment Share on other sites More sharing options...
Burrito78 15 Posted May 8, 2017 Author Share Posted May 8, 2017 The problem is gone now after applying the fix described in the thread mentioned above by @@newb. Thanks again for you help guys! You rock! I even knew this thread because i searched the forum before posting here, but i didn't know it was directly related to my problem. Maybe @@solabc16 could update the above linked thread to include the following information: -What the fix actually does (suppress Emby Connect related log entries from being created in the log files, hence eliminating the hourly disk writes) -Thats it works with the regular install (no beta needed) -That its still needed, even with the newest server version, to prevent hourly hibernation interruption on Synology NAS devices. Best regards, Burrito78 Link to comment Share on other sites More sharing options...
solabc16 379 Posted May 8, 2017 Share Posted May 8, 2017 Hello @@Burrito78 You're right, not obvious unless you were directly involved in the discussion/dev at the time. I'll get this turned into a page on the Synology section of the Wiki during the week. Thanks @@newb for signposting the information. Best - James Link to comment Share on other sites More sharing options...
Luke 36884 Posted May 8, 2017 Share Posted May 8, 2017 @@solabc16 fyi I'd rather pull the actual code changes into the core so that we can capture the knowledge. i'd rather not have users patching files as that will just lead to more troubleshooting. thanks ! Link to comment Share on other sites More sharing options...
solabc16 379 Posted May 8, 2017 Share Posted May 8, 2017 Hi @@Luke This is the NLog config we ultimately settled on as a solution for those experiencing the issue, and was merged in PR2304. Probably worth having a back-track over that thread as a refresher. So there's no code changes per se (they are already integrated), it's just a user opt-in to enable the functionality, if this is an issue for them. Which they can do using these instructions: https://emby.media/community/index.php?/topic/39319-synology-nas-ds415-does-not-hibernate-after-installing-emby-server/?p=403693 Best - James Link to comment Share on other sites More sharing options...
Luke 36884 Posted May 8, 2017 Share Posted May 8, 2017 Ah ok, thanks, will do ! Link to comment Share on other sites More sharing options...
newb 14 Posted May 8, 2017 Share Posted May 8, 2017 Indeed, the solution for allowing hard disks to be hibernated on Synology NAS devices was two fold: Prevent hourly disk writes to wan.dat and connect.txt - this was fixed with a code change and now those files are touched only on startup and when the WAN IP actually changes. The stable version of Emby has had this fix in for several months now, so there is no need to use a beta version of Emby. Despite the fix in point 1, disk writes still occur when Emby modifies the log files, which also prevents the HDDs from being hibernated (or causes them to wake from hibernation). Every hour, Emby logs that it is checking the WAN IP as part of the Emby Connect process. Supressing the logging of Emby Connect work was solved using a no-code solution by @@solabc16 which involved an NLog filter being applied, as described in the forum post linked above. This is still needed today. Link to comment Share on other sites More sharing options...
Luke 36884 Posted May 8, 2017 Share Posted May 8, 2017 I'm going to remove the connect logging anyway because that could affect other platforms. thanks. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now