ddurdle 75 Posted October 11, 2018 Share Posted October 11, 2018 Emby 3.5.3 running on Debian Stretch. On a restart, now Emby will not restart successfully, generating the following unhandled exception. System.ArgumentNullException: Value cannot be null. Parameter name: key at System.Collections.Concurrent.ConcurrentDictionary`2.ThrowKeyNullException() at System.Collections.Concurrent.ConcurrentDictionary`2.TryRemove(TKey key, TValue& value) at Emby.Server.Implementations.LiveTv.EmbyTV.TimerManager.StopTimer(TimerInfo item) at Emby.Server.Implementations.LiveTv.EmbyTV.TimerManager.AddOrUpdateSystemTimer(TimerInfo item, Boolean scheduleSystemWakeTimer) at Emby.Server.Implementations.LiveTv.EmbyTV.TimerManager.RestartTimers() at Emby.Server.Implementations.LiveTv.EmbyTV.EmbyTV.Start() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location where exception was thrown --- at System.Threading.ThreadPoolWorkQueue.Dispatch() System.ArgumentNullException at System.Collections.Concurrent.ConcurrentDictionary`2.ThrowKeyNullException() at System.Collections.Concurrent.ConcurrentDictionary`2.TryRemove(TKey key, TValue& value) at Emby.Server.Implementations.LiveTv.EmbyTV.TimerManager.StopTimer(TimerInfo item) at Emby.Server.Implementations.LiveTv.EmbyTV.TimerManager.AddOrUpdateSystemTimer(TimerInfo item, Boolean scheduleSystemWakeTimer) at Emby.Server.Implementations.LiveTv.EmbyTV.TimerManager.RestartTimers() at Emby.Server.Implementations.LiveTv.EmbyTV.EmbyTV.Start() at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location where exception was thrown --- at System.Threading.ThreadPoolWorkQueue.Dispatch() embyserver.txt Link to comment Share on other sites More sharing options...
Luke 37229 Posted October 11, 2018 Share Posted October 11, 2018 Try rebooting your machine. Link to comment Share on other sites More sharing options...
ddurdle 75 Posted October 11, 2018 Author Share Posted October 11, 2018 Same issue after reboot. It almost looks like it is related to scheduling timers for DVRing. Link to comment Share on other sites More sharing options...
ddurdle 75 Posted October 11, 2018 Author Share Posted October 11, 2018 if I rename/remove /var/lib/emby/data/livetv/timers.json, emby starts. I don't touch this file in any ways, so somehow there must be a corrupt entry that was introduced to the file that prevented emby from starting up, encountering an issue while setting one of the timers. Did you want a copy of this file? 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