Jump to content

Emby Server Keeps Crashing


Recommended Posts

bkrstmuse
Posted

Hi,

I updated to the latest version 4.6.3.0 and ever since then the server started crashing periodically. Starting today the server is crashing all the time. Below is the error report from embyserver.txt log:

    *** Error Report ***
    Version: 4.6.3.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 4.15.0-52-generic (buildd@lgw01-amd64-051) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #56-Ubuntu SMP Tue Jun 4 22:49:08 UTC 2019
    Framework: .NET Core 3.1.13
    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
    MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns="urn:schemas-upnp-org:control-1-0"><errorCode>714</errorCode><errorDescription>NoSuchEntryInArray</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>
       at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
       at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
       at Mono.Nat.Upnp.UpnpNatDevice.GetSpecificMappingAsync(Protocol protocol, Int32 publicPort, CancellationToken cancellationToken)
       at Mono.Nat.Upnp.UpnpNatDevice.CreatePortMap(Mapping mapping, CancellationToken cancellationToken)
       at Emby.PortMapper.ExternalPortForwarding.CreateRules(INatDevice device, CancellationToken cancellationToken)
    Source: Emby.Server.Implementations
    TargetSite: Void MoveNext()

 

Posted

Hi there, what do you mean by crashing?

bkrstmuse
Posted

On the user side, when accessing emby through a browser, the server hangs for a while and then gives me a "site can't be reached" message on the browser. 

Do you need the entire embyserver.txt log? If so, can I scrub the personal info first?

bkrstmuse
Posted

Here's the status of the server after the crash:


● emby-server.service - Emby Server is a personal media server with apps on just about every device.
   Loaded: loaded (/usr/lib/systemd/system/emby-server.service; enabled; vendor preset: enabled)
   Active: failed (Result: signal) since Thu 2021-07-01 14:27:05 PDT; 21s ago
  Process: 3954 ExecStart=/opt/emby-server/bin/emby-server (code=killed, signal=ABRT)
 Main PID: 3954 (code=killed, signal=ABRT)

Jul 01 14:26:49 dan emby-server[3954]: Info App: SyncRepository Initialize write lock taken
Jul 01 14:26:49 dan emby-server[3954]: Info App: Entry point completed: Emby.Server.Sync.SyncManagerEntryPoint. Duration
Jul 01 14:26:49 dan emby-server[3954]: Info App: Starting entry point Emby.Server.Sync.SyncNotificationEntryPoint
Jul 01 14:26:49 dan emby-server[3954]: Info App: Entry point completed: Emby.Server.Sync.SyncNotificationEntryPoint. Dur
Jul 01 14:26:49 dan emby-server[3954]: Info App: Starting entry point EmbyServer.Windows.LoopUtilEntryPoint
Jul 01 14:26:49 dan emby-server[3954]: Info App: Entry point completed: EmbyServer.Windows.LoopUtilEntryPoint. Duration:
Jul 01 14:26:49 dan emby-server[3954]: Info App: All entry points have started
Jul 01 14:27:05 dan emby-server[3954]: Stack overflow.
Jul 01 14:27:05 dan systemd[1]: emby-server.service: Main process exited, code=killed, status=6/ABRT
Jul 01 14:27:05 dan systemd[1]: emby-server.service: Failed with result 'signal'.

bkrstmuse
Posted

Hi,

I went ahead and deleted the library file like you suggested in the other thread and it seemed to have fixed the problem. I'll let you know if the problem returns.

Thanks.

Westiewill007
Posted

I am having similar Issues with my Emby after updating to latest,  but the server doesnt crash, it stays online and keeps saying user name/password is invalid then I do a systemctl restart emby-server.service  then it works again... does it at least once or twice a day. (emby on ubuntu linux)

Westiewill007
Posted
15 hours ago, bkrstmuse said:

Hi,

I went ahead and deleted the library file like you suggested in the other thread and it seemed to have fixed the problem. I'll let you know if the problem returns.

Thanks.

where is this other thread? which library file do i delete?

bkrstmuse
Posted

I deleted the file /var/lib/emby/data/library.db, but I don't suggest doing that until you tried other options first. Rebuilding the library and reidentifying the media that emby gets wrong is a pain.

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