Jump to content

Real time monitoring on Synology


Romesnil

Recommended Posts

Romesnil

Can someone confirm, that real time monitoring of library folder works on Synology? I enabled it in the library settings but doesn't seem to work! I run Emby version 3.5.3.0 on DSM 6.2-23739 Update 2 and with mono 5.8.0.108-11 from SynoCommunity.

Link to comment
Share on other sites

It really depends on what kind of storage you're importing into Emby. Where is your media stored?

Link to comment
Share on other sites

Romesnil

@@Luke

My media is stored in a shared folder on volume1 of my NAS.

 

@@solabc16

By self-contained, do you mean, I don't need mono from SynoCommunity?

Yes, I installed Emby following the instructions in the section you mentioned.

Edited by Romesnil
Link to comment
Share on other sites

  • 3 weeks later...
Interwebz

I'm having the same issue and I have had it for a while. It is annoying the heck out of me.

 

My real time monitoring has not worked since, I'm a bit uncertain of which release but I think it was 3.2.21.  It worked fine prior to some release awhile ago, the one that crashed Emby frequently. It was suggested back then to uninstall unnecessary plugins and disable real time monitoring on your libraries which solved the Emby server crashes.  I have since not been able to get it work again even though I have enabled the real time monitoring option on all of my libraries.

 

I can see from the logs that my library is being monitored "Watching directory /volume1/media/movies".

 

My setup is running on a DS918+ with Emby 3.5.3.0 and all files are stored locally on an ext4 volume.

 

Any pointers would be appreciated.  What are the odds that this might start to work again on the upcoming 3.6 release?

Link to comment
Share on other sites

solabc16

Hello @@Interwebz


 


There's an update available for your platform (3.5.3.0-16), if you haven't updated can you do so before running the diagnostics and send logs.


 


Diagnostics : https://github.com/M...Run-Diagnostics


 


Send Logs :  https://github.com/M...us-Support-Logs


 


It's not related to this issue, but it will give us a good place to start troubleshooting from.


 


Best


-James


Link to comment
Share on other sites

Interwebz

Hi @@solabc16

 

I updated to the latest version. Here's the log info: sendlogs_X-FILES_synology_apollolake_918+_20181028T174121UTC.tgz

 

Cheers!

Edited by Interwebz
Link to comment
Share on other sites

  • 3 months later...
Interwebz

How are you determining that it doesn't work?

 

Hi Luke,

 

I have disabled RTM on all other shares/libraries except TV-Shows to try to isolate the issue. I then added a new season with two new episodes to an existing show. They were not picked up by Emby under my library nor by the embyserver log, which I'm using to debug the issue. Problem is nothing shows up in the log when new episodes are physically added to the SMB shares running of the NAS.  As far as I understand, Emby 4 supports this kind of structure.

 

2019-01-30 06:16:51.599 Info LibraryMonitor: Watching directory /volume1/media/tv-shows/4k

2019-01-30 06:16:51.599 Info LibraryMonitor: Watching directory /volume1/media/tv-shows/hd

2019-01-30 06:16:51.604 Info LibraryMonitor: Watching directory /volume1/media/tv-shows/web

2019-01-30 06:16:51.607 Info LibraryMonitor: Watching directory /volume1/media/tv-shows/sd

 

This is where I'm adding new content: /volume1/media/tv-shows/hd/NameOfShow/Season.04/NameOfEpisode.mkv

 

I can PM you the server log if you're interested.

Edited by Interwebz
Link to comment
Share on other sites

RTM works here fine on both a DS415play (3.5.3 and now 4.0.1) and DS218 (4.0.1).

I store the media under /volume1/video/...

The video folder is indexed by Synology's DSM indexing service, but i believe that shouldn't make a difference, not sure thou

Edited by patje57
Link to comment
Share on other sites

Hi Luke,

 

I have disabled RTM on all other shares/libraries except TV-Shows to try to isolate the issue. I then added a new season with two new episodes to an existing show. They were not picked up by Emby under my library nor by the embyserver log, which I'm using to debug the issue. Problem is nothing shows up in the log when new episodes are physically added to the SMB shares running of the NAS.  As far as I understand, Emby 4 supports this kind of structure.

 

2019-01-30 06:16:51.599 Info LibraryMonitor: Watching directory /volume1/media/tv-shows/4k

2019-01-30 06:16:51.599 Info LibraryMonitor: Watching directory /volume1/media/tv-shows/hd

2019-01-30 06:16:51.604 Info LibraryMonitor: Watching directory /volume1/media/tv-shows/web

2019-01-30 06:16:51.607 Info LibraryMonitor: Watching directory /volume1/media/tv-shows/sd

 

This is where I'm adding new content: /volume1/media/tv-shows/hd/NameOfShow/Season.04/NameOfEpisode.mkv

 

I can PM you the server log if you're interested.

 

Yes please, thanks. But first please see patje57's comment.

Link to comment
Share on other sites

Interwebz

Yes please, thanks. But first please see patje57's comment.

 

I have never used DSM's index service before (not when it was working either). If I'm not mistaken, this is something that you must actively enable. Don't think that this matters as patje57 mentioned. I could try it out though just to be safe.

 

Hello @@Interwebz

 

