Jump to content
Thor78

emby Server startet nicht mehr oDroid-4XU

Recommended Posts

Thor78

Hallo,

ich verwende die aktuelle emby Version auf einem oDroid-4XU und armbian buster. Lief seit einer Woche ohne Probleme und auch sehr stabil. Jetzt hatte ich einen manuellen Serverneustart gemacht und emby stürzt nach ein paar sekunden ab, allerdings nur, wenn ich mit dem Browser darauf zugreifen möchte. Ich verwende einen Win10 mit Firefox. Habe davon ein Video gemacht. Da ist mir auch schon mit dem DietPi passiert, dachte dann es liegt an DietPi, aber nun passiert dies auch mit armbian. Woran könnte das liegen?

 

Video:

 

Mit "service emby-server start" kann ich den Server zwar wieder starten, aber wenn ich mit dem Browser darauf zugreife ist er wieder weg. Mit der Android App klappt es wunderbar und stürzt auch nicht ab. Auch mit dem Chrome Browser klappt es. Bin sehr irritiert...

 

Habe mal die emby Logfiles angehangen, vielleicht könntet Ihr mir weiterhelfen?

 

Viele Grüße,

Max

embyserver.txt

hardware_detection-63727058716.txt

Share this post


Link to post
Share on other sites
Thor78

Also leider passiert das nach einem Neustart auch unter Linux mit chromium Browser. Woran könnte das liegen?

Share this post


Link to post
Share on other sites
Luke

Hi there, as a test, if you remove the Dlna and Port mapper plugins, then restart emby server, does that help?

Share this post


Link to post
Share on other sites
Thor78

I uninstall both plugins, after first restart, the emby-Server shut down. Then i restart the Server and now it works. I will try out sometimes more.

Share this post


Link to post
Share on other sites
Thor78
Posted (edited)

Hi, I'm a little confused. If it's accessed from outside the network, it seems to work. Inside the network, sometimes the problem is there and sometimes it isn't. Around 21.56 the server crashed, no matter how I connected (Firefox, Chrome or App). External access was no problem. I will hang the oDroid to another port or directly to the router at noon today.

 

 

embyserver-63727336645.txt

hardware_detection-63727336656.txt

Edited by Thor78

Share this post


Link to post
Share on other sites
Thor78

Well, I have now connected the box directly to the router. Unfortunately it still does not work. Sometimes it works via app from outside, sometimes it crashes. Do you have any ideas?

Share this post


Link to post
Share on other sites
Thor78

Hello again, I have now changed the OS several times (armbian and dietpi), unfortunately the bugs always remain the same. Here are some peculiarities I have:

2020-06-16 19:55:42.508 Error App: Error downloading news
	*** Error Report ***
	Version: 4.4.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}_armhf.deb
	Operating system: Unix 4.14.176.0
	64-Bit OS: False
	64-Bit Process: False
	User Interactive: True
	Runtime: file:///opt/emby-server/system/System.Private.CoreLib.dll
	System.Environment.Version: 3.1.2
	Processor count: 8
	Program data path: /var/lib/emby
	Application directory: /opt/emby-server/system
	System.IO.DirectoryNotFoundException: System.IO.DirectoryNotFoundException: Could not find a part of the path '/var/lib/emby/cache/news.json'.
	   at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
	   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
	   at System.IO.FileStream.OpenHandle(FileMode mode, FileShare share, FileOptions options)
	   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileStream(String path, FileOpenMode mode, FileAccessMode access, FileShareMode share, FileOpenOptions fileOpenOptions)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileStream(String path, FileOpenMode mode, FileAccessMode access, FileShareMode share, Boolean isAsync)
	   at Emby.Common.Implementations.Serialization.JsonSerializer.SerializeToFile(Object obj, String file)
	   at Emby.Server.Implementations.News.NewsEntryPoint.DownloadNews(String path)
	   at Emby.Server.Implementations.News.NewsEntryPoint.OnTimerFired(Object state)
	Source: System.Private.CoreLib
	TargetSite: Void ThrowExceptionForIoErrno(ErrorInfo, System.String, Boolean, System.Func`2[Interop+ErrorInfo,Interop+ErrorInfo])
	

and:

2020-06-16 20:07:44.919 Error HttpClient: <?xml version="1.0"?>
 <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>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
2020-06-16 20:07:44.945 Error HttpClient: <?xml version="1.0"?>
 <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>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
2020-06-16 20:07:44.968 Error PortMapper: Error creating port map
	*** Error Report ***
	Version: 4.4.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}_armhf.deb
	Operating system: Unix 4.14.180.0
	64-Bit OS: False
	64-Bit Process: False
	User Interactive: True
	Runtime: file:///opt/emby-server/system/System.Private.CoreLib.dll
	System.Environment.Version: 3.1.2
	Processor count: 8
	Program data path: /var/lib/emby
	Application directory: /opt/emby-server/system
	MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: InternalServerError
	   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()
	
2020-06-16 20:07:44.973 Error HttpClient: <?xml version="1.0"?>
 <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>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
2020-06-16 20:07:44.988 Error HttpClient: <?xml version="1.0"?>
 <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>401</errorCode>
<errorDescription>Invalid Action</errorDescription>
</UPnPError>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
2020-06-16 20:07:45.004 Error PortMapper: Error creating port map
	*** Error Report ***
	Version: 4.4.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}_armhf.deb
	Operating system: Unix 4.14.180.0
	64-Bit OS: False
	64-Bit Process: False
	User Interactive: True
	Runtime: file:///opt/emby-server/system/System.Private.CoreLib.dll
	System.Environment.Version: 3.1.2
	Processor count: 8
	Program data path: /var/lib/emby
	Application directory: /opt/emby-server/system
	MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: InternalServerError
	   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()
2020-06-16 20:07:59.633 Error HttpServer: Error processing request
	*** Error Report ***
	Version: 4.4.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}_armhf.deb
	Operating system: Unix 4.14.180.0
	64-Bit OS: False
	64-Bit Process: False
	User Interactive: True
	Runtime: file:///opt/emby-server/system/System.Private.CoreLib.dll
	System.Environment.Version: 3.1.2
	Processor count: 8
	Program data path: /var/lib/emby
	Application directory: /opt/emby-server/system
	System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
	   at Emby.Server.Implementations.IO.SharpCifsFileSystem.IsEnabledForPath(String path)
	   at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileStream(String path, FileOpenMode mode, FileAccessMode access, FileShareMode share, Boolean isAsync)
	   at MediaBrowser.Providers.Manager.ProviderManager.SaveImage(BaseItem item, String source, ReadOnlyMemory`1 mimeType, ImageType type, Nullable`1 imageIndex, Nullable`1 saveLocallyWithMedia, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.Library.LibraryManager.GetLazyImage(String key, BaseItem item, ImageType type, Int32 imageIndex, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.Library.LibraryManager.ConvertImageToLocal(BaseItem item, ItemImageInfo image, Int32 imageIndex, CancellationToken cancellationToken)
	   at Emby.Drawing.ImageProcessor.ProcessImage(ImageProcessingOptions options, CancellationToken cancellationToken)
	   at MediaBrowser.Api.Images.ImageService.GetImage(ImageRequest request, Int64 itemId, BaseItem item, Boolean isHeadRequest)
	   at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task)
	   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken)
	Source: Emby.Server.Implementations
	TargetSite: Boolean IsEnabledForPath(System.String)
	
