MacGyver27 21 Posted 5 hours ago Posted 5 hours ago (edited) Hello, I have a scenario where one of my libraries sits on the external HDD enclosure. I want to have for it Real Time Monitoring enabled but there is a catch.. sometimes happens this external HDD enclosure has connectivity issues or after reboot it did not get properly mounted to the Linux file system and Emby starts purging everything related to it. This is huge pain in case such library is 50k home video files - everything needs to be rebuild from scratch, which can take weeks! I know it kind of makes sense of Real Time Monitoring feature but I would propose to implement a safety check that the library is actually present on the file system. I know this is difficult to detect properly when Emby server is inside docker, but something simple like: If any specified folder is entirely empty, skip the synchronization for it. So before triggering the real time sync perform for both of this folders this empty folder check: IF contains SOMETHING -> sync IF contains NOTHING -> skip I would do this safety check also when triggered manually, because many times user don't even notice the external HDD enclosure is not mounted.. 99% of cases user finds out when his media are missing in the Emby library.. In order to sync on these empty libraries user would need to disable safety check. Solution: Edited 5 hours ago by MacGyver27
Luke 42997 Posted 1 hour ago Posted 1 hour ago Hi there, please attach the Emby server log from when the problem occurred: How to Report a Problem Thanks!
MacGyver27 21 Posted 38 minutes ago Author Posted 38 minutes ago Hey. Thanks fore the reply. Unfortunately this happened quite few weeks ago.. but can simulate if necessary.. should be pretty straight forward with docker. Let me know! 1
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