Jump to content

Emby stuck at boot - Ubuntu Server


Go to solution Solved by lundblad,

Recommended Posts

lundblad
Posted (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  :(
image.thumb.png.49410e2508a68621344f4dcd6982c318.png

 

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 by lundblad
Q-Droid
Posted

Restart and attach the newest embyserver.txt log.

 

  • Solution
lundblad
Posted

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 :P

  • Thanks 1
lundblad
Posted
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
Posted

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
Posted
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:

image.thumb.png.a3673aebc6f4c245fdd6d12f67cc5247.png

lundblad
Posted (edited)

Almost all of them are from today! 😮

image.thumb.png.9e3010bc035e6ce31b2078f2779a8e39.png

Edited by lundblad
lundblad
Posted

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 :P 

@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
Posted

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
Posted
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 :)

  • Thanks 1
Posted (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 by chef
Posted

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
Posted (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 :P

Edited by lundblad

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...