Magik0722 1 Posted November 24, 2019 Share Posted November 24, 2019 Started having an issue recently with my EmbyServer. Was working fine a couple of days ago but suddenly started having this issue. I wouldnt be able to connect to my server and would get a problem loading page error on my browser when going to the page. I tried replacing my files with the new system files on the latest update but that wasn't able to fix it. I have restarted both my PC and server several times but that hasn't worked either. I attached my latest log. Does anyone know what the issue could be? 2019-11-24 11:58:21.128 Info Main: Application path: F:\Niche Apps\Emby\system\EmbyServer.dll 2019-11-24 11:58:21.611 Info Main: Emby Command line: F:\Niche Apps\Emby\system\EmbyServer.dll Operating system: Microsoft Windows NT 6.2.9200.0 64-Bit OS: True 64-Bit Process: True User Interactive: True Runtime: file:///F:/Niche Apps/Emby/system/System.Private.CoreLib.dll Processor count: 4 Program data path: F:\Niche Apps\Emby\programdata Application directory: F:\Niche Apps\Emby\system 2019-11-24 11:58:21.612 Info Main: Tray icon path: F:\Niche Apps\Emby\system\embytray 2019-11-24 11:58:22.122 Info App: Application version: 4.3.0.26 2019-11-24 11:58:22.123 Info App: Loading assemblies 2019-11-24 11:58:22.137 Info App: File F:\Niche Apps\Emby\programdata\plugins\AudioDb.dll has version 1.0.6.0 2019-11-24 11:58:22.138 Info App: File F:\Niche Apps\Emby\system\plugins\AudioDb.dll has version 1.0.6.0 2019-11-24 11:58:22.138 Info App: File F:\Niche Apps\Emby\programdata\plugins\DvdMounter.dll has version 1.0.0.0 2019-11-24 11:58:22.138 Info App: File F:\Niche Apps\Emby\system\plugins\DvdMounter.dll has version 1.0.0.0 2019-11-24 11:58:22.138 Info App: File F:\Niche Apps\Emby\programdata\plugins\Emby.Dlna.dll has version 1.0.23.0 2019-11-24 11:58:22.139 Info App: File F:\Niche Apps\Emby\system\plugins\Emby.Dlna.dll has version 1.0.31.0 2019-11-24 11:58:22.139 Info App: Copying plugin from F:\Niche Apps\Emby\system\plugins\Emby.Dlna.dll to F:\Niche Apps\Emby\programdata\plugins\Emby.Dlna.dll 2019-11-24 11:58:22.247 Info App: File F:\Niche Apps\Emby\programdata\plugins\Emby.PortMapper.dll has version 1.0.2.0 2019-11-24 11:58:22.247 Info App: File F:\Niche Apps\Emby\system\plugins\Emby.PortMapper.dll has version 1.0.2.0 2019-11-24 11:58:22.247 Info App: File F:\Niche Apps\Emby\programdata\plugins\Emby.Server.CinemaMode.dll has version 1.0.22.0 2019-11-24 11:58:22.248 Info App: File F:\Niche Apps\Emby\system\plugins\Emby.Server.CinemaMode.dll has version 1.0.30.0 2019-11-24 11:58:22.248 Info App: Copying plugin from F:\Niche Apps\Emby\system\plugins\Emby.Server.CinemaMode.dll to F:\Niche Apps\Emby\programdata\plugins\Emby.Server.CinemaMode.dll 2019-11-24 11:58:22.316 Info App: File F:\Niche Apps\Emby\programdata\plugins\Fanart.dll has version 1.0.3.0 2019-11-24 11:58:22.316 Info App: File F:\Niche Apps\Emby\system\plugins\Fanart.dll has version 1.0.5.0 2019-11-24 11:58:22.316 Info App: Copying plugin from F:\Niche Apps\Emby\system\plugins\Fanart.dll to F:\Niche Apps\Emby\programdata\plugins\Fanart.dll 2019-11-24 11:58:22.353 Info App: File F:\Niche Apps\Emby\programdata\plugins\MovieDb.dll has version 1.1.9.0 2019-11-24 11:58:22.354 Info App: File F:\Niche Apps\Emby\system\plugins\MovieDb.dll has version 1.2.6.0 2019-11-24 11:58:22.354 Info App: Copying plugin from F:\Niche Apps\Emby\system\plugins\MovieDb.dll to F:\Niche Apps\Emby\programdata\plugins\MovieDb.dll 2019-11-24 11:58:22.383 Info App: File F:\Niche Apps\Emby\programdata\plugins\MusicBrainz.dll has version 1.0.9.0 2019-11-24 11:58:22.384 Info App: File F:\Niche Apps\Emby\system\plugins\MusicBrainz.dll has version 1.0.9.0 2019-11-24 11:58:22.384 Info App: File F:\Niche Apps\Emby\programdata\plugins\NfoMetadata.dll has version 1.0.18.0 2019-11-24 11:58:22.384 Info App: File F:\Niche Apps\Emby\system\plugins\NfoMetadata.dll has version 1.0.23.0 2019-11-24 11:58:22.384 Info App: Copying plugin from F:\Niche Apps\Emby\system\plugins\NfoMetadata.dll to F:\Niche Apps\Emby\programdata\plugins\NfoMetadata.dll 2019-11-24 11:58:22.425 Info App: File F:\Niche Apps\Emby\programdata\plugins\OMDb.dll has version 1.0.6.0 2019-11-24 11:58:22.426 Info App: File F:\Niche Apps\Emby\system\plugins\OMDb.dll has version 1.0.7.0 2019-11-24 11:58:22.426 Info App: Copying plugin from F:\Niche Apps\Emby\system\plugins\OMDb.dll to F:\Niche Apps\Emby\programdata\plugins\OMDb.dll 2019-11-24 11:58:22.457 Info App: File F:\Niche Apps\Emby\programdata\plugins\OpenSubtitles.dll has version 1.0.18.0 2019-11-24 11:58:22.458 Info App: File F:\Niche Apps\Emby\system\plugins\OpenSubtitles.dll has version 1.0.22.0 2019-11-24 11:58:22.458 Info App: Copying plugin from F:\Niche Apps\Emby\system\plugins\OpenSubtitles.dll to F:\Niche Apps\Emby\programdata\plugins\OpenSubtitles.dll 2019-11-24 11:58:22.476 Info App: File F:\Niche Apps\Emby\programdata\plugins\StudioImages.dll has version 1.0.1.0 2019-11-24 11:58:22.476 Info App: File F:\Niche Apps\Emby\system\plugins\StudioImages.dll has version 1.0.1.0 2019-11-24 11:58:22.476 Info App: File F:\Niche Apps\Emby\programdata\plugins\Tvdb.dll has version 1.0.17.0 2019-11-24 11:58:22.477 Info App: File F:\Niche Apps\Emby\system\plugins\Tvdb.dll has version 1.0.22.0 2019-11-24 11:58:22.477 Info App: Copying plugin from F:\Niche Apps\Emby\system\plugins\Tvdb.dll to F:\Niche Apps\Emby\programdata\plugins\Tvdb.dll 2019-11-24 11:58:22.500 Info App: File F:\Niche Apps\Emby\programdata\plugins\BlurayMounter.dll has version 1.0.0.0 2019-11-24 11:58:22.501 Info App: File F:\Niche Apps\Emby\system\plugins\BlurayMounter.dll has version 1.0.0.0 2019-11-24 11:58:22.502 Info App: File F:\Niche Apps\Emby\programdata\plugins\Emby.Webhooks.dll has version 1.0.8.0 2019-11-24 11:58:22.502 Info App: File F:\Niche Apps\Emby\system\plugins\Emby.Webhooks.dll has version 1.0.8.0 2019-11-24 11:58:22.713 Info App: Loading AudioDb, Version=1.0.6.0, Culture=neutral, PublicKeyToken=null from F:\Niche Apps\Emby\programdata\plugins\AudioDb.dll 2019-11-24 11:58:22.713 Info App: Loading DvdMounter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null from F:\Niche Apps\Emby\programdata\plugins\DvdMounter.dll 2019-11-24 11:58:22.713 Info App: Loading Emby.Dlna, Version=1.0.31.0, Culture=neutral, PublicKeyToken=null from F:\Niche Apps\Emby\programdata\plugins\Emby.Dlna.dll 2019-11-24 11:58:22.713 Info App: Loading Emby.PortMapper, Version=1.0.2.0, Culture=neutral, PublicKeyToken=null from F:\Niche Apps\Emby\programdata\plugins\Emby.PortMapper.dll 2019-11-24 11:58:22.713 Info App: Loading Emby.Server.CinemaMode, Version=1.0.30.0, Culture=neutral, PublicKeyToken=null from F:\Niche Apps\Emby\programdata\plugins\Emby.Server.CinemaMode.dll 2019-11-24 11:58:22.713 Info App: Loading Fanart, Version=1.0.5.0, Culture=neutral, PublicKeyToken=null from F:\Niche Apps\Emby\programdata\plugins\Fanart.dll 2019-11-24 11:58:22.713 Info App: Loading MovieDb, Version=1.2.6.0, Culture=neutral, PublicKeyToken=null from F:\Niche Apps\Emby\programdata\plugins\MovieDb.dll 2019-11-24 11:58:22.713 Info App: Loading MusicBrainz, Version=1.0.9.0, Culture=neutral, PublicKeyToken=null from F:\Niche Apps\Emby\programdata\plugins\MusicBrainz.dll 2019-11-24 11:58:22.713 Info App: Loading NfoMetadata, Version=1.0.23.0, Culture=neutral, PublicKeyToken=null from F:\Niche Apps\Emby\programdata\plugins\NfoMetadata.dll 2019-11-24 11:58:22.713 Info App: Loading OMDb, Version=1.0.7.0, Culture=neutral, PublicKeyToken=null from F:\Niche Apps\Emby\programdata\plugins\OMDb.dll 2019-11-24 11:58:22.713 Info App: Loading OpenSubtitles, Version=1.0.22.0, Culture=neutral, PublicKeyToken=null from F:\Niche Apps\Emby\programdata\plugins\OpenSubtitles.dll 2019-11-24 11:58:22.713 Info App: Loading StudioImages, Version=1.0.1.0, Culture=neutral, PublicKeyToken=null from F:\Niche Apps\Emby\programdata\plugins\StudioImages.dll 2019-11-24 11:58:22.713 Info App: Loading Tvdb, Version=1.0.22.0, Culture=neutral, PublicKeyToken=null from F:\Niche Apps\Emby\programdata\plugins\Tvdb.dll 2019-11-24 11:58:22.713 Info App: Loading IMVDb, Version=1.0.7.0, Culture=neutral, PublicKeyToken=null from F:\Niche Apps\Emby\programdata\plugins\IMVDb.dll 2019-11-24 11:58:22.713 Info App: Loading BlurayMounter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null from F:\Niche Apps\Emby\programdata\plugins\BlurayMounter.dll 2019-11-24 11:58:22.713 Info App: Loading Emby.Webhooks, Version=1.0.8.0, Culture=neutral, PublicKeyToken=null from F:\Niche Apps\Emby\programdata\plugins\Emby.Webhooks.dll 2019-11-24 11:58:22.713 Info App: Loading MediaBrowser.Api, Version=4.3.0.26, Culture=neutral, PublicKeyToken=null 2019-11-24 11:58:22.713 Info App: Loading MediaBrowser.WebDashboard, Version=4.3.0.26, Culture=neutral, PublicKeyToken=null 2019-11-24 11:58:22.713 Info App: Loading MediaBrowser.Model, Version=4.3.0.26, Culture=neutral, PublicKeyToken=null 2019-11-24 11:58:22.713 Info App: Loading MediaBrowser.Common, Version=4.3.0.26, Culture=neutral, PublicKeyToken=null 2019-11-24 11:58:22.713 Info App: Loading MediaBrowser.Controller, Version=4.3.0.26, Culture=neutral, PublicKeyToken=null 2019-11-24 11:58:22.713 Info App: Loading MediaBrowser.Providers, Version=4.3.0.26, Culture=neutral, PublicKeyToken=null 2019-11-24 11:58:22.713 Info App: Loading Emby.Photos, Version=4.3.0.26, Culture=neutral, PublicKeyToken=null 2019-11-24 11:58:22.713 Info App: Loading Emby.Server.Implementations, Version=4.3.0.26, Culture=neutral, PublicKeyToken=null 2019-11-24 11:58:22.713 Info App: Loading Emby.LiveTV, Version=4.3.0.26, Culture=neutral, PublicKeyToken=null 2019-11-24 11:58:22.713 Info App: Loading Emby.ActivityLog, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 2019-11-24 11:58:22.713 Info App: Loading Emby.Server.MediaEncoding, Version=4.3.0.26, Culture=neutral, PublicKeyToken=null 2019-11-24 11:58:22.713 Info App: Loading MediaBrowser.LocalMetadata, Version=4.3.0.26, Culture=neutral, PublicKeyToken=null 2019-11-24 11:58:22.713 Info App: Loading Emby.Notifications, Version=4.3.0.26, Culture=neutral, PublicKeyToken=null 2019-11-24 11:58:22.713 Info App: Loading Emby.Codecs.Dxva, Version=4.3.0.26, Culture=neutral, PublicKeyToken=null 2019-11-24 11:58:22.713 Info App: Loading Emby.Codecs, Version=4.3.0.26, Culture=neutral, PublicKeyToken=null 2019-11-24 11:58:22.713 Info App: Loading Emby.Server.Connect, Version=4.3.0.26, Culture=neutral, PublicKeyToken=null 2019-11-24 11:58:22.713 Info App: Loading Emby.Server.Sync, Version=4.3.0.26, Culture=neutral, PublicKeyToken=null 2019-11-24 11:58:22.713 Info App: Loading EmbyServer, Version=4.3.0.26, Culture=neutral, PublicKeyToken=null 2019-11-24 11:58:22.858 Info SqliteUserRepository: Sqlite version: 3.30.1 2019-11-24 11:58:22.858 Info SqliteUserRepository: Sqlite compiler options: COMPILER=msvc-1500,ENABLE_COLUMN_METADATA,ENABLE_DBSTAT_VTAB,ENABLE_FTS3,ENABLE_FTS4,ENABLE_FTS5,ENABLE_GEOPOLY,ENABLE_JSON1,ENABLE_RTREE,ENABLE_STMTVTAB,MAX_TRIGGER_DEPTH=100,TEMP_STORE=1,THREADSAFE=1 2019-11-24 11:58:22.877 Info SqliteUserRepository: Default journal_mode for F:\Niche Apps\Emby\programdata\data\users.db is wal 2019-11-24 11:58:22.913 Info AuthenticationRepository: Default journal_mode for F:\Niche Apps\Emby\programdata\data\authentication.db is wal 2019-11-24 11:58:22.986 Info ActivityRepository: Default journal_mode for F:\Niche Apps\Emby\programdata\data\activitylog.db is wal 2019-11-24 11:58:22.994 Info SqliteDisplayPreferencesRepository: Default journal_mode for F:\Niche Apps\Emby\programdata\data\displaypreferences.db is wal 2019-11-24 11:58:22.999 Info App: Adding HttpListener prefix http://+:8096/ 2019-11-24 11:58:23.016 Info App: Adding HttpListener prefix https://+:8920/ 2019-11-24 11:58:23.158 Error Main: Error in appHost.Init *** Error Report *** Version: 4.3.0.26 Command line: F:\Niche Apps\Emby\system\EmbyServer.dll Operating system: Microsoft Windows NT 6.2.9200.0 64-Bit OS: True 64-Bit Process: True User Interactive: True Runtime: file:///F:/Niche Apps/Emby/system/System.Private.CoreLib.dll Processor count: 4 Program data path: F:\Niche Apps\Emby\programdata Application directory: F:\Niche Apps\Emby\system SQLitePCL.pretty.SQLiteException: Corrupt: database disk image is malformed - PRAGMA journal_mode SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown. at SQLitePCL.pretty.SQLiteDatabaseConnection.PrepareStatement(String sql, String& tail) at SQLitePCL.pretty.DatabaseConnection.PrepareStatement(IDatabaseConnection This, String sql) at Emby.Sqlite.BaseSqliteRepository.CreateConnection(Boolean isReadOnly) at Emby.Server.Implementations.Data.SqliteItemRepository.Initialize(SqliteUserDataRepository userDataRepo, IUserManager userManager) at Emby.Server.Implementations.ApplicationHost.InitDatabases() at Emby.Server.Implementations.ApplicationHost.Init() at EmbyServer.HostedService.StartAsync(CancellationToken cancellationToken) Source: SQLitePCL.pretty TargetSite: SQLitePCL.pretty.IStatement PrepareStatement(System.String, System.String ByRef) 2019-11-24 11:58:23.160 Info Main: Shutdown complete Link to comment Share on other sites More sharing options...
ebr 14929 Posted November 25, 2019 Share Posted November 25, 2019 Hi. Did your machine lose power or did you kill the server task via task manager (or run out of disc space)? Unfortunately, it looks like one of your database files is corrupt. Do you have any raw backups (not the plugin backup)? Luke can probably tell for sure, but I think it is the displayprefrences.db. Link to comment Share on other sites More sharing options...
Magik0722 1 Posted November 25, 2019 Author Share Posted November 25, 2019 Yeah I lost power for a second around the same time. I still do have all the server files I had when I used to run it on a different machine. Do I need to grab some files from there? Link to comment Share on other sites More sharing options...
Luke 37113 Posted November 27, 2019 Share Posted November 27, 2019 @@Magik0722 Actually unfortunately it's the library.db file. Please shutdown the server and rename this file: F:\Niche Apps\Emby\programdata\data\library.db Then start the server back up and you'll need to run a library scan. Please note, the most common cause of a corrupt database is a sudden and abrupt termination of the emby server process - for example, a power loss, server machine crash, force killing the process, etc. Let us know how you get on. Thanks. 1 Link to comment Share on other sites More sharing options...
bretswinney 20 Posted March 18, 2020 Share Posted March 18, 2020 What file keeps up with watched content @@Luke? Link to comment Share on other sites More sharing options...
Luke 37113 Posted March 18, 2020 Share Posted March 18, 2020 What file keeps up with watched content @@Luke? library.db. Link to comment Share on other sites More sharing options...
bretswinney 20 Posted March 18, 2020 Share Posted March 18, 2020 I am having issue with scanning my libraries. Log attached embyserver.txt Link to comment Share on other sites More sharing options...
Luke 37113 Posted March 18, 2020 Share Posted March 18, 2020 What issue? Link to comment Share on other sites More sharing options...
bretswinney 20 Posted March 18, 2020 Share Posted March 18, 2020 I am having issue with the shows scanning but no finding the episodes. Also the scan is taking forever. I have been scanning for over a day. It all started when I was having issues with my up next not loading. First I tried to vacuum the database but that did not work then I tried to separate my shows in different libraries which lost all of my metadata. So now I am trying to put it all back & it isn't working. I just need some help. Thanks in advance! Bret Example attached. Link to comment Share on other sites More sharing options...
Luke 37113 Posted March 18, 2020 Share Posted March 18, 2020 You enabled MovieDb and Omdb for your tv library, that's why it's taking a long time. Those will cause it to take considerably longer. Link to comment Share on other sites More sharing options...
bretswinney 20 Posted March 18, 2020 Share Posted March 18, 2020 So what should I have enabled just tvdb? Link to comment Share on other sites More sharing options...
Luke 37113 Posted March 19, 2020 Share Posted March 19, 2020 Defaults are tvdb only for the tv libraries. It's up to you to enable whatever you wish, you just have to be aware that everything comes with a cost. Link to comment Share on other sites More sharing options...
bretswinney 20 Posted March 19, 2020 Share Posted March 19, 2020 I just continue to have issues with next up & latest tv shows loading Any suggestions? Link to comment Share on other sites More sharing options...
Luke 37113 Posted March 19, 2020 Share Posted March 19, 2020 What issues exactly? Link to comment Share on other sites More sharing options...
bretswinney 20 Posted March 19, 2020 Share Posted March 19, 2020 TV Shows library is very slow loading along with Up Next Volley Errors all the time Sent from my iPad using Tapatalk Link to comment Share on other sites More sharing options...
bretswinney 20 Posted March 20, 2020 Share Posted March 20, 2020 Also still having issue with my scans locking up & not completing. Link to comment Share on other sites More sharing options...
Luke 37113 Posted March 20, 2020 Share Posted March 20, 2020 First I tried to vacuum the database but that did not work What does "did not work" mean? Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted March 20, 2020 Share Posted March 20, 2020 I am having issue with the shows scanning but no finding the episodes. Also the scan is taking forever. I have been scanning for over a day. It all started when I was having issues with my up next not loading. First I tried to vacuum the database but that did not work then I tried to separate my shows in different libraries which lost all of my metadata. So now I am trying to put it all back & it isn't working. I just need some help. Thanks in advance! Bret Example attached. If a initial library scan has not finished, nothing in Emby is going to work right. Is you metadata/images with media or centralized? If centralized, the new database nukes all central metadata/images and starts over as all the linking only existed in previous database. Just like central metadata/images are lost if you move/separate your libraries. I will assume Vacuum was reference to not helping your issue. Link to comment Share on other sites More sharing options...
bretswinney 20 Posted March 20, 2020 Share Posted March 20, 2020 Yes vacuuming did not fix the issue The initial scan is having issues finishing Sent from my iPad using Tapatalk Link to comment Share on other sites More sharing options...
Luke 37113 Posted March 20, 2020 Share Posted March 20, 2020 Are you sure it's an issue, or is it just taking longer than you'd like? Link to comment Share on other sites More sharing options...
Happy2Play 8296 Posted March 20, 2020 Share Posted March 20, 2020 Yes vacuuming did not fix the issue The initial scan is having issues finishing Sent from my iPad using Tapatalk What does that mean? How large of library? Link to comment Share on other sites More sharing options...
bretswinney 20 Posted March 20, 2020 Share Posted March 20, 2020 When I run scan it says it completes but all the shows don’t show up Sent from my iPad using Tapatalk Link to comment Share on other sites More sharing options...
bretswinney 20 Posted March 20, 2020 Share Posted March 20, 2020 What does that mean? How large of library?Around 1000 shows Sent from my iPad using Tapatalk Link to comment Share on other sites More sharing options...
bretswinney 20 Posted March 20, 2020 Share Posted March 20, 2020 (edited) New shows added are being detected but not things that are already there Sent from my iPad using Tapatalk Edited March 20, 2020 by bretswinney Link to comment Share on other sites More sharing options...
Luke 37113 Posted March 20, 2020 Share Posted March 20, 2020 When I run scan it says it completes but all the shows don’t show up Sent from my iPad using Tapatalk Example? Link to comment Share on other sites More sharing options...
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