Jump to content

Latest Embyserver in docker on Synology crashing and restarting all the time


Recommended Posts

gcraenen
Posted

I'm running docker on a Synology NAS (several years) and running the docker instance of Emby server in our home network for several years without problems. Since the ast few weeks embyserver keeps on crashing and restarting the docker instance. In the logging (got that via Portainer) i get the following:

 

Error Main: Error in appHost.Init

*** Error Report ***

Version: 4.7.0.1

Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3

Operating system: Linux version 3.10.105 (root@build3) (gcc version 4.9.3 20150311 (prerelease) (crosstool-NG 1.20.0) ) #25556 SMP Thu Mar 18 12:58:52 CST 2021

Framework: .NET Core 3.1.13

OS/Process: x64/x64

Runtime: system/System.Private.CoreLib.dll

Processor count: 8

Data path: /config

Application path: /system

System.TypeLoadException: System.TypeLoadException: Could not load type 'MediaBrowser.Model.Dlna.DeviceProfileInfo' from assembly 'MediaBrowser.Model, Version=4.7.0.1, Culture=neutral, PublicKeyToken=null'.

at System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType)

at System.Reflection.RuntimeMethodInfo.FetchNonReturnParameters()

at System.Reflection.RuntimeMethodInfo.GetParameters()

at Emby.Server.Implementations.Services.ServiceExecExtensions.GetActions(Type serviceType)

at Emby.Server.Implementations.Services.ServiceController.RegisterService(HttpListenerHost appHost, Type serviceType)

at Emby.Server.Implementations.Services.ServiceController.Init(HttpListenerHost appHost, Type[] serviceTypes)

at Emby.Server.Implementations.HttpServer.HttpListenerHost.AddParts(IEnumerable`1 services, IEnumerable`1 listeners)

at Emby.Server.Implementations.ApplicationHost.FindParts()

at Emby.Server.Implementations.ApplicationHost.Init()

at EmbyServer.HostedService.StartAsync(CancellationToken cancellationToken)

Source: System.Private.CoreLib

TargetSite: Void GetSignature(Void*, Int32, System.RuntimeFieldHandleInternal, System.IRuntimeMethodInfo, System.RuntimeType)



Info Main: Shutdown complete

[cont-finish.d] executing container finish scripts...

[cont-finish.d] done.

 

This from the beta version of the docker instance, but I'm getting the same from the "latest" version.

Didn't change configs etc of Emby, it was running fine the last year. Cannot use it now.

gcraenen
Posted

This is the logging for the "latest" version:

Info App: Loading DvdMounter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null from /config/plugins/DvdMounter.dll

Info App: Loading Emby.Dlna, Version=1.0.39.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Emby.Dlna.dll

Info App: Loading Emby.PortMapper, Version=1.0.4.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Emby.PortMapper.dll

Info App: Loading Emby.Server.CinemaMode, Version=1.0.35.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Emby.Server.CinemaMode.dll

Info App: Loading Emby.Webhooks, Version=1.0.14.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Emby.Webhooks.dll

Info App: Loading Fanart, Version=1.0.10.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Fanart.dll

Info App: Loading MovieDb, Version=1.3.8.0, Culture=neutral, PublicKeyToken=null from /config/plugins/MovieDb.dll

Info App: Loading MusicBrainz, Version=1.0.13.0, Culture=neutral, PublicKeyToken=null from /config/plugins/MusicBrainz.dll

Info App: Loading NfoMetadata, Version=1.0.34.0, Culture=neutral, PublicKeyToken=null from /config/plugins/NfoMetadata.dll

Info App: Loading OMDb, Version=1.0.12.0, Culture=neutral, PublicKeyToken=null from /config/plugins/OMDb.dll

Info App: Loading OpenSubtitles, Version=1.0.27.0, Culture=neutral, PublicKeyToken=null from /config/plugins/OpenSubtitles.dll

Info App: Loading StudioImages, Version=1.0.3.0, Culture=neutral, PublicKeyToken=null from /config/plugins/StudioImages.dll

