ElDitcho 0 Posted March 27, 2018 Posted March 27, 2018 Hello, My Emby-server keeps crashing every 30mn or so without doing anything. I've set a crontab script who kill process and restart emby if the home page isn't available (return code different from 200) and send me the log : I can't really remember when it started, 4 days i think. I've joined the last log, talking about ssl but my ssl certificate is ok until april 4th. Thx for your help server-63657751502.txt
Luke 42078 Posted March 29, 2018 Posted March 29, 2018 @@ElDitcho Is this still an issue? For maximum performance and stability I would suggest switching to our new installation package. This will first require a complete uninstallation and purge, followed by an installation using the instructions on our website: https://emby.media/download The new install package has moved away from the mono runtime and onto microsoft .net core. Thanks !
Clems6 1 Posted April 1, 2018 Posted April 1, 2018 (edited) @@ElDitcho Is this still an issue? For maximum performance and stability I would suggest switching to our new installation package. This will first require a complete uninstallation and purge, followed by an installation using the instructions on our website: https://emby.media/download The new install package has moved away from the mono runtime and onto microsoft .net core. Thanks ! Hello, I first installed my emby from opensuse repository on Debian9.4 Indeed i had hard time with my new emby setup and the restart button from dashboard. The server wouldn't restart from the dashboard button it was working only with "/etc/init.d/emby-server restart " command. I just used the new install package https://emby.media/download and now no more troubles with restart. I just wondering... using this method we don't use a repository so... what about if there is a new update release? We will be notified? Thank you Edited April 1, 2018 by Clems6
Luke 42078 Posted April 1, 2018 Posted April 1, 2018 Hi, yes you will be notified inside your emby server dashboard. Thanks !
ElDitcho 0 Posted April 2, 2018 Author Posted April 2, 2018 @@ElDitcho Is this still an issue? For maximum performance and stability I would suggest switching to our new installation package. This will first require a complete uninstallation and purge, followed by an installation using the instructions on our website: https://emby.media/download The new install package has moved away from the mono runtime and onto microsoft .net core. Thanks ! The Luke i'll try it. Do you recommend a linux over another? (i could make a full fresh install)
Luke 42078 Posted April 2, 2018 Posted April 2, 2018 Ubunutu is a great choice. the main thing is to be using our newer install package. Thanks.
ElDitcho 0 Posted April 2, 2018 Author Posted April 2, 2018 All right, i've done the "upgrade" (had to do a "sudo systemctl unmask emby-server" to be good to go. Thx to another post on the forum )
ElDitcho 0 Posted April 8, 2018 Author Posted April 8, 2018 fyi, i add to uninstall with "sudo apt-get remove --purge emby-server" (i guess that why Luke told me to "purge" ^^) because the librairie was broken (nothing was showing up) now i have other issues but i'll look into other posts
Luke 42078 Posted April 8, 2018 Posted April 8, 2018 Thanks for the info. Sounds like you tried to switch between our old and new install package. What issue are you having now?
ElDitcho 0 Posted April 9, 2018 Author Posted April 9, 2018 (edited) Yes that was totally a switch from old to new. Now i'm back to ssl errors, i use a lets-encrypt certificate converted into .pfx. It happens that the server is available on http but not on https. The only way to recover is to restart the service (that's what my script is doing every 2 minutes, checking ssl url and restarting if needed). edit : happening a lot today every 10/20mn today 2018-04-09 09:00:01.702 Info HttpServer: HTTP GET https://dummyurl:8920/. UserAgent: curl/7.47.0 2018-04-09 09:00:01.703 Info HttpServer: HTTP Response 302 to 127.0.0.1. Time: 0ms. https://dummyurl:8920/ 2018-04-09 09:01:02.274 Error HttpServer: Error in ProcessAccept *** Error Report *** Version: 3.3.1.0 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Unix 4.4.0.119 64-Bit OS: True 64-Bit Process: True User Interactive: True Processor count: 4 Program data path: /var/lib/emby Application directory: /opt/emby-server/system System.Security.Authentication.AuthenticationException: A call to SSPI failed, see inner exception. ---> Interop+OpenSsl+SslException: SSL Handshake failed with OpenSSL error - SSL_ERROR_SSL. ---> Interop+Crypto+OpenSslCryptographicException: error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown --- End of inner exception stack trace --- at Interop.OpenSsl.DoSslHandshake(SafeSslHandle context, Byte[] recvBuf, Int32 recvOffset, Int32 recvCount, Byte[]& sendBuf, Int32& sendCount) at System.Net.Security.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired) --- End of inner exception stack trace --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, ExceptionDispatchInfo exception) at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult) at System.Net.Security.SslStream.AuthenticateAsServer(X509Certificate serverCertificate, Boolean clientCertificateRequired, SslProtocols enabledSslProtocols, Boolean checkCertificateRevocation) at SocketHttpListener.Net.HttpConnection..ctor(ILogger logger, Socket socket, EndPointListener epl, Boolean secure, X509Certificate cert, ICryptoProvider cryptoProvider, IMemoryStreamFactory memoryStreamFactory, ITextEncoding textEncoding, IFileSystem fileSystem, IEnvironmentInfo environment) at SocketHttpListener.Net.EndPointListener.ProcessAccept(Socket accepted) System.Security.Authentication.AuthenticationException at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, ExceptionDispatchInfo exception) at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult) at System.Net.Security.SslStream.AuthenticateAsServer(X509Certificate serverCertificate, Boolean clientCertificateRequired, SslProtocols enabledSslProtocols, Boolean checkCertificateRevocation) at SocketHttpListener.Net.HttpConnection..ctor(ILogger logger, Socket socket, EndPointListener epl, Boolean secure, X509Certificate cert, ICryptoProvider cryptoProvider, IMemoryStreamFactory memoryStreamFactory, ITextEncoding textEncoding, IFileSystem fileSystem, IEnvironmentInfo environment) at SocketHttpListener.Net.EndPointListener.ProcessAccept(Socket accepted) InnerException: Interop+OpenSsl+SslException Interop+OpenSsl+SslException: SSL Handshake failed with OpenSSL error - SSL_ERROR_SSL. ---> Interop+Crypto+OpenSslCryptographicException: error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown --- End of inner exception stack trace --- at Interop.OpenSsl.DoSslHandshake(SafeSslHandle context, Byte[] recvBuf, Int32 recvOffset, Int32 recvCount, Byte[]& sendBuf, Int32& sendCount) at System.Net.Security.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired) at Interop.OpenSsl.DoSslHandshake(SafeSslHandle context, Byte[] recvBuf, Int32 recvOffset, Int32 recvCount, Byte[]& sendBuf, Int32& sendCount) at System.Net.Security.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, Boolean isServer, Boolean remoteCertRequired) InnerException: Interop+Crypto+OpenSslCryptographicException Interop+Crypto+OpenSslCryptographicException: error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown Edited April 9, 2018 by ElDitcho
Luke 42078 Posted April 9, 2018 Posted April 9, 2018 Yes there is an issue in the release server causing that. It is resolved for the next release and also in the beta. thanks.
ElDitcho 0 Posted April 16, 2018 Author Posted April 16, 2018 Yes there is an issue in the release server causing that. It is resolved for the next release and also in the beta. thanks. i'm now on the last beta (3.3.1.18 beta) and new error that seems to crash the server : 2018-04-16 21:37:55.515 Info HttpClient: GET https://api.themoviedb.org/3/movie/331727?api_key=f6bd687ffa63cd282b6ff2c6877f2669&append_to_response=casts,releases,images,keywords,trailers&language=fr&include_image_language=fr,null,en 2018-04-16 21:37:55.978 Error App: Error in TheMovieDb *** Error Report *** Version: 3.3.1.18 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Unix 4.4.0.119 64-Bit OS: True 64-Bit Process: True User Interactive: True Processor count: 4 Program data path: /var/lib/emby Application directory: /opt/emby-server/system System.IO.DirectoryNotFoundException: Could not find a part of the path '/var/lib/emby/cache/tmdb-movies2/331727/all-fr.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..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) at Emby.Common.Implementations.Serialization.JsonSerializer.OpenFile(String path) at Emby.Common.Implementations.Serialization.JsonSerializer.DeserializeFromFile[T](String file) at MediaBrowser.Providers.Movies.GenericMovieDbInfo`1.<FetchMovieData>d__7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult() at MediaBrowser.Providers.Movies.GenericMovieDbInfo`1.<GetMetadata>d__6.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult() at MediaBrowser.Providers.Manager.MetadataService`2.<ExecuteRemoteProviders>d__43.MoveNext() System.IO.DirectoryNotFoundException 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..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) at Emby.Common.Implementations.Serialization.JsonSerializer.OpenFile(String path) at Emby.Common.Implementations.Serialization.JsonSerializer.DeserializeFromFile[T](String file) at MediaBrowser.Providers.Movies.GenericMovieDbInfo`1.<FetchMovieData>d__7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult() at MediaBrowser.Providers.Movies.GenericMovieDbInfo`1.<GetMetadata>d__6.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult() at MediaBrowser.Providers.Manager.MetadataService`2.<ExecuteRemoteProviders>d__43.MoveNext()
Luke 42078 Posted April 16, 2018 Posted April 16, 2018 That's not a crash, that's just an error in the log file. The server can recover from that and continue moving forward. Can you please attach the complete emby server log? thanks.
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