Alan_hanley 0 Posted January 23, 2019 Posted January 23, 2019 Hey guys, I purchased Emby lifetime subscription and I'm loving it. Everything was working good on the new v4.0.1 until last night. Not sure if it is relevant but we had a power outage last night. On bringing the server back online Emby will load into the tray but crashes within a few seconds. Took a look at the logs and everything seems to be startup ok until it tries to load MediaBroswer.api.dll 2019-01-23 09:58:10.391 Error Main: Error in appHost.Init *** Error Report *** Version: 4.0.1.0 Command line: C:\Users\xxxx\AppData\Roaming\Emby-Server\system\EmbyServer.dll Operating system: Microsoft Windows NT 6.2.9200.0 64-Bit OS: True 64-Bit Process: True User Interactive: True Processor count: 8 Program data path: C:\Users\xxxx\AppData\Roaming\Emby-Server\programdata Application directory: C:\Users\xxxx\AppData\Roaming\Emby-Server\system System.BadImageFormatException: System.BadImageFormatException: Could not load file or assembly 'MediaBrowser.Api, Version=4.0.1.0, Culture=neutral, PublicKeyToken=null'. Format of the executable (.exe) or library (.dll) is invalid. File name: 'MediaBrowser.Api, Version=4.0.1.0, Culture=neutral, PublicKeyToken=null' at Emby.Server.Implementations.ApplicationHost.GetComposablePartAssemblies(FfmpegConfiguration ffmpegInfo) at Emby.Server.Implementations.ApplicationHost.DiscoverTypes(FfmpegConfiguration ffmpegInfo) at Emby.Server.Implementations.ApplicationHost.Init() at EmbyServer.Program.InitAppHost(CoreAppHost appHost, ILogger logger) Source: Emby.Server.Implementations TargetSite: System.Collections.Generic.List`1[system.Tuple`2[system.Reflection.Assembly,System.String]] GetComposablePartAssemblies(MediaBrowser.Controller.MediaEncoding.FfmpegConfiguration) at Emby.Server.Implementations.ApplicationHost.GetComposablePartAssemblies(FfmpegConfiguration ffmpegInfo) at Emby.Server.Implementations.ApplicationHost.DiscoverTypes(FfmpegConfiguration ffmpegInfo) at Emby.Server.Implementations.ApplicationHost.Init() at EmbyServer.Program.InitAppHost(CoreAppHost appHost, ILogger logger) This causes an unhandled exception on the same file and then an error closing the tray icon then the task is killed. I cleared out the addons folder just in case. So I figured just reinstall over the existing install but I get the following in the install.log ... Result of running operator 'ValueGreaterThanEqualTo' on property 'DotNet46Full_Release' and value '393297': true Result of checks for command 'DotNetFX46\NDP46-KB3045560-Web.exe' is 'Bypass' 'Microsoft .NET Framework 4.6 (x86 and x64)' RunCheck result: No Install Needed Launching Application. URLDownloadToCacheFile failed with HRESULT '-2146697208' Error: An error occurred trying to download 'http://embydata.com/downloads/server/release8/MediaBrowser.Server.Installer.application'.
Solution ebr 16192 Posted January 23, 2019 Solution Posted January 23, 2019 Hi. Try reinstalling the server from the website over top of your existing information. You may also want to run some utilities on your disc drive(s) as it sounds like something has become corrupted. Let us know how it goes. Thanks.
Alan_hanley 0 Posted January 23, 2019 Author Posted January 23, 2019 That's what it was. The power outage corrupted some files in the system folder. I installed Emby server on a second machine and copied the system folder on top of the 4.0 install. Emby started right up. Guess I should battery backup the server since the OS and Emby is running off an SSD.
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