Info App: Loading Tvdb, Version=1.0.36.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Tvdb.dll

Info App: Loading MBBackup, Version=1.4.5.0, Culture=neutral, PublicKeyToken=null from /config/plugins/MBBackup.dll

Info App: Loading IMVDb, Version=1.0.9.0, Culture=neutral, PublicKeyToken=null from /config/plugins/IMVDb.dll

Info App: Loading AutoBoxSets, Version=1.2.3.0, Culture=neutral, PublicKeyToken=null from /config/plugins/AutoBoxSets.dll

Info App: Loading Emby.AutoOrganize, Version=1.5.6.0, Culture=neutral, PublicKeyToken=null from /config/plugins/Emby.AutoOrganize.dll

Info App: Loading SubDb, Version=1.0.6.0, Culture=neutral, PublicKeyToken=null from /config/plugins/SubDb.dll

Info App: Loading Emby.Api, Version=4.6.1.0, Culture=neutral, PublicKeyToken=null

Info App: Loading Emby.Web, Version=4.6.1.0, Culture=neutral, PublicKeyToken=null

Info App: Loading MediaBrowser.Model, Version=4.6.1.0, Culture=neutral, PublicKeyToken=null

Info App: Loading MediaBrowser.Common, Version=4.6.1.0, Culture=neutral, PublicKeyToken=null

Info App: Loading MediaBrowser.Controller, Version=4.6.1.0, Culture=neutral, PublicKeyToken=null

Info App: Loading Emby.Providers, Version=4.6.1.0, Culture=neutral, PublicKeyToken=null

Info App: Loading Emby.Photos, Version=4.6.1.0, Culture=neutral, PublicKeyToken=null

Info App: Loading Emby.Server.Implementations, Version=4.6.1.0, Culture=neutral, PublicKeyToken=null

Info App: Loading Emby.LiveTV, Version=4.6.1.0, Culture=neutral, PublicKeyToken=null

Info App: Loading Emby.ActivityLog, Version=4.6.1.0, Culture=neutral, PublicKeyToken=null

Info App: Loading Emby.Server.MediaEncoding, Version=4.6.1.0, Culture=neutral, PublicKeyToken=null

Info App: Loading Emby.LocalMetadata, Version=4.6.1.0, Culture=neutral, PublicKeyToken=null

Info App: Loading Emby.Notifications, Version=4.6.1.0, Culture=neutral, PublicKeyToken=null

Info App: Loading Emby.Codecs.Dxva, Version=4.6.1.0, Culture=neutral, PublicKeyToken=null

Info App: Loading Emby.Codecs, Version=4.6.1.0, Culture=neutral, PublicKeyToken=null

Info App: Loading Emby.Server.Connect, Version=4.6.1.0, Culture=neutral, PublicKeyToken=null

Info App: Loading Emby.Server.Sync, Version=4.6.1.0, Culture=neutral, PublicKeyToken=null

Info App: Loading EmbyServer, Version=4.6.1.0, Culture=neutral, PublicKeyToken=null

Error App: LoaderException: Could not load type 'MediaBrowser.Model.Dlna.DeviceProfileInfo' from assembly 'MediaBrowser.Model, Version=4.6.1.0, Culture=neutral, PublicKeyToken=null'.

Error App: LoaderException: Could not load type 'MediaBrowser.Model.Dlna.DeviceProfileType' from assembly 'MediaBrowser.Model, Version=4.6.1.0, Culture=neutral, PublicKeyToken=null'.

Error App: LoaderException: Could not load type 'MediaBrowser.Controller.Entities.Movies.BoxSet' from assembly 'MediaBrowser.Controller, Version=4.6.1.0, Culture=neutral, PublicKeyToken=null'.

Error App: LoaderException: Could not load type 'MediaBrowser.Controller.Entities.Movies.BoxSet' from assembly 'MediaBrowser.Controller, Version=4.6.1.0, Culture=neutral, PublicKeyToken=null'.

