Jump to content

Folder Monitoring crashing Emby


j1m1ny
Go to solution Solved by Luke,

Recommended Posts

This seems to be a more recent issue, as I was running an older version with library scanning without emby crashing from monitoring. Where can this be turned off now?  It no longer shows under Library -> Advanced Settings
Is there another way that a new episode can be added to the library on creation via sonarr or sabnzb sending an API call?
 
unhandled_7ec67d07-19a6-45f6-a4d7-a3ea5fbccf34.txt

 

Object reference not set to an instance of an object
System.NullReferenceException
  at System.IO.InotifyWatcher.ProcessEvents (System.Byte[] buffer, Int32 length) [0x00000] in <filename unknown>:0 
  at System.IO.InotifyWatcher.Monitor () [0x00000] in <filename unknown>:0 
  at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0 

Error in Server log:

2015-11-26 18:36:12.2843 Error - Main: UnhandledException
	*** Error Report ***
	Version: 3.0.5781.3
	Command line: /usr/local/emby/share/emby/MediaBrowser.Server.Mono.exe -programdata /usr/local/emby/var -ffmpeg /usr/local/ffmpeg/bin/ffmpeg -ffprobe /usr/local/ffmpeg/bin/ffprobe
	Operating system: Unix 3.10.35.0
	Processor count: 4
	64-Bit OS: True
	64-Bit Process: True
	Program data path: /usr/local/emby/var
	Mono: 4.0.4 (Stable 4.0.4.1/5ab4c0d Sun Oct 11 12:21:26 CEST 2015)
	Application Path: /volume1/@appstore/emby/share/emby/MediaBrowser.Server.Mono.exe
	Object reference not set to an instance of an object
	System.NullReferenceException
	  at System.IO.InotifyWatcher.ProcessEvents (System.Byte[] buffer, Int32 length) [0x00000] in <filename unknown>:0 
	  at System.IO.InotifyWatcher.Monitor () [0x00000] in <filename unknown>:0 
	  at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0 

Similar threads:
http://emby.media/community/index.php?/topic/11387-instabilities-with-linux/
http://emby.media/community/index.php?/topic/11576-unexpected-crash-when-not-in-use/
 
Sever Info:
DS1511+  | INTEL Atom D525  |  ext4  | Emby Version 3.0.5781.3 | Mono 4.04

Link to comment
Share on other sites

  • Solution

you can turn it off by finding your program data folder then opening config/system.xml and removing the EnableLibraryMonitor setting. It has been taken out of the UI for linux right now for this very reason.

  • Like 1
Link to comment
Share on other sites

Thanks, I have commented out the line.  When restarting emby it looks like the setting gets changed to auto, as opposed to enabled.

 

For anyone else who might be getting this error the file is located here by default for Synology if you followed the directions in the setup post:
/volume1/@appstore/emby/var/config/system.xml

Edited by j1m1ny
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...