2020-06-16 20:07:59.635 Info HttpServer: HTTP Response 500 to 192.168.178.28. Time: 122ms. http://192.168.178.39:8096/emby/Items/43cfe12fe7d9d8d21251e0964e0232e2/Images/Primary?maxHeight=122&maxWidth=217&tag=d0417b702b7fbcca8b0003b98f929a12&quality=90
2020-06-16 20:07:59.723 Info HttpServer: HTTP Response 200 to 192.168.178.28. Time: 211ms. http://192.168.178.39:8096/emby/Items/7a2175bccb1f1a94152cbd2b2bae8f6d/Images/Primary?maxHeight=122&maxWidth=217&tag=e367cc16acc82d7b0528b20faf31ecbb&quality=90
2020-06-16 20:08:02.147 Info HttpServer: HTTP POST http://217.81.170.252:8096/emby/Sessions/Playing/Progress. UserAgent: Dalvik/2.1.0 (Linux; U; Android 7.1.2; M8S PRO L Build/NHG47L)
2020-06-16 20:08:02.173 Error HttpServer: Access token is invalid or expired.
2020-06-16 20:08:02.176 Info HttpServer: HTTP Response 401 to 77.181.68.11. Time: 30ms. http://217.81.170.252:8096/emby/Sessions/Playing/Progress
2020-06-16 20:08:12.173 Info HttpServer: HTTP POST http://217.81.170.252:8096/emby/Sessions/Playing/Progress. UserAgent: Dalvik/2.1.0 (Linux; U; Android 7.1.2; M8S PRO L Build/NHG47L)
2020-06-16 20:08:12.198 Error HttpServer: Access token is invalid or expired.
2020-06-16 20:08:12.200 Info HttpServer: HTTP Response 401 to 77.181.68.11. Time: 27ms. http://217.81.170.252:8096/emby/Sessions/Playing/Progress

I have uninstalled dlna and portmapper, so the one bug shouldn't happen again. Is there anything else I could do?

Share this post


Link to post
Share on other sites
Luke

Hi, what bug are you referring to? What problem are you having?

Share this post


Link to post
Share on other sites
Thor78

My problem is, when I connect to the emby surface, the emby service turns off.  Sometimes it is with Firefox, sometimes with Chrome or edge.  But also with the Android App this has happened to me.  But it can't be reproduced, it can run fine for a few days and then it doesn't work anymore.  As operating system I had tried armbian, dietpi and others.  Always the same problem.

Share this post


Link to post
Share on other sites
Thor78

This is my last log file. The server crashed and I got this message:

Quote

Error HttpServer: Access token is invalid or expired.

But I don't know what this token is and how I can fix this error.

embyserver.txt

Share this post


Link to post
Share on other sites
Luke

That's not really a problem. So the server is still running?

Share this post


Link to post
Share on other sites
Thor78

Unfortunately not really. It worked fine for a few days now, but just today the server crashed again. Which log files could still be interesting?

Share this post


Link to post
Share on other sites
Luke

@Thor78 if you are still running into this, please attach the Emby server log from when this last happened. Thanks !

Share this post


Link to post
Share on other sites
Thor78

Hello, this is the newest log-file i have. I´ve rebooted the oDroid and after a while i connected via firefox on local Adress of emby (192.168.178.39:8096)

 

embyserver.txt

Share this post


Link to post
Share on other sites
Luke

@Thor78 as a test can you try the beta server download? I'm curious if that will make a difference. Thanks.

Share this post


Link to post
Share on other sites

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