Error App: LoaderException: Could not load type 'MediaBrowser.Controller.Entities.Movies.BoxSet' from assembly 'MediaBrowser.Controller, Version=4.6.1.0, Culture=neutral, PublicKeyToken=null'.

Error App: LoaderException: Could not load type 'MediaBrowser.Controller.Entities.Movies.BoxSet' from assembly 'MediaBrowser.Controller, Version=4.6.1.0, Culture=neutral, PublicKeyToken=null'.

Error App: LoaderException: Could not load type 'MediaBrowser.Controller.Entities.Movies.BoxSet' from assembly 'MediaBrowser.Controller, Version=4.6.1.0, Culture=neutral, PublicKeyToken=null'.

Error App: LoaderException: Could not load type 'MediaBrowser.Controller.Entities.Movies.BoxSet' from assembly 'MediaBrowser.Controller, Version=4.6.1.0, Culture=neutral, PublicKeyToken=null'.

Error App: LoaderException: Could not load type 'MediaBrowser.Controller.Library.IMetadataFileSaver' from assembly 'MediaBrowser.Controller, Version=4.6.1.0, Culture=neutral, PublicKeyToken=null'.

Error App: LoaderException: Could not load type 'MediaBrowser.Controller.Library.IMetadataFileSaver' from assembly 'MediaBrowser.Controller, Version=4.6.1.0, Culture=neutral, PublicKeyToken=null'.

Error App: LoaderException: Could not load type 'MediaBrowser.Controller.Library.IMetadataFileSaver' from assembly 'MediaBrowser.Controller, Version=4.6.1.0, Culture=neutral, PublicKeyToken=null'.

Error App: LoaderException: Could not load type 'MediaBrowser.Controller.Library.IMetadataFileSaver' from assembly 'MediaBrowser.Controller, Version=4.6.1.0, Culture=neutral, PublicKeyToken=null'.

Error App: LoaderException: Could not load type 'MediaBrowser.Controller.Library.IMetadataFileSaver' from assembly 'MediaBrowser.Controller, Version=4.6.1.0, Culture=neutral, PublicKeyToken=null'.

Error App: LoaderException: Could not load type 'MediaBrowser.Controller.Library.IMetadataFileSaver' from assembly 'MediaBrowser.Controller, Version=4.6.1.0, Culture=neutral, PublicKeyToken=null'.

Error App: LoaderException: Could not load type 'MediaBrowser.Controller.Library.IMetadataFileSaver' from assembly 'MediaBrowser.Controller, Version=4.6.1.0, Culture=neutral, PublicKeyToken=null'.

Error App: LoaderException: Method 'GetMetadata' in type 'NfoMetadata.Providers.AlbumNfoProvider' from assembly 'NfoMetadata, Version=1.0.34.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.

Error App: LoaderException: Method 'GetMetadata' in type 'NfoMetadata.Providers.ArtistNfoProvider' from assembly 'NfoMetadata, Version=1.0.34.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.

Error App: LoaderException: Method 'GetMetadata' in type 'NfoMetadata.Providers.BaseVideoNfoProvider`1' from assembly 'NfoMetadata, Version=1.0.34.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.

Error App: LoaderException: Method 'GetMetadata' in type 'NfoMetadata.Providers.EpisodeNfoProvider' from assembly 'NfoMetadata, Version=1.0.34.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.

Error App: LoaderException: Method 'GetMetadata' in type 'NfoMetadata.Providers.BaseVideoNfoProvider`1' from assembly 'NfoMetadata, Version=1.0.34.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.

Error App: LoaderException: Method 'GetMetadata' in type 'NfoMetadata.Providers.BaseVideoNfoProvider`1' from assembly 'NfoMetadata, Version=1.0.34.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.

Error App: LoaderException: Method 'GetMetadata' in type 'NfoMetadata.Providers.BaseVideoNfoProvider`1' from assembly 'NfoMetadata, Version=1.0.34.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.

Error App: LoaderException: Method 'GetMetadata' in type 'NfoMetadata.Providers.SeasonNfoProvider' from assembly 'NfoMetadata, Version=1.0.34.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.