Can you send me a latest set of logs using the Send Logs utility, so I can take a deeper look at this : https://github.com/MediaBrowser/Wiki/wiki/Synology-:-How-to-Send-us-Support-Logs

 

Best

- James

 

sendlogs_X-FILES_synology_apollolake_918+_20190131T165325UTC.tgz

 

Thank you!

Link to comment
Share on other sites

solabc16

Hello

 

Thanks for the logs, there's nothing immediate jumping out.

 

Is there a reason for adding four individual folders instead of just the root, when configuring your libraries?

 

As a test, are you able to configure your library using...

/volume1/media/tv-shows

...rather than...

/volume1/media/tv-shows/hd
/volume1/media/tv-shows/sd
/volume1/media/tv-shows/4k
/volume1/media/tv-shows/web

Best

- James

Link to comment
Share on other sites

Interwebz

@solabc16

 

Reason being is that I sometimes put temp stuff in 'tv-shows' and don't want that stuff to be scanned. I'll update the library as per your suggestion and will give it a try.

 

Thank you for taking a look at the logs that quick.

 

Edit:  This was a terrible move. This change messed up my TV-Show library completely.  Plus, now I cannot manage access to the different folders per user anymore.  I'm reverting to the old setup.

Edited by Interwebz
Link to comment
Share on other sites

Interwebz

What do you mean by old setup? Can you please attach the emby server log? thanks !

 

What I meant was that after I tried the suggestion from solabc16 my TV library got messed up, as if the scan did not process the subfolders in /volume1/meda/tv-shows/* correctly.  I restored my previous TV show library setup and it's OK again.  I'm PM:ing you the logs and a screenshot of how it looked after the update.

Edited by Interwebz
Link to comment
Share on other sites

solabc16

Hello @@Interwebz

 

Can you post the logs here and/or run the Send Logs utility : https://github.com/MediaBrowser/Wiki/wiki/Synology-:-How-to-Send-us-Support-Logs

 

I don't really follow your assertion without further information, you only have a single library configured; this hasn't materially changed.

 

Best

- James

Edited by solabc16
Link to comment
Share on other sites

Interwebz

Hello @@Interwebz

 

Can you post the logs here and/or run the Send Logs utility : https://github.com/MediaBrowser/Wiki/wiki/Synology-:-How-to-Send-us-Support-Logs

 

I don't really follow your assertion without further information, you only have a single library configured; this hasn't materially changed.

 

Best

- James

 

 

 

Hi James,

 

I posted the logs in post #15, were they not sufficient?  I also PM:ed Luke my entire Emby log.  I hope I managed to include you in the PM as well.

 

I changed the following:

 

/volume1/media/tv-shows/hd

/volume1/media/tv-shows/sd

/volume1/media/tv-shows/4k

/volume1/media/tv-shows/web

 

Where each of the above paths has a subfolder structure logic like this:

 

*/NameOfShow/Season.04/NameOfEpisode.mkv

 

To your suggestion of just using this (I just updated the path in Emby and not the actual physical folders):

 

/volume1/media/tv-shows/

 

Doing this caused weird issues during the library scan rendering a scenario I was not expecting. E.g. Emby tried to resolve folder "web" as a show.  Hence I "rolled back" to my original setup, restoring my library.  This obviously did not resolve the RTM issue but I'm back were I started.

 

I hope this makes sense...

Link to comment
Share on other sites

Interwebz

Ok, when you update to 4.0 again we can re-evaluate. thanks.

 

I am already on Emby version 4.0.1.0, I did not rollback to a previous version of Emby.  I rolled back to my previous library settings, nothing else.

Link to comment
Share on other sites

solabc16

Hello @@Interwebz

 

Your logs in #15 are prior to the change requested in #16.

 

This is still an important part of troubleshooting this, perhaps you can try with just one of the four sub-directories you currently have configured.

 

There are default limits in the kernel that govern the maximum number of file watchers; however I couldn't see any of the telltale indications of that limit being hit in the logs.

 

*** Edit : I’ll come back to this in the morning ***

 

Best

- James

Edited by solabc16
Link to comment
Share on other sites

Interwebz

Hi @@solabc16,


 


It seems as if we are getting off the wrong fot or I am not making myself clear enough, my apologies.


 


First, I really appreciate you taking the time to look at this as RTM is the only function/feature I have left to solve with my installation.  Second, I did not try to imply that your suggestion f:ed up my library.  I followed your suggestion and I merely stated what happened, it did not turn out as expected, that is all and there is no harm done as I "rolled back" that change which restored my TV-Show library to what it was before the change. Hopefully you can see what I mean with the unexpected result in the PM:ed screenshot.


 


Instead of testing with my libraries I created a new library just for the sole purposes of testing.  I do not wish to rescrape my entire TV library and manually updating the posters unless I know it will solve the challenges I have with RTM.  It is a time consuming operation.  Anyhow, the log now tells me it finds the episode added in the test library but it's not actually found in Emby front-end. I'm suspecting it might have something to do with the fact that the main show is under my main library. I just added one episode to the test library.


 


I'll see what happens with a new test movie library.  I'll report back once I have done that test.


 


Update: TestMovie library was successful.  Will do some more tests.


Edited by Interwebz
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...