tvinhas 14 Posted December 23, 2016 Share Posted December 23, 2016 Hi, This morning I was watching a show recorded with x264 with MKV on my Nvidia Shield TV. After I finished the show, I asked the Emby app to delete the media, and it crashed the server badly. Here is the exception from the logs: 2016-12-23 07:41:03.9864 Info HttpServer: HTTP GET http://10.0.0.45:8096/emby/Items/7b2ec677fb90172b27b30921829e4dcb/Images/Thumb?MaxHeight=300&EnableImageEnhancers=true&Tag=343aafaf5cc35588c1ba0e0ba8dd2238. UserAgent: Dalvik/2.1.0 (Linux; U; Android 6.0; SHIELD Android TV Build/MRA58K) 2016-12-23 07:41:03.9901 Info HttpServer: HTTP Response 200 to 10.0.0.49. Time: 4ms. http://10.0.0.45:8096/emby/Items/7b2ec677fb90172b27b30921829e4dcb/Images/Thumb?MaxHeight=300&EnableImageEnhancers=true&Tag=343aafaf5cc35588c1ba0e0ba8dd22382016-12-23 07:41:04.1566 Info HttpServer: HTTP GET http://10.0.0.45:8096/emby/Users/932e417352fb494faed38fefc212762e/Items/020cd99162fb0c9051384407850c30e9?format=json. UserAgent: Dalvik/2.1.0 (Linux; U; Android 6.0; SHIELD Android TV Build/MRA58K) 2016-12-23 07:41:04.1681 Info HttpServer: HTTP Response 200 to 10.0.0.49. Time: 12ms. http://10.0.0.45:8096/emby/Users/932e417352fb494faed38fefc212762e/Items/020cd99162fb0c9051384407850c30e9?format=json 2016-12-23 07:41:13.1648 Info HttpServer: HTTP DELETE http://10.0.0.45:8096/emby/Items/020cd99162fb0c9051384407850c30e9. UserAgent: Dalvik/2.1.0 (Linux; U; Android 6.0; SHIELD Android TV Build/MRA58K) 2016-12-23 07:41:13.1724 Error Main: UnhandledException *** Error Report *** Version: 3.1.1.0 Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe -restartpath /usr/lib/emby-server/restart.sh Operating system: Unix 4.4.0.57 64-Bit OS: True 64-Bit Process: True Mono: 4.6.2 (Stable 4.6.2.7/08fd525 Mon Nov 28 20:49:26 UTC 2016) Processor count: 6 Program data path: /var/lib/emby-server Application directory: /usr/lib/emby-server/bin System.NullReferenceException: Object reference not set to an instance of an object at System.IO.InotifyWatcher.ProcessEvents (System.Byte[] buffer, System.Int32 length) [0x000ac] in <bd46d4d4f7964dfa9beea098499ab597>:0 at System.IO.InotifyWatcher.Monitor () [0x0003c] in <bd46d4d4f7964dfa9beea098499ab597>:0 at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00017] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x0008d] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00031] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Threading.ThreadHelper.ThreadStart () [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 System.NullReferenceException at System.IO.InotifyWatcher.ProcessEvents (System.Byte[] buffer, System.Int32 length) [0x000ac] in <bd46d4d4f7964dfa9beea098499ab597>:0 at System.IO.InotifyWatcher.Monitor () [0x0003c] in <bd46d4d4f7964dfa9beea098499ab597>:0 at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00017] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x0008d] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00031] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Threading.ThreadHelper.ThreadStart () [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 Link to comment Share on other sites More sharing options...
Luke 37157 Posted December 23, 2016 Share Posted December 23, 2016 Hi, this is a crash in the mono runtime that's happening in a way we can't catch and recover from. To prevent this from happening, go to Library setup and turn off the realtime monitor. thanks. Link to comment Share on other sites More sharing options...
tvinhas 14 Posted December 23, 2016 Author Share Posted December 23, 2016 Ok, thanks. I did that. Another thing I'm noticing, is that images go missing from the shows, like in the image bellow. Any idea how to prevent that? Link to comment Share on other sites More sharing options...
Luke 37157 Posted December 23, 2016 Share Posted December 23, 2016 Please attach the complete emby server log and i can take a look at that, thanks. Link to comment Share on other sites More sharing options...
tvinhas 14 Posted December 23, 2016 Author Share Posted December 23, 2016 Here it is. emby-logs.tar.gz Link to comment Share on other sites More sharing options...
tvinhas 14 Posted December 23, 2016 Author Share Posted December 23, 2016 I have the following options enabled on my library: Download artwork and metadata from the internet Download images in advance Enable chapter image extraction Extract chapter images during the library scan I'm not sure if those are the best options, so let me know if I'm doing anything wrong. Link to comment Share on other sites More sharing options...
Luke 37157 Posted December 23, 2016 Share Posted December 23, 2016 There is a lot of logs in there. Which one is from the timeframe in which you pullled up the web app? thanks. Link to comment Share on other sites More sharing options...
tvinhas 14 Posted December 23, 2016 Author Share Posted December 23, 2016 The most recent one. This is happening right now and I just got the logs. Link to comment Share on other sites More sharing options...
tvinhas 14 Posted December 23, 2016 Author Share Posted December 23, 2016 It's also happening in the Manager's dashboard Link to comment Share on other sites More sharing options...
tvinhas 14 Posted December 23, 2016 Author Share Posted December 23, 2016 And when using Emby Theater Link to comment Share on other sites More sharing options...
Luke 37157 Posted December 23, 2016 Share Posted December 23, 2016 Try deleting the folder /var/lib/emby-server/cache/omdb then run a library scan. it looks like you have some bad data in there somehow. thanks. Link to comment Share on other sites More sharing options...
tvinhas 14 Posted December 23, 2016 Author Share Posted December 23, 2016 Just figured what happened, it was pretty stupid. Full disk because a live recording from yesterday (Charlie Brown Christmas) went to /var/lib/emby-server/data/livetv/recordings instead of my TV Shows library . :-P Is there any way I define when I schedule a recording, which library the recording is going to? I used to do that with Plex, so I had Sesame Street episodes going to my Kids library. Link to comment Share on other sites More sharing options...
Luke 37157 Posted December 23, 2016 Share Posted December 23, 2016 You mean on each individual recording? Link to comment Share on other sites More sharing options...
tvinhas 14 Posted December 23, 2016 Author Share Posted December 23, 2016 You mean on each individual recording? Yes. Whenever I was scheduling a entire recurring series record, or individual episode or movie, I'd like to specify to which library it would go, instead of having some specials going to the automatically generated Recordings library, like happened yesterday with Charlie Brown Christmas. Link to comment Share on other sites More sharing options...
Solution Luke 37157 Posted December 23, 2016 Solution Share Posted December 23, 2016 Yea this is something i've been meaning to add, the ability to customize per recording. 1 Link to comment Share on other sites More sharing options...
tvinhas 14 Posted December 23, 2016 Author Share Posted December 23, 2016 Yea this is something i've been meaning to add, the ability to customize per recording. That would be totally awesome. Whenever I remove the Recordings library, it gets re-created. Is there any way to prevent that? Link to comment Share on other sites More sharing options...
Luke 37157 Posted December 23, 2016 Share Posted December 23, 2016 Whatever path your recordings are configured to download to will be an Emby library, there is no avoiding that. so no, no way. Link to comment Share on other sites More sharing options...
tvinhas 14 Posted December 23, 2016 Author Share Posted December 23, 2016 And how do I specify a different path for the Recordings library? I've edited it and changed from /var/lib/emby-server/data/livetv/recordings to /dvr/Recordings, but than a Recordings1 library was created. Link to comment Share on other sites More sharing options...
Luke 37157 Posted December 23, 2016 Share Posted December 23, 2016 Have you explored Live TV settings in the server dashboard? I'm only asking that way because if you don't already know the answer, then we're the ones who have done something wrong. Th Link to comment Share on other sites More sharing options...
tvinhas 14 Posted December 23, 2016 Author Share Posted December 23, 2016 I did, but honestly I've never saw the Default recording path option before. Thanks! 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