Jump to content


Photo

Real time monitoring stopped working on Emby in Docker recently

real time monitoring docker

  • Please log in to reply
15 replies to this topic

#1 skurvy_pirate OFFLINE  

skurvy_pirate

    Advanced Member

  • Members
  • 91 posts
  • Local time: 01:40 AM

Posted 20 July 2017 - 11:36 PM

Recently I noticed that my Realtime monitoring doesn't seem to be picking up newly added items. This used to work for me in the past and I don't think I have changed any paths or anything since moving to Docker. Is there anything I can try or check to debug this? The storage is on a NAS but there are shares mounted on the Linux system that point to them, and then Emby maps those paths and uses them in the media library settings.



#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 153204 posts
  • Local time: 05:40 AM

Posted 20 July 2017 - 11:43 PM

Why do you think it stopped working? Can you discuss that a little more? Thanks.

#3 skurvy_pirate OFFLINE  

skurvy_pirate

    Advanced Member

  • Members
  • 91 posts
  • Local time: 01:40 AM

Posted 21 July 2017 - 12:31 AM

I should say it stopped working for me, not in general. I say it stopped working because newly added videos use to show up in Emby without doing a media library scan. Now they do not show up until the media library scan has been run.



#4 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 153204 posts
  • Local time: 05:40 AM

Posted 21 July 2017 - 01:15 AM

I would double check your Emby library setup. Click on each library individually and ensure the realtime monitor is enabled for that library. thanks !



#5 skurvy_pirate OFFLINE  

skurvy_pirate

    Advanced Member

  • Members
  • 91 posts
  • Local time: 01:40 AM

Posted 21 July 2017 - 01:27 AM

It is enabled for all of my libraries, I have just double checked. Should I try disabling it and re-enabling it? Anything I can try on the Linux box to see if something is broken at that layer?



#6 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 153204 posts
  • Local time: 05:40 AM

Posted 21 July 2017 - 02:12 AM

Best thing to do is discuss an example and attach the information requested in how to report a problem. thanks !



#7 mastrmind11 OFFLINE  

mastrmind11

    Advanced Member

  • Members
  • 3015 posts
  • Local time: 05:40 AM
  • LocationLong Island, NY

Posted 21 July 2017 - 07:31 AM

It is enabled for all of my libraries, I have just double checked. Should I try disabling it and re-enabling it? Anything I can try on the Linux box to see if something is broken at that layer?

Have you tried bouncing the container?



#8 skurvy_pirate OFFLINE  

skurvy_pirate

    Advanced Member

  • Members
  • 91 posts
  • Local time: 01:40 AM

Posted 21 July 2017 - 06:06 PM

Have you tried bouncing the container?

 

Do you mean restarting it? If so, then yeah. I have updated and restarted it a number of times since I started having the issue.



#9 mastrmind11 OFFLINE  

mastrmind11

    Advanced Member

  • Members
  • 3015 posts
  • Local time: 05:40 AM
  • LocationLong Island, NY

Posted 21 July 2017 - 06:32 PM

Do you mean restarting it? If so, then yeah. I have updated and restarted it a number of times since I started having the issue.

And it never works even once after the container is restarted?  What about the box itself?



#10 skurvy_pirate OFFLINE  

skurvy_pirate

    Advanced Member

  • Members
  • 91 posts
  • Local time: 01:40 AM

Posted 21 July 2017 - 06:54 PM

And it never works even once after the container is restarted?  What about the box itself?

 

It hasn't. I haven't rebooted the box itself in a long time. I will try that now.



#11 skurvy_pirate OFFLINE  

skurvy_pirate

    Advanced Member

  • Members
  • 91 posts
  • Local time: 01:40 AM

Posted 21 July 2017 - 08:01 PM

After rebooting everything I still have the same issue. But it gave me an idea to leave the share open and see what happens when new files are added. If I add the files on my PC with the share open on the Linux box, the folder doesn't show the changes until I refresh the folder. So it seems like there is something going on at the file system layer and it is not the real time monitoring of Emby. 



#12 mastrmind11 OFFLINE  

mastrmind11

    Advanced Member

  • Members
  • 3015 posts
  • Local time: 05:40 AM
  • LocationLong Island, NY

Posted 21 July 2017 - 08:28 PM

After rebooting everything I still have the same issue. But it gave me an idea to leave the share open and see what happens when new files are added. If I add the files on my PC with the share open on the Linux box, the folder doesn't show the changes until I refresh the folder. So it seems like there is something going on at the file system layer and it is not the real time monitoring of Emby. 

Nice.  Figured as much.  If this share isn't on a windows box, switch to nfs.  If it is, there are plenty of googles that can guide you.  Windoes + Linux environments are inherently not easy.  And smb is inherently slow in Linux land.


Edited by mastrmind11, 21 July 2017 - 08:29 PM.


#13 skurvy_pirate OFFLINE  

skurvy_pirate

    Advanced Member

  • Members
  • 91 posts
  • Local time: 01:40 AM

Posted 21 July 2017 - 08:34 PM

Nice.  Figured as much.  If this share isn't on a windows box, switch to nfs.  If it is, there are plenty of googles that can guide you.  Windoes + Linux environments are inherently not easy.  And smb is inherently slow in Linux land.

 

Yeah it is on a QNAP NAS. I will enable NFS for those shares and see if it that solves it.



#14 skurvy_pirate OFFLINE  

skurvy_pirate

    Advanced Member

  • Members
  • 91 posts
  • Local time: 01:40 AM

Posted 22 July 2017 - 10:50 PM

Still haven't had any luck. I enabled NFS v2/v3/v4 on my QNAP NAS and mounted the share as NFS. Changes on the Windows side still aren't seen if the folder is open until a refresh. I need to dig some more into the Linux side and see why I am having such trouble.



#15 skurvy_pirate OFFLINE  

skurvy_pirate

    Advanced Member

  • Members
  • 91 posts
  • Local time: 01:40 AM

Posted 04 August 2017 - 12:32 AM

I ended up using a utility to monitor the mounted cifs share and modify any new file that showed up from the Linux side. This got real time monitoring working for me again. Obviously the issue wasn't with real time monitoring on Emby side, but it was a pain getting a CIFS mounted share in Linux to get new files to show up. I mean still it technically isn't working without this hacky solution. But I found it is a common problem.



#16 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 153204 posts
  • Local time: 05:40 AM

Posted 04 August 2017 - 01:20 AM

Thanks for the feedback.







Also tagged with one or more of these keywords: real time monitoring, docker

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users