chjohans 34 Posted January 24, 2019 Author Posted January 24, 2019 OK thanks. Could this be cause by a plugin? I don't see what else it might be so I assume that's what it is?
Luke 42078 Posted January 24, 2019 Posted January 24, 2019 No, some other app on your network sending requests to your emby server.
chjohans 34 Posted January 25, 2019 Author Posted January 25, 2019 Oh ok. Strange. I do have Emby for IOS, Emby for Roku and 2 Emby for Kodi clients running, so it's very strange if something else makes calls to my Emby server. But I'll keep an eye on this. It would be (very) useful if the source IP of such calls were logged.
chjohans 34 Posted January 25, 2019 Author Posted January 25, 2019 Is Emby for Kodi up to date? Yes, but with the latest stable, not the newer beta.
chjohans 34 Posted January 25, 2019 Author Posted January 25, 2019 What is using "192.168.3.152"? That's a Kodi client.
Luke 42078 Posted January 25, 2019 Posted January 25, 2019 Yes, but with the latest stable, not the newer beta. I think there is a new stable now that has all the beta changes, no? 1
Angelblue05 4132 Posted January 26, 2019 Posted January 26, 2019 Beta and stable are the same at the moment. But I did release a new version that fixes bugs. Can you give it a try and let me know?
chjohans 34 Posted January 26, 2019 Author Posted January 26, 2019 There seems to be no end to my trouble after the "upgrade" to server 4.x. Had to stop the library scan again this morning as my power company was gonna change my power meter. So I stopped the EMby service and did a normal shutdown of the server. When I start the server again it just exits and complains about a DB error. 2019-01-26 11:09:10.440 Info Main: Application path: C:\Users\media\AppData\Roaming\Emby-Server\system\EmbyServer.dll 2019-01-26 11:09:15.085 Info Main: Emby Command line: C:\Users\media\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: 4 Program data path: C:\Users\media\AppData\Roaming\Emby-Server Application directory: C:\Users\media\AppData\Roaming\Emby-Server\system 2019-01-26 11:09:15.088 Info Main: Tray icon path: C:\Users\media\AppData\Roaming\Emby-Server\system\embytray 2019-01-26 11:09:17.275 Info App: Application version: 4.0.1.0 2019-01-26 11:09:17.314 Info App: Loading assemblies 2019-01-26 11:09:18.767 Info App: File C:\Users\media\AppData\Roaming\Emby-Server\plugins\AudioDb.dll has version 1.0.4.0 2019-01-26 11:09:18.817 Info App: File C:\Users\media\AppData\Roaming\Emby-Server\system\plugins\AudioDb.dll has version 1.0.4.0 2019-01-26 11:09:18.885 Info App: File C:\Users\media\AppData\Roaming\Emby-Server\plugins\Emby.Server.CinemaMode.dll has version 1.0.10.0 2019-01-26 11:09:18.945 Info App: File C:\Users\media\AppData\Roaming\Emby-Server\system\plugins\Emby.Server.CinemaMode.dll has version 1.0.10.0 2019-01-26 11:09:19.008 Info App: File C:\Users\media\AppData\Roaming\Emby-Server\plugins\Fanart.dll has version 1.0.2.0 2019-01-26 11:09:19.071 Info App: File C:\Users\media\AppData\Roaming\Emby-Server\system\plugins\Fanart.dll has version 1.0.2.0 2019-01-26 11:09:19.170 Info App: File C:\Users\media\AppData\Roaming\Emby-Server\plugins\MovieDb.dll has version 1.0.6.0 2019-01-26 11:09:19.263 Info App: File C:\Users\media\AppData\Roaming\Emby-Server\system\plugins\MovieDb.dll has version 1.0.6.0 2019-01-26 11:09:19.317 Info App: File C:\Users\media\AppData\Roaming\Emby-Server\plugins\MusicBrainz.dll has version 1.0.1.0 2019-01-26 11:09:19.384 Info App: File C:\Users\media\AppData\Roaming\Emby-Server\system\plugins\MusicBrainz.dll has version 1.0.1.0 2019-01-26 11:09:19.459 Info App: File C:\Users\media\AppData\Roaming\Emby-Server\plugins\NfoMetadata.dll has version 1.0.10.0 2019-01-26 11:09:19.551 Info App: File C:\Users\media\AppData\Roaming\Emby-Server\system\plugins\NfoMetadata.dll has version 1.0.10.0 2019-01-26 11:09:19.601 Info App: File C:\Users\media\AppData\Roaming\Emby-Server\plugins\OMDb.dll has version 1.0.3.0 2019-01-26 11:09:19.670 Info App: File C:\Users\media\AppData\Roaming\Emby-Server\system\plugins\OMDb.dll has version 1.0.3.0 2019-01-26 11:09:19.753 Info App: File C:\Users\media\AppData\Roaming\Emby-Server\plugins\OpenSubtitles.dll has version 1.0.11.0 2019-01-26 11:09:19.852 Info App: File C:\Users\media\AppData\Roaming\Emby-Server\system\plugins\OpenSubtitles.dll has version 1.0.11.0 2019-01-26 11:09:19.902 Info App: File C:\Users\media\AppData\Roaming\Emby-Server\plugins\StudioImages.dll has version 1.0.0.0 2019-01-26 11:09:19.972 Info App: File C:\Users\media\AppData\Roaming\Emby-Server\system\plugins\StudioImages.dll has version 1.0.0.0 2019-01-26 11:09:20.073 Info App: File C:\Users\media\AppData\Roaming\Emby-Server\plugins\Tvdb.dll has version 1.0.1.0 2019-01-26 11:09:20.163 Info App: File C:\Users\media\AppData\Roaming\Emby-Server\system\plugins\Tvdb.dll has version 1.0.1.0 2019-01-26 11:09:22.541 Info App: Loading AudioDb, Version=1.0.4.0, Culture=neutral, PublicKeyToken=null from C:\Users\media\AppData\Roaming\Emby-Server\plugins\AudioDb.dll 2019-01-26 11:09:22.541 Info App: Loading AutoBoxSets, Version=1.2.2.0, Culture=neutral, PublicKeyToken=null from C:\Users\media\AppData\Roaming\Emby-Server\plugins\AutoBoxSets.dll 2019-01-26 11:09:22.541 Info App: Loading CoverArt, Version=4.0.91.0, Culture=neutral, PublicKeyToken=null from C:\Users\media\AppData\Roaming\Emby-Server\plugins\CoverArt.dll 2019-01-26 11:09:22.541 Info App: Loading Emby.Kodi.SyncQueue, Version=2.0.9.0, Culture=neutral, PublicKeyToken=null from C:\Users\media\AppData\Roaming\Emby-Server\plugins\Emby.Kodi.SyncQueue.dll 2019-01-26 11:09:22.541 Info App: Loading Emby.Server.CinemaMode, Version=1.0.10.0, Culture=neutral, PublicKeyToken=null from C:\Users\media\AppData\Roaming\Emby-Server\plugins\Emby.Server.CinemaMode.dll 2019-01-26 11:09:22.541 Info App: Loading EmbyReports, Version=1.0.25.0, Culture=neutral, PublicKeyToken=null from C:\Users\media\AppData\Roaming\Emby-Server\plugins\EmbyReports.dll 2019-01-26 11:09:22.541 Info App: Loading Fanart, Version=1.0.2.0, Culture=neutral, PublicKeyToken=null from C:\Users\media\AppData\Roaming\Emby-Server\plugins\Fanart.dll 2019-01-26 11:09:22.541 Info App: Loading GenreCleaner, Version=1.0.14.0, Culture=neutral, PublicKeyToken=null from C:\Users\media\AppData\Roaming\Emby-Server\plugins\GenreCleaner.dll 2019-01-26 11:09:22.541 Info App: Loading IMVDb, Version=1.0.5.0, Culture=neutral, PublicKeyToken=null from C:\Users\media\AppData\Roaming\Emby-Server\plugins\IMVDb.dll 2019-01-26 11:09:22.541 Info App: Loading MBBackup, Version=1.3.4.0, Culture=neutral, PublicKeyToken=null from C:\Users\media\AppData\Roaming\Emby-Server\plugins\MBBackup.dll 2019-01-26 11:09:22.541 Info App: Loading MediaBrowser.Channels.BlurN, Version=2.0.2.7, Culture=neutral, PublicKeyToken=null from C:\Users\media\AppData\Roaming\Emby-Server\plugins\MediaBrowser.Channels.BlurN.dll 2019-01-26 11:09:22.541 Info App: Loading MediaBrowser.Plugins.DVBLink, Version=1.8.4.0, Culture=neutral, PublicKeyToken=null from C:\Users\media\AppData\Roaming\Emby-Server\plugins\MediaBrowser.Plugins.DVBLink.dll 2019-01-26 11:09:22.541 Info App: Loading MediaBrowser.Plugins.MediaPortal, Version=1.9.0.0, Culture=neutral, PublicKeyToken=null from C:\Users\media\AppData\Roaming\Emby-Server\plugins\MediaBrowser.Plugins.MediaPortal.dll 2019-01-26 11:09:22.541 Info App: Loading MediaBrowser.Plugins.PushOverNotifications, Version=3.1.2.0, Culture=neutral, PublicKeyToken=null from C:\Users\media\AppData\Roaming\Emby-Server\plugins\MediaBrowser.Plugins.PushOverNotifications.dll 2019-01-26 11:09:22.541 Info App: Loading MediaBrowser.Plugins.SmtpNotifications, Version=3.1.4.0, Culture=neutral, PublicKeyToken=null from C:\Users\media\AppData\Roaming\Emby-Server\plugins\MediaBrowser.Plugins.SmtpNotifications.dll 2019-01-26 11:09:22.541 Info App: Loading MediaBrowser.Plugins.TimeLord, Version=19.1.7.1053, Culture=neutral, PublicKeyToken=null from C:\Users\media\AppData\Roaming\Emby-Server\plugins\MediaBrowser.Plugins.TimeLord.dll 2019-01-26 11:09:22.541 Info App: Loading MediaBrowser.Plugins.Trailers, Version=1.1.9.0, Culture=neutral, PublicKeyToken=null from C:\Users\media\AppData\Roaming\Emby-Server\plugins\Mediabrowser.Plugins.Trailers.dll 2019-01-26 11:09:22.541 Info App: Loading MovieDb, Version=1.0.6.0, Culture=neutral, PublicKeyToken=null from C:\Users\media\AppData\Roaming\Emby-Server\plugins\MovieDb.dll 2019-01-26 11:09:22.541 Info App: Loading MusicBrainz, Version=1.0.1.0, Culture=neutral, PublicKeyToken=null from C:\Users\media\AppData\Roaming\Emby-Server\plugins\MusicBrainz.dll 2019-01-26 11:09:22.541 Info App: Loading NfoMetadata, Version=1.0.10.0, Culture=neutral, PublicKeyToken=null from C:\Users\media\AppData\Roaming\Emby-Server\plugins\NfoMetadata.dll 2019-01-26 11:09:22.541 Info App: Loading OMDb, Version=1.0.3.0, Culture=neutral, PublicKeyToken=null from C:\Users\media\AppData\Roaming\Emby-Server\plugins\OMDb.dll 2019-01-26 11:09:22.541 Info App: Loading OpenSubtitles, Version=1.0.11.0, Culture=neutral, PublicKeyToken=null from C:\Users\media\AppData\Roaming\Emby-Server\plugins\OpenSubtitles.dll 2019-01-26 11:09:22.541 Info App: Loading PodCasts, Version=1.1.6.0, Culture=neutral, PublicKeyToken=null from C:\Users\media\AppData\Roaming\Emby-Server\plugins\PodCasts.dll 2019-01-26 11:09:22.541 Info App: Loading statistics, Version=2.0.8.0, Culture=neutral, PublicKeyToken=null from C:\Users\media\AppData\Roaming\Emby-Server\plugins\Statistics.dll 2019-01-26 11:09:22.541 Info App: Loading MediaBrowser.Plugins.StudioCleaner, Version=3.2.0.0, Culture=neutral, PublicKeyToken=null from C:\Users\media\AppData\Roaming\Emby-Server\plugins\StudioCleaner.dll 2019-01-26 11:09:22.541 Info App: Loading StudioImages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null from C:\Users\media\AppData\Roaming\Emby-Server\plugins\StudioImages.dll 2019-01-26 11:09:22.541 Info App: Loading Trakt, Version=3.3.0.0, Culture=neutral, PublicKeyToken=null from C:\Users\media\AppData\Roaming\Emby-Server\plugins\Trakt.dll 2019-01-26 11:09:22.541 Info App: Loading Tvdb, Version=1.0.1.0, Culture=neutral, PublicKeyToken=null from C:\Users\media\AppData\Roaming\Emby-Server\plugins\Tvdb.dll 2019-01-26 11:09:22.541 Info App: Loading XmlMetadata, Version=3.3.1.0, Culture=neutral, PublicKeyToken=null from C:\Users\media\AppData\Roaming\Emby-Server\plugins\XmlMetadata.dll 2019-01-26 11:09:22.541 Info App: Loading MediaBrowser.Api, Version=4.0.1.0, Culture=neutral, PublicKeyToken=null 2019-01-26 11:09:22.542 Info App: Loading MediaBrowser.WebDashboard, Version=4.0.1.0, Culture=neutral, PublicKeyToken=null 2019-01-26 11:09:22.542 Info App: Loading MediaBrowser.Model, Version=4.0.1.0, Culture=neutral, PublicKeyToken=null 2019-01-26 11:09:22.542 Info App: Loading MediaBrowser.Common, Version=4.0.1.0, Culture=neutral, PublicKeyToken=null 2019-01-26 11:09:22.542 Info App: Loading MediaBrowser.Controller, Version=4.0.1.0, Culture=neutral, PublicKeyToken=null 2019-01-26 11:09:22.543 Info App: Loading MediaBrowser.Providers, Version=4.0.1.0, Culture=neutral, PublicKeyToken=null 2019-01-26 11:09:22.543 Info App: Loading Emby.Photos, Version=4.0.1.0, Culture=neutral, PublicKeyToken=null 2019-01-26 11:09:22.543 Info App: Loading Emby.Server.Implementations, Version=4.0.1.0, Culture=neutral, PublicKeyToken=null 2019-01-26 11:09:22.543 Info App: Loading Emby.LiveTV, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 2019-01-26 11:09:22.543 Info App: Loading Emby.Server.MediaEncoding, Version=4.0.1.0, Culture=neutral, PublicKeyToken=null 2019-01-26 11:09:22.543 Info App: Loading Emby.Dlna, Version=4.0.1.0, Culture=neutral, PublicKeyToken=null 2019-01-26 11:09:22.543 Info App: Loading MediaBrowser.LocalMetadata, Version=4.0.1.0, Culture=neutral, PublicKeyToken=null 2019-01-26 11:09:22.544 Info App: Loading Emby.Notifications, Version=4.0.1.0, Culture=neutral, PublicKeyToken=null 2019-01-26 11:09:22.544 Info App: Loading Emby.Codecs.Dxva, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 2019-01-26 11:09:22.544 Info App: Loading Emby.Codecs, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 2019-01-26 11:09:22.544 Info App: Loading Emby.Server.Connect, Version=4.0.1.0, Culture=neutral, PublicKeyToken=null 2019-01-26 11:09:22.544 Info App: Loading Emby.Server.Sync, Version=4.0.1.0, Culture=neutral, PublicKeyToken=null 2019-01-26 11:09:22.544 Info App: Loading EmbyServer, Version=4.0.1.0, Culture=neutral, PublicKeyToken=null 2019-01-26 11:09:24.411 Info SqliteUserRepository: Sqlite version: 3.26.0 2019-01-26 11:09:24.413 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-01-26 11:09:24.540 Info SqliteUserRepository: Default journal_mode for C:\Users\media\AppData\Roaming\Emby-Server\data\users.db is wal 2019-01-26 11:09:24.546 Info SqliteUserRepository: PRAGMA synchronous=1 2019-01-26 11:09:24.723 Info AuthenticationRepository: Default journal_mode for C:\Users\media\AppData\Roaming\Emby-Server\data\authentication.db is wal 2019-01-26 11:09:24.723 Info AuthenticationRepository: PRAGMA synchronous=1 2019-01-26 11:09:25.157 Info ActivityRepository: Default journal_mode for C:\Users\media\AppData\Roaming\Emby-Server\data\activitylog.db is wal 2019-01-26 11:09:25.157 Info ActivityRepository: PRAGMA synchronous=1 2019-01-26 11:09:25.198 Info SqliteDisplayPreferencesRepository: Default journal_mode for C:\Users\media\AppData\Roaming\Emby-Server\data\displaypreferences.db is wal 2019-01-26 11:09:25.199 Info SqliteDisplayPreferencesRepository: PRAGMA synchronous=1 2019-01-26 11:09:25.221 Info HttpServer: Adding HttpListener prefix http://+:8096/ 2019-01-26 11:09:25.223 Info HttpServer: Adding HttpListener prefix https://+:8920/ 2019-01-26 11:09:25.879 Info SqliteItemRepository: Default journal_mode for C:\Users\media\AppData\Roaming\Emby-Server\data\library.db is wal 2019-01-26 11:09:25.884 Info SqliteItemRepository: PRAGMA synchronous=1 2019-01-26 11:09:39.311 Error Main: Error in appHost.Init *** Error Report *** Version: 4.0.1.0 Command line: C:\Users\media\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: 4 Program data path: C:\Users\media\AppData\Roaming\Emby-Server Application directory: C:\Users\media\AppData\Roaming\Emby-Server\system SQLitePCL.pretty.SQLiteException: Corrupt: database disk image is malformed SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown. at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3 db, Int32 rc) at SQLitePCL.pretty.StatementImpl.MoveNext() at SQLitePCL.pretty.DatabaseConnection.ExecuteAll(IDatabaseConnection This, String sql) at Emby.Server.Implementations.Data.SqliteItemRepository.<>c__DisplayClass32_0.<Initialize>b__0(IDatabaseConnection db) at SQLitePCL.pretty.DatabaseConnection.<>c__DisplayClass20_0.<RunInTransaction>b__0(IDatabaseConnection db) at SQLitePCL.pretty.DatabaseConnection.RunInTransaction[T](IDatabaseConnection This, Func`2 f, TransactionMode mode) at SQLitePCL.pretty.DatabaseConnection.RunInTransaction(IDatabaseConnection This, Action`1 action, TransactionMode mode) 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.Program.InitAppHost(CoreAppHost appHost, ILogger logger) Source: SQLitePCL.pretty TargetSite: Void CheckOk(SQLitePCL.sqlite3, Int32) at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3 db, Int32 rc) at SQLitePCL.pretty.StatementImpl.MoveNext() at SQLitePCL.pretty.DatabaseConnection.ExecuteAll(IDatabaseConnection This, String sql) at Emby.Server.Implementations.Data.SqliteItemRepository.<>c__DisplayClass32_0.<Initialize>b__0(IDatabaseConnection db) at SQLitePCL.pretty.DatabaseConnection.<>c__DisplayClass20_0.<RunInTransaction>b__0(IDatabaseConnection db) at SQLitePCL.pretty.DatabaseConnection.RunInTransaction[T](IDatabaseConnection This, Func`2 f, TransactionMode mode) at SQLitePCL.pretty.DatabaseConnection.RunInTransaction(IDatabaseConnection This, Action`1 action, TransactionMode mode) 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.Program.InitAppHost(CoreAppHost appHost, ILogger logger) 2019-01-26 11:09:39.413 Error Main: UnhandledException *** Error Report *** Version: 4.0.1.0 Command line: C:\Users\media\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: 4 Program data path: C:\Users\media\AppData\Roaming\Emby-Server Application directory: C:\Users\media\AppData\Roaming\Emby-Server\system SQLitePCL.pretty.SQLiteException: Corrupt: database disk image is malformed SQLitePCL.pretty.SQLiteException: Exception of type 'SQLitePCL.pretty.SQLiteException' was thrown. at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3 db, Int32 rc) at SQLitePCL.pretty.StatementImpl.MoveNext() at SQLitePCL.pretty.DatabaseConnection.ExecuteAll(IDatabaseConnection This, String sql) at Emby.Server.Implementations.Data.SqliteItemRepository.<>c__DisplayClass32_0.<Initialize>b__0(IDatabaseConnection db) at SQLitePCL.pretty.DatabaseConnection.<>c__DisplayClass20_0.<RunInTransaction>b__0(IDatabaseConnection db) at SQLitePCL.pretty.DatabaseConnection.RunInTransaction[T](IDatabaseConnection This, Func`2 f, TransactionMode mode) at SQLitePCL.pretty.DatabaseConnection.RunInTransaction(IDatabaseConnection This, Action`1 action, TransactionMode mode) 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.Program.InitAppHost(CoreAppHost appHost, ILogger logger) at EmbyServer.Program.RunApplication(ServerApplicationPaths appPaths, ILogManager logManager, IEnvironmentInfo environmentInfo, StartupOptions options) at EmbyServer.Program.Main(String[] args) Source: SQLitePCL.pretty TargetSite: Void CheckOk(SQLitePCL.sqlite3, Int32) at SQLitePCL.pretty.SQLiteException.CheckOk(sqlite3 db, Int32 rc) at SQLitePCL.pretty.StatementImpl.MoveNext() at SQLitePCL.pretty.DatabaseConnection.ExecuteAll(IDatabaseConnection This, String sql) at Emby.Server.Implementations.Data.SqliteItemRepository.<>c__DisplayClass32_0.<Initialize>b__0(IDatabaseConnection db) at SQLitePCL.pretty.DatabaseConnection.<>c__DisplayClass20_0.<RunInTransaction>b__0(IDatabaseConnection db) at SQLitePCL.pretty.DatabaseConnection.RunInTransaction[T](IDatabaseConnection This, Func`2 f, TransactionMode mode) at SQLitePCL.pretty.DatabaseConnection.RunInTransaction(IDatabaseConnection This, Action`1 action, TransactionMode mode) 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.Program.InitAppHost(CoreAppHost appHost, ILogger logger) at EmbyServer.Program.RunApplication(ServerApplicationPaths appPaths, ILogManager logManager, IEnvironmentInfo environmentInfo, StartupOptions options) at EmbyServer.Program.Main(String[] args) 2019-01-26 11:09:39.438 Info Main: Closing tray icon 2019-01-26 11:09:39.521 Info HttpClient: POST http://127.0.0.1:8024/exit 2019-01-26 11:09:39.824 Info Main: tray icon WaitForExit 2019-01-26 11:09:40.117 Info Main: tray icon exited Now this has NEVER happened during all my years using Emby, and I have stopped the server, not stopped the server and just cut the power, I did all kinds of things to the server without the DB once becoming corrupt. Is this gonna be a weakness with the new Emby version, that its prone to DB corruption? BTW I don't really see any speed increase at all between the old 3.5 and 4.x server versions. I have one server that actually finished initial DB scan and a DB scan takes 11-12 minutes now, and that's what it took on v3.5 as well. Starting up the iOS client on my APple TV takes just as long as before and is just as "sluggish" as on v3.5. I don't really notice any difference in any other clients either. I'm a bit surprised because the performance increase I'm not seeing was kind of hyped when the new server release was first announced. Anyhow, back to my DB issue. Is this solvable or do I just have to start over?
chjohans 34 Posted January 26, 2019 Author Posted January 26, 2019 Anyhow I'm sick and tired of waiting days after days for the initial DB scan to finish and since I have my metadata managed by "Media Center Master" anyhow I decided to start over. So this is what I did: 1) Deleted the library.db* files under data 2) Cleared out my old metadata folder which I had moved to a different HD The server started fine and is doing it's initial library scan. Anyhow all my metadata is already in my media catalogs, collected by "Media Center Master". Emby does not even have write access to my media library as I don't want it to mess with it at all. So whatever EMby downloads of additional metadata is stored in the "metadata" folder. I hope this solves all my issues, and I should probably have "started over" to begin with instead of letting Emby convert all my old data. There is really nothing I can lose by doing that.
Happy2Play 9780 Posted January 26, 2019 Posted January 26, 2019 (edited) Hope you disabled chapter extraction on library scan per library. But mine took about 9 hours for Emby to re-read my xml metadata on my Stable server in my signature. But that was only processing Movies during the migration, would have taken long for all the episodes. . But it looks like your database became corrupted from you previous post. SQLitePCL.pretty.SQLiteException: Corrupt: database disk image is malformed Edited January 26, 2019 by Happy2Play
Luke 42078 Posted January 26, 2019 Posted January 26, 2019 Corrupt: database disk image is malformed The most common cause of this is sudden and abrupt terminations of the emby server process, e.g. a loss of power, server machine crashing, killing the process from task manager. When this happens you need to delete your library database and let it do a full rescan. It sounds like it did that. Are you good now?
chjohans 34 Posted January 26, 2019 Author Posted January 26, 2019 Hope you disabled chapter extraction on library scan per library. But mine took about 9 hours for Emby to re-read my xml metadata on my Stable server in my signature. But that was only processing Movies during the migration, would have taken long for all the episodes. . But it looks like your database became corrupted from you previous post. SQLitePCL.pretty.SQLiteException: Corrupt: database disk image is malformed Yes, I did disable chapter extraction during the initial scan.
chjohans 34 Posted January 26, 2019 Author Posted January 26, 2019 The most common cause of this is sudden and abrupt terminations of the emby server process, e.g. a loss of power, server machine crashing, killing the process from task manager. When this happens you need to delete your library database and let it do a full rescan. It sounds like it did that. Are you good now? Yes all is well now after I deleted the library database and whiped out my metadata, it's running the initial DB scan now, at 90.7% done at the moment. Since I whiped out my old metadata it won't get stuck like before I suppoes, and "Refresh Guide" will actually finish now since it no longer has old data to "clean". I did a normal shutdown of the server like I've done many times before. I'm running Emby as a service and I assumed the service manager would signal the Emby process to terminate gracefully on a restart. Is that not the case?
Carlo 4561 Posted January 26, 2019 Posted January 26, 2019 Do yourself a favor and manually copy/backup the data folder every once in a while with Emby shut down. This way you always have a set of known backup databases good to use for a situation like this. It's a pretty small folder in size.
chjohans 34 Posted January 28, 2019 Author Posted January 28, 2019 Do yourself a favor and manually copy/backup the data folder every once in a while with Emby shut down. This way you always have a set of known backup databases good to use for a situation like this. It's a pretty small folder in size. Thanks but unless this becomes a very frequent issue I won't bother with this since I won't lose anything by just deleting the DB file and doing a library scan. If this really becomes a frequent problem I will make a backup script that shuts down the server and backs up the DB files once in a while. I'm already doing a partition backup of the partition Emby is installed on twice a week, and even if it's being done while the Emby server is running most likely I could use the DB files from that backup if I needed to.
Happy2Play 9780 Posted January 28, 2019 Posted January 28, 2019 Thanks but unless this becomes a very frequent issue I won't bother with this since I won't lose anything by just deleting the DB file and doing a library scan. If this really becomes a frequent problem I will make a backup script that shuts down the server and backs up the DB files once in a while. I'm already doing a partition backup of the partition Emby is installed on twice a week, and even if it's being done while the Emby server is running most likely I could use the DB files from that backup if I needed to. Technically you loose all userdata doing this. So you have to have other methods to restore it, if you are deleting the database.
chjohans 34 Posted January 30, 2019 Author Posted January 30, 2019 Technically you loose all userdata doing this. So you have to have other methods to restore it, if you are deleting the database. Yeah well, I should have written "I don't lose anything that is important to me". I'm only worried about my played states and I sync that with Trakt.
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