hstamas 153 Posted April 7, 2019 Share Posted April 7, 2019 Had a computer corruption last night which forced me to restore my system from a Time Machine backup. Now when I launch Ember Server and try to connect I get the following message: “Emby Server is loading. Please try again shortly.” Waited hours to see if it eventually loads which it does not. Time Machine restore should be an exact replacement of files so I cant figure out what corrupted EmbyServer Link to comment Share on other sites More sharing options...
Luke 37064 Posted April 7, 2019 Share Posted April 7, 2019 Hi there, can you locate an Emby Server log? Link to comment Share on other sites More sharing options...
hstamas 153 Posted April 7, 2019 Author Share Posted April 7, 2019 (edited) Hi there, can you locate an Emby Server log?Certainly thought of that @@Luke bu haven’t had time today to search for them. Going to look now but if you see his before I can find them. Where do they live on a Mac? Assuming it’s a hidden folder somewhere? FOUND IT! Attached. embyserver-63690245666.txt Edited April 8, 2019 by hstamas Link to comment Share on other sites More sharing options...
Luke 37064 Posted April 8, 2019 Share Posted April 8, 2019 SQLitePCL.pretty.SQLiteException: Corrupt: database disk image is malformed You'll need to shutdown the server, then rename this file: /Users/miniHT/.config/emby-server/data/library.db Then start up and run a library scan. This will result in loss of user data so hopefully you have a backup of that. Typical causes of database corruption are sudden and abrupt terminations of the emby server process, which be from something like a power loss, machine crash, or force closing the server process. Link to comment Share on other sites More sharing options...
hstamas 153 Posted April 8, 2019 Author Share Posted April 8, 2019 SQLitePCL.pretty.SQLiteException: Corrupt: database disk image is malformed You'll need to shutdown the server, then rename this file: /Users/miniHT/.config/emby-server/data/library.db Then start up and run a library scan. This will result in loss of user data so hopefully you have a backup of that. Typical causes of database corruption are sudden and abrupt terminations of the emby server process, which be from something like a power loss, machine crash, or force closing the server process. That’s unfortunate but I did have a pretty good crash so that would explain it. Weird thing is that I did a time machine restore so I would think the bad file would have gotten replaced? Can ou tell me if I go further back in my backups would just replacing the entire server folder fix things? If not, where would I find the user data that needs to be restored. I have incremental backups of my entire system but never did any sort of automated Emby user backup if there is such a thing? Link to comment Share on other sites More sharing options...
Luke 37064 Posted April 8, 2019 Share Posted April 8, 2019 It's possible, yes you could try that. Link to comment Share on other sites More sharing options...
hstamas 153 Posted April 8, 2019 Author Share Posted April 8, 2019 Tried that and sadly it didnt work. Im surprised as its an older version of the library.db so how would it still be corrupted? Where would I find my user files @@Luke and what is the best method moving forward to back those up in case this ever happens again? Link to comment Share on other sites More sharing options...
Luke 37064 Posted April 8, 2019 Share Posted April 8, 2019 What does "didn't work" mean? Link to comment Share on other sites More sharing options...
hstamas 153 Posted April 8, 2019 Author Share Posted April 8, 2019 Still displaying the original message: "Emby Server is loading. Please try again shortly." Link to comment Share on other sites More sharing options...
Luke 37064 Posted April 8, 2019 Share Posted April 8, 2019 does that same error message appear in the log file? Link to comment Share on other sites More sharing options...
Happy2Play 8281 Posted April 8, 2019 Share Posted April 8, 2019 (edited) Still displaying the original message: "Emby Server is loading. Please try again shortly." This message only means you tried to launch Emby before it is available. Unless there is something else in your log. Edited April 8, 2019 by Happy2Play Link to comment Share on other sites More sharing options...
hstamas 153 Posted April 9, 2019 Author Share Posted April 9, 2019 Thanks for the tips guys. I need to restart my computer to get emby to launch again (long running Mac issue) but I can’t restart until I’m done restoring some media files I lost. Probably won’t be able to try again until tomorrow but will report back then. Link to comment Share on other sites More sharing options...
Luke 37064 Posted April 9, 2019 Share Posted April 9, 2019 Let us know how you get on. Link to comment Share on other sites More sharing options...
hstamas 153 Posted April 9, 2019 Author Share Posted April 9, 2019 Managed to get the server running again by replacing the entire sever folder with a backup. It does seem to want to rescan all or most of my media again but I havent lost any user settings so thats good at least. Thanks for your help guys! Link to comment Share on other sites More sharing options...
jrpinto 0 Posted April 28, 2019 Share Posted April 28, 2019 Hi, You all. Tried to install Emby Server on Mac (mid 2011), running High Sierra. I've downloaded the zip file, unpacked it to applications folder and started the server. Unfortunatelly, when I try to get into config page, the browser says "Emby Server is loading. Please try again shortly", even with one hour after is has started. What do I have to do? How do I get the log file to send you? Thanx in advance. Link to comment Share on other sites More sharing options...
Luke 37064 Posted April 28, 2019 Share Posted April 28, 2019 Hi there, is MacOS fully up to date? Link to comment Share on other sites More sharing options...
jrpinto 0 Posted April 30, 2019 Share Posted April 30, 2019 Hi there, is MacOS fully up to date? Version of MacOS is 10.13.6 (up to date). Link to comment Share on other sites More sharing options...
Luke 37064 Posted April 30, 2019 Share Posted April 30, 2019 The log file path should be similar to this, just change the user name: /Users/miniHT/.config/emby-server/logs Link to comment Share on other sites More sharing options...
peeet 2 Posted February 20, 2020 Share Posted February 20, 2020 I'm having this same problem. Launches at startup, then just gives me the Please Try Again Shortly error. I've attached my log. 2020-02-20 10:23:01.309 Info Main: Application path: /Applications/EmbyServer.app/Contents/MacOS/EmbyServer.dll 2020-02-20 10:23:01.554 Info Main: Emby Command line: /Applications/EmbyServer.app/Contents/MacOS/EmbyServer.dll Operating system: Unix 18.7.0.0 64-Bit OS: True 64-Bit Process: True User Interactive: True Runtime: file:///Applications/EmbyServer.app/Contents/MacOS/System.Private.CoreLib.dll Processor count: 4 Program data path: /Users/theater/.config/emby-server Application directory: /Applications/EmbyServer.app/Contents/MacOS 2020-02-20 10:23:01.556 Info Main: Tray icon path: /Applications/EmbyServer.app/Contents/MacOS/embytray 2020-02-20 10:23:01.612 Info App: Application version: 4.3.1.0 2020-02-20 10:23:01.614 Info App: Loading assemblies 2020-02-20 10:23:01.662 Info App: File /Users/theater/.config/emby-server/plugins/OpenSubtitles.dll has version 1.0.23.0 2020-02-20 10:23:01.662 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/OpenSubtitles.dll has version 1.0.22.0 2020-02-20 10:23:01.663 Info App: File /Users/theater/.config/emby-server/plugins/NfoMetadata.dll has version 1.0.24.0 2020-02-20 10:23:01.665 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/NfoMetadata.dll has version 1.0.23.0 2020-02-20 10:23:01.666 Info App: File /Users/theater/.config/emby-server/plugins/MovieDb.dll has version 1.3.0.0 2020-02-20 10:23:01.667 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/MovieDb.dll has version 1.2.6.0 2020-02-20 10:23:01.668 Info App: File /Users/theater/.config/emby-server/plugins/Emby.Webhooks.dll has version 1.0.9.0 2020-02-20 10:23:01.668 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/Emby.Webhooks.dll has version 1.0.8.0 2020-02-20 10:23:01.669 Info App: File /Users/theater/.config/emby-server/plugins/Emby.PortMapper.dll has version 1.0.3.0 2020-02-20 10:23:01.670 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/Emby.PortMapper.dll has version 1.0.2.0 2020-02-20 10:23:01.671 Info App: File /Users/theater/.config/emby-server/plugins/BlurayMounter.dll has version 1.0.0.0 2020-02-20 10:23:01.672 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/BlurayMounter.dll has version 1.0.0.0 2020-02-20 10:23:01.673 Info App: File /Users/theater/.config/emby-server/plugins/Tvdb.dll has version 1.0.29.0 2020-02-20 10:23:01.674 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/Tvdb.dll has version 1.0.22.0 2020-02-20 10:23:01.674 Info App: File /Users/theater/.config/emby-server/plugins/StudioImages.dll has version 1.0.3.0 2020-02-20 10:23:01.675 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/StudioImages.dll has version 1.0.1.0 2020-02-20 10:23:01.676 Info App: File /Users/theater/.config/emby-server/plugins/Emby.Dlna.dll has version 1.0.34.0 2020-02-20 10:23:01.678 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/Emby.Dlna.dll has version 1.0.33.0 2020-02-20 10:23:01.678 Info App: File /Users/theater/.config/emby-server/plugins/Fanart.dll has version 1.0.5.0 2020-02-20 10:23:01.679 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/Fanart.dll has version 1.0.5.0 2020-02-20 10:23:01.680 Info App: File /Users/theater/.config/emby-server/plugins/MusicBrainz.dll has version 1.0.12.0 2020-02-20 10:23:01.680 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/MusicBrainz.dll has version 1.0.9.0 2020-02-20 10:23:01.681 Info App: File /Users/theater/.config/emby-server/plugins/OMDb.dll has version 1.0.9.0 2020-02-20 10:23:01.682 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/OMDb.dll has version 1.0.7.0 2020-02-20 10:23:01.682 Info App: File /Users/theater/.config/emby-server/plugins/DvdMounter.dll has version 1.0.0.0 2020-02-20 10:23:01.683 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/DvdMounter.dll has version 1.0.0.0 2020-02-20 10:23:01.683 Info App: File /Users/theater/.config/emby-server/plugins/AudioDb.dll has version 1.0.6.0 2020-02-20 10:23:01.684 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/AudioDb.dll has version 1.0.6.0 2020-02-20 10:23:01.684 Info App: File /Users/theater/.config/emby-server/plugins/Emby.Server.CinemaMode.dll has version 1.0.30.0 2020-02-20 10:23:01.685 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/Emby.Server.CinemaMode.dll has version 1.0.30.0 2020-02-20 10:23:01.709 Info App: Loading OpenSubtitles, Version=1.0.23.0, Culture=neutral, PublicKeyToken=null from /Users/theater/.config/emby-server/plugins/OpenSubtitles.dll 2020-02-20 10:23:01.709 Info App: Loading NfoMetadata, Version=1.0.24.0, Culture=neutral, PublicKeyToken=null from /Users/theater/.config/emby-server/plugins/NfoMetadata.dll 2020-02-20 10:23:01.709 Info App: Loading MovieDb, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null from /Users/theater/.config/emby-server/plugins/MovieDb.dll 2020-02-20 10:23:01.709 Info App: Loading Emby.Webhooks, Version=1.0.9.0, Culture=neutral, PublicKeyToken=null from /Users/theater/.config/emby-server/plugins/Emby.Webhooks.dll 2020-02-20 10:23:01.709 Info App: Loading Emby.PortMapper, Version=1.0.3.0, Culture=neutral, PublicKeyToken=null from /Users/theater/.config/emby-server/plugins/Emby.PortMapper.dll 2020-02-20 10:23:01.709 Info App: Loading BlurayMounter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null from /Users/theater/.config/emby-server/plugins/BlurayMounter.dll 2020-02-20 10:23:01.709 Info App: Loading Tvdb, Version=1.0.29.0, Culture=neutral, PublicKeyToken=null from /Users/theater/.config/emby-server/plugins/Tvdb.dll 2020-02-20 10:23:01.709 Info App: Loading StudioImages, Version=1.0.3.0, Culture=neutral, PublicKeyToken=null from /Users/theater/.config/emby-server/plugins/StudioImages.dll 2020-02-20 10:23:01.709 Info App: Loading Emby.Kodi.SyncQueue, Version=2.1.4.0, Culture=neutral, PublicKeyToken=null from /Users/theater/.config/emby-server/plugins/Emby.Kodi.SyncQueue.dll 2020-02-20 10:23:01.709 Info App: Loading Emby.Dlna, Version=1.0.34.0, Culture=neutral, PublicKeyToken=null from /Users/theater/.config/emby-server/plugins/Emby.Dlna.dll 2020-02-20 10:23:01.709 Info App: Loading Fanart, Version=1.0.5.0, Culture=neutral, PublicKeyToken=null from /Users/theater/.config/emby-server/plugins/Fanart.dll 2020-02-20 10:23:01.709 Info App: Loading MusicBrainz, Version=1.0.12.0, Culture=neutral, PublicKeyToken=null from /Users/theater/.config/emby-server/plugins/MusicBrainz.dll 2020-02-20 10:23:01.709 Info App: Loading OMDb, Version=1.0.9.0, Culture=neutral, PublicKeyToken=null from /Users/theater/.config/emby-server/plugins/OMDb.dll 2020-02-20 10:23:01.709 Info App: Loading DvdMounter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null from /Users/theater/.config/emby-server/plugins/DvdMounter.dll 2020-02-20 10:23:01.709 Info App: Loading AudioDb, Version=1.0.6.0, Culture=neutral, PublicKeyToken=null from /Users/theater/.config/emby-server/plugins/AudioDb.dll 2020-02-20 10:23:01.709 Info App: Loading Trakt, Version=3.4.4.0, Culture=neutral, PublicKeyToken=null from /Users/theater/.config/emby-server/plugins/Trakt.dll 2020-02-20 10:23:01.709 Info App: Loading Emby.Server.CinemaMode, Version=1.0.30.0, Culture=neutral, PublicKeyToken=null from /Users/theater/.config/emby-server/plugins/Emby.Server.CinemaMode.dll 2020-02-20 10:23:01.709 Info App: Loading MediaBrowser.Api, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null 2020-02-20 10:23:01.709 Info App: Loading MediaBrowser.WebDashboard, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null 2020-02-20 10:23:01.709 Info App: Loading MediaBrowser.Model, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null 2020-02-20 10:23:01.709 Info App: Loading MediaBrowser.Common, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null 2020-02-20 10:23:01.709 Info App: Loading MediaBrowser.Controller, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null 2020-02-20 10:23:01.709 Info App: Loading MediaBrowser.Providers, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null 2020-02-20 10:23:01.709 Info App: Loading Emby.Photos, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null 2020-02-20 10:23:01.709 Info App: Loading Emby.Server.Implementations, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null 2020-02-20 10:23:01.709 Info App: Loading Emby.LiveTV, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null 2020-02-20 10:23:01.709 Info App: Loading Emby.ActivityLog, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 2020-02-20 10:23:01.709 Info App: Loading Emby.Server.MediaEncoding, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null 2020-02-20 10:23:01.709 Info App: Loading MediaBrowser.LocalMetadata, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null 2020-02-20 10:23:01.709 Info App: Loading Emby.Notifications, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null 2020-02-20 10:23:01.709 Info App: Loading Emby.Codecs.Dxva, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null 2020-02-20 10:23:01.709 Info App: Loading Emby.Codecs, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null 2020-02-20 10:23:01.709 Info App: Loading Emby.Server.Connect, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null 2020-02-20 10:23:01.709 Info App: Loading Emby.Server.Sync, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null 2020-02-20 10:23:01.709 Info App: Loading EmbyServer, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null 2020-02-20 10:23:01.832 Info SqliteUserRepository: Sqlite version: 3.28.0 2020-02-20 10:23:01.833 Info SqliteUserRepository: Sqlite compiler options: COMPILER=clang-10.0.0,DEFAULT_FOREIGN_KEYS,ENABLE_COLUMN_METADATA,ENABLE_FTS3_PARENTHESIS,ENABLE_FTS4,ENABLE_FTS5,ENABLE_JSON1,ENABLE_RTREE,THREADSAFE=1 2020-02-20 10:23:01.854 Info SqliteUserRepository: Default journal_mode for /Users/theater/.config/emby-server/data/users.db is wal 2020-02-20 10:23:01.888 Info AuthenticationRepository: Default journal_mode for /Users/theater/.config/emby-server/data/authentication.db is wal 2020-02-20 10:23:01.918 Info ActivityRepository: Default journal_mode for /Users/theater/.config/emby-server/data/activitylog.db is wal 2020-02-20 10:23:01.921 Info SqliteDisplayPreferencesRepository: Default journal_mode for /Users/theater/.config/emby-server/data/displaypreferences.db is wal 2020-02-20 10:23:01.927 Info App: Adding HttpListener prefix http://+:8096/ 2020-02-20 10:23:01.940 Info App: Adding HttpListener prefix https://+:8920/ 2020-02-20 10:23:02.014 Error Main: Error in appHost.Init *** Error Report *** Version: 4.3.1.0 Command line: /Applications/EmbyServer.app/Contents/MacOS/EmbyServer.dll Operating system: Unix 18.7.0.0 64-Bit OS: True 64-Bit Process: True User Interactive: True Runtime: file:///Applications/EmbyServer.app/Contents/MacOS/System.Private.CoreLib.dll Processor count: 4 Program data path: /Users/theater/.config/emby-server Application directory: /Applications/EmbyServer.app/Contents/MacOS 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) 2020-02-20 10:23:02.015 Info Main: Shutdown complete Link to comment Share on other sites More sharing options...
Luke 37064 Posted February 20, 2020 Share Posted February 20, 2020 I'm having this same problem. Launches at startup, then just gives me the Please Try Again Shortly error. I've attached my log. 2020-02-20 10:23:01.309 Info Main: Application path: /Applications/EmbyServer.app/Contents/MacOS/EmbyServer.dll 2020-02-20 10:23:01.554 Info Main: Emby Command line: /Applications/EmbyServer.app/Contents/MacOS/EmbyServer.dll Operating system: Unix 18.7.0.0 64-Bit OS: True 64-Bit Process: True User Interactive: True Runtime: file:///Applications/EmbyServer.app/Contents/MacOS/System.Private.CoreLib.dll Processor count: 4 Program data path: /Users/theater/.config/emby-server Application directory: /Applications/EmbyServer.app/Contents/MacOS 2020-02-20 10:23:01.556 Info Main: Tray icon path: /Applications/EmbyServer.app/Contents/MacOS/embytray 2020-02-20 10:23:01.612 Info App: Application version: 4.3.1.0 2020-02-20 10:23:01.614 Info App: Loading assemblies 2020-02-20 10:23:01.662 Info App: File /Users/theater/.config/emby-server/plugins/OpenSubtitles.dll has version 1.0.23.0 2020-02-20 10:23:01.662 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/OpenSubtitles.dll has version 1.0.22.0 2020-02-20 10:23:01.663 Info App: File /Users/theater/.config/emby-server/plugins/NfoMetadata.dll has version 1.0.24.0 2020-02-20 10:23:01.665 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/NfoMetadata.dll has version 1.0.23.0 2020-02-20 10:23:01.666 Info App: File /Users/theater/.config/emby-server/plugins/MovieDb.dll has version 1.3.0.0 2020-02-20 10:23:01.667 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/MovieDb.dll has version 1.2.6.0 2020-02-20 10:23:01.668 Info App: File /Users/theater/.config/emby-server/plugins/Emby.Webhooks.dll has version 1.0.9.0 2020-02-20 10:23:01.668 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/Emby.Webhooks.dll has version 1.0.8.0 2020-02-20 10:23:01.669 Info App: File /Users/theater/.config/emby-server/plugins/Emby.PortMapper.dll has version 1.0.3.0 2020-02-20 10:23:01.670 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/Emby.PortMapper.dll has version 1.0.2.0 2020-02-20 10:23:01.671 Info App: File /Users/theater/.config/emby-server/plugins/BlurayMounter.dll has version 1.0.0.0 2020-02-20 10:23:01.672 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/BlurayMounter.dll has version 1.0.0.0 2020-02-20 10:23:01.673 Info App: File /Users/theater/.config/emby-server/plugins/Tvdb.dll has version 1.0.29.0 2020-02-20 10:23:01.674 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/Tvdb.dll has version 1.0.22.0 2020-02-20 10:23:01.674 Info App: File /Users/theater/.config/emby-server/plugins/StudioImages.dll has version 1.0.3.0 2020-02-20 10:23:01.675 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/StudioImages.dll has version 1.0.1.0 2020-02-20 10:23:01.676 Info App: File /Users/theater/.config/emby-server/plugins/Emby.Dlna.dll has version 1.0.34.0 2020-02-20 10:23:01.678 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/Emby.Dlna.dll has version 1.0.33.0 2020-02-20 10:23:01.678 Info App: File /Users/theater/.config/emby-server/plugins/Fanart.dll has version 1.0.5.0 2020-02-20 10:23:01.679 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/Fanart.dll has version 1.0.5.0 2020-02-20 10:23:01.680 Info App: File /Users/theater/.config/emby-server/plugins/MusicBrainz.dll has version 1.0.12.0 2020-02-20 10:23:01.680 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/MusicBrainz.dll has version 1.0.9.0 2020-02-20 10:23:01.681 Info App: File /Users/theater/.config/emby-server/plugins/OMDb.dll has version 1.0.9.0 2020-02-20 10:23:01.682 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/OMDb.dll has version 1.0.7.0 2020-02-20 10:23:01.682 Info App: File /Users/theater/.config/emby-server/plugins/DvdMounter.dll has version 1.0.0.0 2020-02-20 10:23:01.683 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/DvdMounter.dll has version 1.0.0.0 2020-02-20 10:23:01.683 Info App: File /Users/theater/.config/emby-server/plugins/AudioDb.dll has version 1.0.6.0 2020-02-20 10:23:01.684 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/AudioDb.dll has version 1.0.6.0 2020-02-20 10:23:01.684 Info App: File /Users/theater/.config/emby-server/plugins/Emby.Server.CinemaMode.dll has version 1.0.30.0 2020-02-20 10:23:01.685 Info App: File /Applications/EmbyServer.app/Contents/Resources/plugins/Emby.Server.CinemaMode.dll has version 1.0.30.0 2020-02-20 10:23:01.709 Info App: Loading OpenSubtitles, Version=1.0.23.0, Culture=neutral, PublicKeyToken=null from /Users/theater/.config/emby-server/plugins/OpenSubtitles.dll 2020-02-20 10:23:01.709 Info App: Loading NfoMetadata, Version=1.0.24.0, Culture=neutral, PublicKeyToken=null from /Users/theater/.config/emby-server/plugins/NfoMetadata.dll 2020-02-20 10:23:01.709 Info App: Loading MovieDb, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null from /Users/theater/.config/emby-server/plugins/MovieDb.dll 2020-02-20 10:23:01.709 Info App: Loading Emby.Webhooks, Version=1.0.9.0, Culture=neutral, PublicKeyToken=null from /Users/theater/.config/emby-server/plugins/Emby.Webhooks.dll 2020-02-20 10:23:01.709 Info App: Loading Emby.PortMapper, Version=1.0.3.0, Culture=neutral, PublicKeyToken=null from /Users/theater/.config/emby-server/plugins/Emby.PortMapper.dll 2020-02-20 10:23:01.709 Info App: Loading BlurayMounter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null from /Users/theater/.config/emby-server/plugins/BlurayMounter.dll 2020-02-20 10:23:01.709 Info App: Loading Tvdb, Version=1.0.29.0, Culture=neutral, PublicKeyToken=null from /Users/theater/.config/emby-server/plugins/Tvdb.dll 2020-02-20 10:23:01.709 Info App: Loading StudioImages, Version=1.0.3.0, Culture=neutral, PublicKeyToken=null from /Users/theater/.config/emby-server/plugins/StudioImages.dll 2020-02-20 10:23:01.709 Info App: Loading Emby.Kodi.SyncQueue, Version=2.1.4.0, Culture=neutral, PublicKeyToken=null from /Users/theater/.config/emby-server/plugins/Emby.Kodi.SyncQueue.dll 2020-02-20 10:23:01.709 Info App: Loading Emby.Dlna, Version=1.0.34.0, Culture=neutral, PublicKeyToken=null from /Users/theater/.config/emby-server/plugins/Emby.Dlna.dll 2020-02-20 10:23:01.709 Info App: Loading Fanart, Version=1.0.5.0, Culture=neutral, PublicKeyToken=null from /Users/theater/.config/emby-server/plugins/Fanart.dll 2020-02-20 10:23:01.709 Info App: Loading MusicBrainz, Version=1.0.12.0, Culture=neutral, PublicKeyToken=null from /Users/theater/.config/emby-server/plugins/MusicBrainz.dll 2020-02-20 10:23:01.709 Info App: Loading OMDb, Version=1.0.9.0, Culture=neutral, PublicKeyToken=null from /Users/theater/.config/emby-server/plugins/OMDb.dll 2020-02-20 10:23:01.709 Info App: Loading DvdMounter, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null from /Users/theater/.config/emby-server/plugins/DvdMounter.dll 2020-02-20 10:23:01.709 Info App: Loading AudioDb, Version=1.0.6.0, Culture=neutral, PublicKeyToken=null from /Users/theater/.config/emby-server/plugins/AudioDb.dll 2020-02-20 10:23:01.709 Info App: Loading Trakt, Version=3.4.4.0, Culture=neutral, PublicKeyToken=null from /Users/theater/.config/emby-server/plugins/Trakt.dll 2020-02-20 10:23:01.709 Info App: Loading Emby.Server.CinemaMode, Version=1.0.30.0, Culture=neutral, PublicKeyToken=null from /Users/theater/.config/emby-server/plugins/Emby.Server.CinemaMode.dll 2020-02-20 10:23:01.709 Info App: Loading MediaBrowser.Api, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null 2020-02-20 10:23:01.709 Info App: Loading MediaBrowser.WebDashboard, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null 2020-02-20 10:23:01.709 Info App: Loading MediaBrowser.Model, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null 2020-02-20 10:23:01.709 Info App: Loading MediaBrowser.Common, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null 2020-02-20 10:23:01.709 Info App: Loading MediaBrowser.Controller, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null 2020-02-20 10:23:01.709 Info App: Loading MediaBrowser.Providers, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null 2020-02-20 10:23:01.709 Info App: Loading Emby.Photos, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null 2020-02-20 10:23:01.709 Info App: Loading Emby.Server.Implementations, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null 2020-02-20 10:23:01.709 Info App: Loading Emby.LiveTV, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null 2020-02-20 10:23:01.709 Info App: Loading Emby.ActivityLog, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 2020-02-20 10:23:01.709 Info App: Loading Emby.Server.MediaEncoding, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null 2020-02-20 10:23:01.709 Info App: Loading MediaBrowser.LocalMetadata, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null 2020-02-20 10:23:01.709 Info App: Loading Emby.Notifications, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null 2020-02-20 10:23:01.709 Info App: Loading Emby.Codecs.Dxva, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null 2020-02-20 10:23:01.709 Info App: Loading Emby.Codecs, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null 2020-02-20 10:23:01.709 Info App: Loading Emby.Server.Connect, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null 2020-02-20 10:23:01.709 Info App: Loading Emby.Server.Sync, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null 2020-02-20 10:23:01.709 Info App: Loading EmbyServer, Version=4.3.1.0, Culture=neutral, PublicKeyToken=null 2020-02-20 10:23:01.832 Info SqliteUserRepository: Sqlite version: 3.28.0 2020-02-20 10:23:01.833 Info SqliteUserRepository: Sqlite compiler options: COMPILER=clang-10.0.0,DEFAULT_FOREIGN_KEYS,ENABLE_COLUMN_METADATA,ENABLE_FTS3_PARENTHESIS,ENABLE_FTS4,ENABLE_FTS5,ENABLE_JSON1,ENABLE_RTREE,THREADSAFE=1 2020-02-20 10:23:01.854 Info SqliteUserRepository: Default journal_mode for /Users/theater/.config/emby-server/data/users.db is wal 2020-02-20 10:23:01.888 Info AuthenticationRepository: Default journal_mode for /Users/theater/.config/emby-server/data/authentication.db is wal 2020-02-20 10:23:01.918 Info ActivityRepository: Default journal_mode for /Users/theater/.config/emby-server/data/activitylog.db is wal 2020-02-20 10:23:01.921 Info SqliteDisplayPreferencesRepository: Default journal_mode for /Users/theater/.config/emby-server/data/displaypreferences.db is wal 2020-02-20 10:23:01.927 Info App: Adding HttpListener prefix http://+:8096/ 2020-02-20 10:23:01.940 Info App: Adding HttpListener prefix https://+:8920/ 2020-02-20 10:23:02.014 Error Main: Error in appHost.Init *** Error Report *** Version: 4.3.1.0 Command line: /Applications/EmbyServer.app/Contents/MacOS/EmbyServer.dll Operating system: Unix 18.7.0.0 64-Bit OS: True 64-Bit Process: True User Interactive: True Runtime: file:///Applications/EmbyServer.app/Contents/MacOS/System.Private.CoreLib.dll Processor count: 4 Program data path: /Users/theater/.config/emby-server Application directory: /Applications/EmbyServer.app/Contents/MacOS 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) 2020-02-20 10:23:02.015 Info Main: Shutdown complete Hi, your library database file has become corrupted. Please shutdown the server, then rename this file: /Users/theater/.config/emby-server/data/library.db Then start back up and you'll need to run a full library scan. Typical causes of database corruption are sudden and abrupt terminations of the emby server process, which be from something like a power loss, machine crash, or force closing the server process. Link to comment Share on other sites More sharing options...
peeet 2 Posted February 20, 2020 Share Posted February 20, 2020 Fixed, thanks. Guess it happened during a sudden reboot recently. Saving this advice in case it happens again. 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