Error App: LoaderException: Method 'GetMetadata' in type 'NfoMetadata.Providers.SeriesNfoProvider' from assembly 'NfoMetadata, Version=1.0.34.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.

Info SqliteUserRepository: Sqlite version: 3.35.5

Info SqliteUserRepository: Sqlite compiler options: COMPILER=gcc-8.3.0,ENABLE_COLUMN_METADATA,ENABLE_DBSTAT_VTAB,ENABLE_FTS3_PARENTHESIS,ENABLE_FTS3_TOKENIZER,ENABLE_FTS4,ENABLE_FTS5,ENABLE_GEOPOLY,ENABLE_JSON1,ENABLE_MATH_FUNCTIONS,ENABLE_PREUPDATE_HOOK,ENABLE_RTREE,ENABLE_SESSION,ENABLE_UNLOCK_NOTIFY,ENABLE_UPDATE_DELETE_LIMIT,LIKE_DOESNT_MATCH_BLOBS,MAX_SCHEMA_RETRY=25,MAX_VARIABLE_NUMBER=250000,OMIT_LOOKASIDE,SECURE_DELETE,THREADSAFE=1

Info SqliteUserRepository: Default journal_mode for /config/data/users.db is wal

Info AuthenticationRepository: Default journal_mode for /config/data/authentication.db is wal

Info ActivityRepository: Default journal_mode for /config/data/activitylog.db is wal

Info SqliteDisplayPreferencesRepository: Default journal_mode for /config/data/displaypreferences.db is wal

Info App: Adding HttpListener prefix http://+:8096/

Info SqliteItemRepository: Default journal_mode for /config/data/library.db is wal

Info SqliteItemRepository: cache_size is -98304

Info SqliteItemRepository: page_size is 4096

Error Main: Error in appHost.Init

	*** Error Report ***

	Version: 4.6.1.0

	Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3

	Operating system: Linux version 3.10.105 (root@build3) (gcc version 4.9.3 20150311 (prerelease) (crosstool-NG 1.20.0) ) #25556 SMP Thu Mar 18 12:58:52 CST 2021

	Framework: .NET Core 3.1.13

	OS/Process: x64/x64

	Runtime: system/System.Private.CoreLib.dll

	Processor count: 8

	Data path: /config

	Application path: /system

	System.TypeLoadException: System.TypeLoadException: Could not load type 'MediaBrowser.Model.Dlna.DeviceProfileInfo' from assembly 'MediaBrowser.Model, Version=4.6.1.0, Culture=neutral, PublicKeyToken=null'.

	   at System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType)

	   at System.Reflection.RuntimeMethodInfo.FetchNonReturnParameters()

	   at System.Reflection.RuntimeMethodInfo.GetParameters()

	   at Emby.Server.Implementations.Services.ServiceExecExtensions.GetActions(Type serviceType)

	   at Emby.Server.Implementations.Services.ServiceController.RegisterService(HttpListenerHost appHost, Type serviceType)

	   at Emby.Server.Implementations.Services.ServiceController.Init(HttpListenerHost appHost, Type[] serviceTypes)

	   at Emby.Server.Implementations.HttpServer.HttpListenerHost.AddParts(IEnumerable`1 services, IEnumerable`1 listeners)

	   at Emby.Server.Implementations.ApplicationHost.FindParts()

	   at Emby.Server.Implementations.ApplicationHost.Init()

	   at EmbyServer.HostedService.StartAsync(CancellationToken cancellationToken)

	Source: System.Private.CoreLib

	TargetSite: Void GetSignature(Void*, Int32, System.RuntimeFieldHandleInternal, System.IRuntimeMethodInfo, System.RuntimeType)

	

Info Main: Shutdown complete

[cont-finish.d] executing container finish scripts...

[cont-finish.d] done.

[s6-finish] waiting for services.

[s6-finish] sending all processes the TERM signal.

 

Posted

Hi there, can you please attach the complete emby server log file? under 

/config/logs

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