lundblad 10 Posted May 11, 2024 Posted May 11, 2024 (edited) Hi, i rebooted my server and now emby wont fully start, stuck on "emby server is starting please try again later" message. What should i do now? Where can i see where the problem is? Logs path: /var/lib/emby/logs - But there are sooo many text files there 4918 files!! why? added log file here:embyserver.txt Please guide me im lost Found this in one file: ``` *** Error Report *** Version: 4.8.6.0 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Linux version 5.15.0-106-generic (buildd@lcy02-amd64-017) (gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #116-Ubun Framework: .NET 6.0.25 OS/Process: x64/x64 Runtime: opt/emby-server/system/System.Private.CoreLib.dll Processor count: 4 Data path: /var/lib/emby Application path: /opt/emby-server/system System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object. at Emby.TopPicks.SpotlightServerEntryPoint.Run() at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state) at System.Threading.SynchronizationContext.<>c.<Post>b__8_0(ValueTuple`2 s) at System.Threading.ExecutionContext.RunForThreadPoolUnsafe[TState](ExecutionContext executionContext, Action`1 callback, TState& state) at System.Threading.QueueUserWorkItemCallback`1.Execute() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() at System.Threading.Thread.StartCallback() Source: Emby.TopPicks TargetSite: Void MoveNext() ``` Edited May 11, 2024 by lundblad
Q-Droid 989 Posted May 11, 2024 Posted May 11, 2024 Restart and attach the newest embyserver.txt log.
Solution lundblad 10 Posted May 11, 2024 Author Solution Posted May 11, 2024 Lol. I removed the Emby.TopPicks.dll from the plugin folder and now it fully boots! so problem solved! Maybe helps someone else in the future 1
lundblad 10 Posted May 11, 2024 Author Posted May 11, 2024 45 minutes ago, Q-Droid said: Restart and attach the newest embyserver.txt log. Can i remove all the 5k txt files from log folder to clean?
Q-Droid 989 Posted May 11, 2024 Posted May 11, 2024 The emby log folder, /var/lib/emby/logs? Yes though you shouldn't have that many logs in there and Emby should remove files older than the retention period. How far back in time do these files go?
lundblad 10 Posted May 11, 2024 Author Posted May 11, 2024 2 minutes ago, Q-Droid said: The emby log folder, /var/lib/emby/logs? Yes though you shouldn't have that many logs in there and Emby should remove files older than the retention period. How far back in time do these files go? Theese are the oldest ones:
lundblad 10 Posted May 11, 2024 Author Posted May 11, 2024 (edited) Almost all of them are from today! Edited May 11, 2024 by lundblad
lundblad 10 Posted May 11, 2024 Author Posted May 11, 2024 But i opened one of them and the only logs was theese below, so i guess it is okey now after i removed the broken plugin! removed them all not so lets see @chef System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object. at Emby.TopPicks.SpotlightServerEntryPoint.Run() at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state) at System.Threading.SynchronizationContext.<>c.<Post>b__8_0(ValueTuple`2 s) at System.Threading.ExecutionContext.RunForThreadPoolUnsafe[TState](ExecutionContext executionContext, Action`1 callback, TState& state) at System.Threading.QueueUserWorkItemCallback`1.Execute() at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() at System.Threading.Thread.StartCallback() Source: Emby.TopPicks TargetSite: Void MoveNext()
Q-Droid 989 Posted May 11, 2024 Posted May 11, 2024 Yeah. I don't know what the unhandled logs are from though you're right that they appear to come from the plugin. It also looks like the emby server kept crashing in a loop generating many new server logs. You can save a few if you want for reference, clear out the rest and bounce the server to start clean.
lundblad 10 Posted May 11, 2024 Author Posted May 11, 2024 6 minutes ago, Q-Droid said: Yeah. I don't know what the unhandled logs are from though you're right that they appear to come from the plugin. It also looks like the emby server kept crashing in a loop generating many new server logs. You can save a few if you want for reference, clear out the rest and bounce the server to start clean. back to normal now, only 3 log files atm after removing the plugin 1
chef 3810 Posted May 20, 2024 Posted May 20, 2024 (edited) Okay, I'm not sure why we'd be seeing null exceptions in the entry point. But, I've got it open so I will take a look. Edited May 20, 2024 by chef
chef 3810 Posted May 20, 2024 Posted May 20, 2024 is there any other information you can share in a log from that time. The Null exception is helpful, but it would be even more helpful to know what happened just before. Was a top picks library setup and used prior to the error, or was this error seen the first time top picks was run? thanks in advance for any extra details
lundblad 10 Posted May 20, 2024 Author Posted May 20, 2024 (edited) 8 minutes ago, chef said: is there any other information you can share in a log from that time. The Null exception is helpful, but it would be even more helpful to know what happened just before. Was a top picks library setup and used prior to the error, or was this error seen the first time top picks was run? thanks in advance for any extra details It happened at first full pc reboot after installing top picks, sry maybe not much help Edited May 20, 2024 by lundblad
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