Jump to content

Library scan will not complete


theoldlr

Recommended Posts

theoldlr

Hello All,

 

My library scan will not complete.  The notification error I get is "database disk image is malformed" I've checked logs, but I am not seasoned enough to know what to do. 

EDIT: Based on information I found when searching i deleted my library.db file and started over.  I should also mention that I'm using MBC and it and the server are mostly functioning fine, but metadata and artwork do not fully populate in the interface (items that were present before).  Also, some files present in the library folders are not appearing in the MBC client (or other clients).  

 

Here is a fresh log:


 

2014-11-12 20:13:09.7225 Debug - HttpServer: HTTP POST http://localhost:8096/mediabrowser/ScheduledTasks/Running/2d67d886717cdade18d9640d4ebbb9cb

Ip: 127.0.0.1:62814. Headers: Host=localhost:8096,Connection=keep-alive,Content-Length=0,Accept=*/*,X-MediaBrowser-Token=f84c688d78764410bb4be0eca32ec2bd,User-Agent=Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36,Authorization=MediaBrowser Client="Dashboard", Device="Chrome 38.0.2125.111", DeviceId="7aa5c3f30a8a88bd7f6d06f0d0c9a300c81f69e5", Version="3.0.5424.1", UserId="fd948ff93355813ebdf33529f39d3b6d",Origin=http://localhost:8096,Accept-Encoding=gzip,deflate,Accept-Language=en-US,en;q=0.8
2014-11-12 20:13:09.7225 Info - App: Executing Scan media library
2014-11-12 20:13:09.7365 Info - App: Validating media library
2014-11-12 20:13:09.7365 Debug - HttpServer: HTTP Response 204 to 127.0.0.1. Response time: 10.0006 ms.
2014-11-12 20:13:09.7365 Debug - HttpServer: HTTP GET http://localhost:8096/mediabrowser/ScheduledTasks?
Ip: 127.0.0.1:62814. Headers: Host=localhost:8096,Connection=keep-alive,Accept=application/json, text/javascript, */*; q=0.01,X-MediaBrowser-Token=f84c688d78764410bb4be0eca32ec2bd,User-Agent=Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36,Authorization=MediaBrowser Client="Dashboard", Device="Chrome 38.0.2125.111", DeviceId="7aa5c3f30a8a88bd7f6d06f0d0c9a300c81f69e5", Version="3.0.5424.1", UserId="fd948ff93355813ebdf33529f39d3b6d",Accept-Encoding=gzip,deflate,sdch,Accept-Language=en-US,en;q=0.8
2014-11-12 20:13:09.7525 Debug - HttpServer: HTTP Response 200 to 127.0.0.1. Response time: 2.0002 ms.
2014-11-12 20:13:09.7945 Error - App: gameFiles is 0 for E:\Emulation\Games\Nintendo 64\jsf
2014-11-12 20:13:09.7945 Error - App: gameFiles is 0 for E:\Emulation\Games\Nintendo 64\PutFileInFolderOfSameName
2014-11-12 20:13:09.8205 Error - App: gameFiles is 0 for E:\Emulation\Games\SNES\Operation_Logic_Bomb_(E)_[!]
2014-11-12 20:13:09.8205 Error - App: gameFiles is 0 for E:\Emulation\Games\SNES\PutFileInFolderOfSameName
2014-11-12 20:13:09.8431 Error - App: gameFiles is 0 for E:\Emulation\Games\NES\Creatom (Unl) [!]
2014-11-12 20:13:09.9367 Debug - App: Found multi-disc folder: E:\Music\The Ultimate Motown Christmas Collection\Disc 1
2014-11-12 20:13:09.9367 Debug - App: Found multi-disc folder: E:\Music\Todd Rundgren\Something Anything\Disc 1
2014-11-12 20:13:09.9523 Debug - App: Found multi-disc folder: E:\Music\The Ultimate Motown Christmas Collection\Disc 2
2014-11-12 20:13:09.9523 Debug - App: Found multi-disc folder: E:\Music\Todd Rundgren\Something Anything\Disc 2
2014-11-12 20:13:10.0303 Debug - App: Found multi-disc folder: E:\Music\Todd Rundgren\Something Anything\Disc 1
2014-11-12 20:13:10.0303 Debug - App: Found multi-disc folder: E:\Music\Todd Rundgren\Something Anything\Disc 2
2014-11-12 20:13:10.1083 Debug - App: Found multi-disc folder: E:\Music\Eccentric Soul\NUM013 - Various Artists - Eccentric Soul Twinight's Lunar Rotation\Disc 1
2014-11-12 20:13:10.1083 Debug - App: Found multi-disc folder: E:\Music\Eccentric Soul\NUM020 - Various Artists - Eccentric Soul The Tragar & Note Labels\Disc 1
2014-11-12 20:13:10.1083 Debug - App: Found multi-disc folder: E:\Music\Eccentric Soul\NUM013 - Various Artists - Eccentric Soul Twinight's Lunar Rotation\Disc 2
2014-11-12 20:13:10.1083 Debug - App: Found multi-disc folder: E:\Music\Eccentric Soul\NUM020 - Various Artists - Eccentric Soul The Tragar & Note Labels\Disc 2
2014-11-12 20:13:10.1239 Debug - App: E:\TV\Curb Your Enthusiasm is not a series folder.
2014-11-12 20:13:10.1239 Debug - App: E:\TV\Hostages is not a series folder.
2014-11-12 20:13:10.1239 Debug - App: E:\TV\CSI, Crime Scene Investigation is not a series folder.
2014-11-12 20:13:10.1395 Debug - App: E:\TV\Marvel's Agents of S.H.I.E.L.D is not a series folder.
2014-11-12 20:13:10.1239 Debug - App: E:\TV\Leverage is not a series folder.
2014-11-12 20:13:10.1395 Debug - App: E:\TV\The Mindy Project is not a series folder.
2014-11-12 20:13:10.1239 Debug - App: E:\TV\New Girl is not a series folder.
2014-11-12 20:13:10.1395 Debug - App: E:\TV\Rizzoli and Isles\Season 4\_UNPACK_Rizzoli.and.Isles.S04E14.1080p.WEB-DL\Rizzoli.and.Isles.S04E14.1080p.WEB-DL.h.264.DD5.1-NTb (NLsub) is not a series folder.
2014-11-12 20:13:10.2499 Info - LibraryMonitor: Watching directory E:\Music
2014-11-12 20:13:10.2499 Info - LibraryMonitor: Watching directory E:\TV
2014-11-12 20:13:10.2499 Info - LibraryMonitor: Watching directory E:\Movies
2014-11-12 20:13:10.2499 Info - LibraryMonitor: Watching directory E:\Emulation\Games
2014-11-12 20:13:10.2499 Info - LibraryMonitor: Watching directory C:\Users\WMC\AppData\Roaming\MediaBrowser-Server\root
2014-11-12 20:13:10.2499 Error - App: Error
database disk image is malformed
database disk image is malformed
System.Data.SQLite.SQLiteException
  at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
  at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
  at System.Data.SQLite.SQLiteDataReader.NextResult()
  at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
  at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
  at System.Data.SQLite.SQLiteCommand.ExecuteDbDataReader(CommandBehavior behavior)
  at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
  at MediaBrowser.Server.Implementations.Persistence.SqliteProviderInfoRepository.GetMetadataStatus(Guid itemId)
  at MediaBrowser.Providers.Manager.MetadataService`2.GetLastResult(IHasMetadata item)
  at MediaBrowser.Providers.Manager.MetadataService`2.<RefreshMetadata>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Controller.Entities.BaseItem.<RefreshMetadata>d__3d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Controller.Entities.Folder.<RefreshChildMetadata>d__e1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Controller.Entities.Folder.<>c__DisplayClassd6.<<RefreshMetadataRecursive>b__d1>d__d8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Controller.Entities.Folder.<RefreshMetadataRecursive>d__db.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Controller.Entities.Folder.<RefreshChildMetadata>d__e1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Controller.Entities.Folder.<RefreshMetadataRecursive>d__db.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Controller.Entities.Folder.<RefreshChildMetadata>d__e1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Controller.Entities.Folder.<RefreshMetadataRecursive>d__db.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
  at MediaBrowser.Controller.Entities.Folder.<ValidateChildrenInternal>d__c2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
  at MediaBrowser.Server.Implementations.Library.LibraryManager.<PerformLibraryValidation>d__57.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Server.Implementations.Library.LibraryManager.<ValidateMediaLibraryInternal>d__50.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Common.Implementations.ScheduledTasks.ScheduledTaskWorker.<>c__DisplayClassf.<<ExecuteTask>b__e>d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Common.Implementations.ScheduledTasks.ScheduledTaskWorker.<Execute>d__6.MoveNext()
 
2014-11-12 20:13:10.2499 Info - LibraryMonitor: Watching directory C:\Users\WMC\AppData\Roaming\MediaBrowser-Server\data\playlists
2014-11-12 20:13:10.2499 Info - LibraryMonitor: Watching directory C:\Users\WMC\AppData\Roaming\MediaBrowser-Server\data\camerauploads
2014-11-12 20:13:10.2499 Info - LibraryMonitor: Watching directory C:\Users\WMC\AppData\Roaming\MediaBrowser-Server\data\collections
2014-11-12 20:13:10.2655 Info - App: Scan media library Failed after 0 minute(s) and 0 seconds
2014-11-12 20:13:10.2811 Debug - NotificationManager: Sending notification via Dashboard Notifications to user Luke
2014-11-12 20:13:10.2811 Info - ServerManager: Sending web socket message NotificationAdded
2014-11-12 20:13:10.2811 Info - ServerManager: Sending web socket message ScheduledTaskEnded
Ip: 127.0.0.1:62814. Headers: Host=localhost:8096,Connection=keep-alive,Accept=application/json, text/javascript, */*; q=0.01,X-MediaBrowser-Token=f84c688d78764410bb4be0eca32ec2bd,User-Agent=Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36,Authorization=MediaBrowser Client="Dashboard", Device="Chrome 38.0.2125.111", DeviceId="7aa5c3f30a8a88bd7f6d06f0d0c9a300c81f69e5", Version="3.0.5424.1", UserId="fd948ff93355813ebdf33529f39d3b6d",Accept-Encoding=gzip,deflate,sdch,Accept-Language=en-US,en;q=0.8
2014-11-12 20:13:10.3293 Debug - HttpServer: HTTP Response 200 to 127.0.0.1. Response time: 0 ms.
Ip: 127.0.0.1:62814. Headers: Host=localhost:8096,Connection=keep-alive,Accept=application/json, text/javascript, */*; q=0.01,X-MediaBrowser-Token=f84c688d78764410bb4be0eca32ec2bd,User-Agent=Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36,Authorization=MediaBrowser Client="Dashboard", Device="Chrome 38.0.2125.111", DeviceId="7aa5c3f30a8a88bd7f6d06f0d0c9a300c81f69e5", Version="3.0.5424.1", UserId="fd948ff93355813ebdf33529f39d3b6d",Accept-Encoding=gzip,deflate,sdch,Accept-Language=en-US,en;q=0.8
2014-11-12 20:13:10.3293 Debug - HttpServer: HTTP Response 200 to 127.0.0.1. Response time: 1.0001 ms.
Ip: 127.0.0.1:62814. Headers: Host=localhost:8096,Connection=keep-alive,Accept=application/json, text/javascript, */*; q=0.01,X-MediaBrowser-Token=f84c688d78764410bb4be0eca32ec2bd,User-Agent=Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36,Authorization=MediaBrowser Client="Dashboard", Device="Chrome 38.0.2125.111", DeviceId="7aa5c3f30a8a88bd7f6d06f0d0c9a300c81f69e5", Version="3.0.5424.1", UserId="fd948ff93355813ebdf33529f39d3b6d",Accept-Encoding=gzip,deflate,sdch,Accept-Language=en-US,en;q=0.8
2014-11-12 20:13:10.3293 Debug - HttpServer: HTTP Response 200 to 127.0.0.1. Response time: 0 ms.
 

TIA!

Edited by theoldlr
Link to comment
Share on other sites

theoldlr

So my SSD crashed (and was probably the source of the dbs getting corrupted im guessing) but I'm back up and running from a backup which, unfortunately, brought the inability to complete the library scan back too.  I deleted the ProviderInfo file as requested, but it did not recreate one after a server restart. Is this ordinary?  Here is a fresh log:

 

2014-11-19 22:24:33.0858 Debug - HttpServer: HTTP POST http://localhost:8096/mediabrowser/ScheduledTasks/Running/2d67d886717cdade18d9640d4ebbb9cb

Ip: 127.0.0.1:52743. Headers: Host=localhost:8096,Connection=keep-alive,Content-Length=0,Accept=*/*,X-MediaBrowser-Token=f84c688d78764410bb4be0eca32ec2bd,User-Agent=Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36,Authorization=MediaBrowser Client="Dashboard", Device="Chrome 38.0.2125.111", DeviceId="7aa5c3f30a8a88bd7f6d06f0d0c9a300c81f69e5", Version="3.0.5424.1", UserId="fd948ff93355813ebdf33529f39d3b6d",Origin=http://localhost:8096,Accept-Encoding=gzip,deflate,Accept-Language=en-US,en;q=0.8
2014-11-19 22:24:33.1034 Info - App: Executing Scan media library
2014-11-19 22:24:33.1174 Debug - HttpServer: HTTP Response 204 to 127.0.0.1. Response time: 14.0008 ms.
2014-11-19 22:24:33.1174 Info - App: Validating media library
2014-11-19 22:24:33.1174 Debug - HttpServer: HTTP GET http://localhost:8096/mediabrowser/ScheduledTasks?
Ip: 127.0.0.1:52743. Headers: Host=localhost:8096,Connection=keep-alive,Accept=application/json, text/javascript, */*; q=0.01,X-MediaBrowser-Token=f84c688d78764410bb4be0eca32ec2bd,User-Agent=Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36,Authorization=MediaBrowser Client="Dashboard", Device="Chrome 38.0.2125.111", DeviceId="7aa5c3f30a8a88bd7f6d06f0d0c9a300c81f69e5", Version="3.0.5424.1", UserId="fd948ff93355813ebdf33529f39d3b6d",Accept-Encoding=gzip,deflate,sdch,Accept-Language=en-US,en;q=0.8
2014-11-19 22:24:33.1254 Debug - HttpServer: HTTP Response 200 to 127.0.0.1. Response time: 2.0001 ms.
2014-11-19 22:24:33.1844 Error - App: gameFiles is 0 for E:\Emulation\Games\Nintendo 64\jsf
2014-11-19 22:24:33.1874 Error - App: gameFiles is 0 for E:\Emulation\Games\Nintendo 64\PutFileInFolderOfSameName
2014-11-19 22:24:33.2090 Error - App: gameFiles is 0 for E:\Emulation\Games\SNES\PutFileInFolderOfSameName
2014-11-19 22:24:33.2090 Error - App: gameFiles is 0 for E:\Emulation\Games\SNES\Operation_Logic_Bomb_(E)_[!]
2014-11-19 22:24:33.2246 Error - App: gameFiles is 0 for E:\Emulation\Games\NES\Creatom (Unl) [!]
2014-11-19 22:24:33.3182 Debug - App: Found multi-disc folder: E:\Music\Todd Rundgren\Something Anything\Disc 1
2014-11-19 22:24:33.3182 Debug - App: Found multi-disc folder: E:\Music\Todd Rundgren\Something Anything\Disc 2
2014-11-19 22:24:33.3182 Debug - App: Found multi-disc folder: E:\Music\The Ultimate Motown Christmas Collection\Disc 1
2014-11-19 22:24:33.3182 Debug - App: Found multi-disc folder: E:\Music\The Ultimate Motown Christmas Collection\Disc 2
2014-11-19 22:24:33.4118 Debug - App: Found multi-disc folder: E:\Music\Todd Rundgren\Something Anything\Disc 1
2014-11-19 22:24:33.4118 Debug - App: Found multi-disc folder: E:\Music\Todd Rundgren\Something Anything\Disc 2
2014-11-19 22:24:33.4898 Debug - App: Found multi-disc folder: E:\Music\Eccentric Soul\NUM013 - Various Artists - Eccentric Soul Twinight's Lunar Rotation\Disc 1
2014-11-19 22:24:33.4898 Debug - App: Found multi-disc folder: E:\Music\Eccentric Soul\NUM020 - Various Artists - Eccentric Soul The Tragar & Note Labels\Disc 1
2014-11-19 22:24:33.4898 Debug - App: Found multi-disc folder: E:\Music\Eccentric Soul\NUM013 - Various Artists - Eccentric Soul Twinight's Lunar Rotation\Disc 2
2014-11-19 22:24:33.4898 Debug - App: Found multi-disc folder: E:\Music\Eccentric Soul\NUM020 - Various Artists - Eccentric Soul The Tragar & Note Labels\Disc 2
2014-11-19 22:24:33.5054 Debug - App: E:\TV\Curb Your Enthusiasm is not a series folder.
2014-11-19 22:24:33.5210 Debug - App: E:\TV\Leverage is not a series folder.
2014-11-19 22:24:33.5210 Debug - App: E:\TV\New Girl is not a series folder.
2014-11-19 22:24:33.5210 Debug - App: E:\TV\Hostages is not a series folder.
2014-11-19 22:24:33.5210 Debug - App: E:\TV\The Mindy Project is not a series folder.
2014-11-19 22:24:34.5216 Info - LibraryMonitor: Watching directory C:\Users\WMC\AppData\Roaming\MediaBrowser-Server\data\camerauploads
2014-11-19 22:24:34.5216 Info - LibraryMonitor: Watching directory E:\Movies
2014-11-19 22:24:34.5216 Info - LibraryMonitor: Watching directory C:\Users\WMC\AppData\Roaming\MediaBrowser-Server\root
2014-11-19 22:24:34.5216 Error - App: Error
database disk image is malformed
database disk image is malformed
System.Data.SQLite.SQLiteException
  at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
  at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
  at System.Data.SQLite.SQLiteDataReader.NextResult()
  at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
  at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
  at System.Data.SQLite.SQLiteCommand.ExecuteDbDataReader(CommandBehavior behavior)
  at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
  at MediaBrowser.Server.Implementations.Persistence.SqliteProviderInfoRepository.GetMetadataStatus(Guid itemId)
  at MediaBrowser.Providers.Manager.MetadataService`2.GetLastResult(IHasMetadata item)
  at MediaBrowser.Providers.Manager.MetadataService`2.<RefreshMetadata>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Controller.Entities.BaseItem.<RefreshMetadata>d__3d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Controller.Entities.Audio.MusicArtist.<RefreshItem>d__1d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Controller.Entities.Audio.MusicArtist.<>c__DisplayClassa.<<RefreshAllMetadata>b__5>d__f.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
  at MediaBrowser.Controller.Entities.Audio.MusicArtist.<RefreshAllMetadata>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Controller.Entities.Folder.<RefreshChildMetadata>d__e1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Controller.Entities.Folder.<RefreshMetadataRecursive>d__db.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Controller.Entities.Folder.<RefreshChildMetadata>d__e1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Controller.Entities.Folder.<RefreshMetadataRecursive>d__db.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
  at MediaBrowser.Controller.Entities.Folder.<ValidateChildrenInternal>d__c2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
  at MediaBrowser.Server.Implementations.Library.LibraryManager.<PerformLibraryValidation>d__57.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Server.Implementations.Library.LibraryManager.<ValidateMediaLibraryInternal>d__50.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Common.Implementations.ScheduledTasks.ScheduledTaskWorker.<>c__DisplayClassf.<<ExecuteTask>b__e>d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  at MediaBrowser.Common.Implementations.ScheduledTasks.ScheduledTaskWorker.<Execute>d__6.MoveNext()
 
2014-11-19 22:24:34.5372 Info - App: Scan media library Failed after 0 minute(s) and 1 seconds
2014-11-19 22:24:34.5216 Info - LibraryMonitor: Watching directory E:\Music
2014-11-19 22:24:34.5216 Info - LibraryMonitor: Watching directory C:\Users\WMC\AppData\Roaming\MediaBrowser-Server\data\collections
2014-11-19 22:24:34.5216 Info - LibraryMonitor: Watching directory E:\TV
2014-11-19 22:24:34.5216 Info - LibraryMonitor: Watching directory E:\Emulation\Games
2014-11-19 22:24:34.5216 Info - LibraryMonitor: Watching directory C:\Users\WMC\AppData\Roaming\MediaBrowser-Server\data\playlists
2014-11-19 22:24:34.5372 Debug - NotificationManager: Sending notification via Dashboard Notifications to user Luke
2014-11-19 22:24:34.5528 Info - ServerManager: Sending web socket message NotificationAdded
2014-11-19 22:24:34.5528 Info - ServerManager: Sending web socket message ScheduledTaskEnded
Ip: 127.0.0.1:52743. Headers: Host=localhost:8096,Connection=keep-alive,Accept=application/json, text/javascript, */*; q=0.01,X-MediaBrowser-Token=f84c688d78764410bb4be0eca32ec2bd,User-Agent=Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36,Authorization=MediaBrowser Client="Dashboard", Device="Chrome 38.0.2125.111", DeviceId="7aa5c3f30a8a88bd7f6d06f0d0c9a300c81f69e5", Version="3.0.5424.1", UserId="fd948ff93355813ebdf33529f39d3b6d",Accept-Encoding=gzip,deflate,sdch,Accept-Language=en-US,en;q=0.8
2014-11-19 22:24:34.5984 Debug - HttpServer: HTTP Response 200 to 127.0.0.1. Response time: 1 ms.
Ip: 127.0.0.1:52743. Headers: Host=localhost:8096,Connection=keep-alive,Accept=application/json, text/javascript, */*; q=0.01,X-MediaBrowser-Token=f84c688d78764410bb4be0eca32ec2bd,User-Agent=Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36,Authorization=MediaBrowser Client="Dashboard", Device="Chrome 38.0.2125.111", DeviceId="7aa5c3f30a8a88bd7f6d06f0d0c9a300c81f69e5", Version="3.0.5424.1", UserId="fd948ff93355813ebdf33529f39d3b6d",Accept-Encoding=gzip,deflate,sdch,Accept-Language=en-US,en;q=0.8
2014-11-19 22:24:34.5984 Debug - HttpServer: HTTP Response 200 to 127.0.0.1. Response time: 0 ms.
 

Thanks again!

Link to comment
Share on other sites

  • 1 month later...
browned

I have the latest beta and since the upgrade had to delete the userdata.db, and the library.db. Now I still get malformed database errors. Any ideas?

 

let me know if that is not enough of the log file?

 

2015-01-09 14:34:52.9465 Error - App: Error
*** Error Report ***
Version: 3.0.5482.1
Command line: C:\Users\Administrator\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe -service
Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
Processor count: 4
64-Bit OS: True
64-Bit Process: False
Program data path: C:\Users\Administrator\AppData\Roaming\MediaBrowser-Server
Application Path: C:\Users\Administrator\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
database disk image is malformed
not an error
System.Data.SQLite.SQLiteException
    at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
    at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
    at System.Data.SQLite.SQLiteDataReader.NextResult()
    at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
    at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
    at System.Data.SQLite.SQLiteCommand.ExecuteDbDataReader(CommandBehavior behavior)
    at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
    at MediaBrowser.Server.Implementations.Persistence.SqliteProviderInfoRepository.GetMetadataStatus(Guid itemId)
    at MediaBrowser.Providers.Manager.MetadataService`2.GetLastResult(IHasMetadata item)
    at MediaBrowser.Providers.Manager.MetadataService`2.<RefreshMetadata>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at MediaBrowser.Controller.Entities.BaseItem.<RefreshMetadata>d__1d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at MediaBrowser.Controller.Entities.Folder.<RefreshChildMetadata>d__c5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at MediaBrowser.Controller.Entities.Folder.<>c__DisplayClassba.<<RefreshMetadataRecursive>b__b5>d__bc.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at MediaBrowser.Controller.Entities.Folder.<RefreshMetadataRecursive>d__bf.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at MediaBrowser.Controller.Entities.Folder.<RefreshChildMetadata>d__c5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at MediaBrowser.Controller.Entities.Folder.<RefreshMetadataRecursive>d__bf.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
    at MediaBrowser.Controller.Entities.Folder.<ValidateChildrenInternal>d__a6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
    at MediaBrowser.Server.Implementations.Library.LibraryManager.<PerformLibraryValidation>d__57.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at MediaBrowser.Server.Implementations.Library.LibraryManager.<ValidateMediaLibraryInternal>d__50.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at MediaBrowser.Common.Implementations.ScheduledTasks.ScheduledTaskWorker.<>c__DisplayClassf.<<ExecuteTask>b__e>d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at MediaBrowser.Common.Implementations.ScheduledTasks.ScheduledTaskWorker.<Execute>d__6.MoveNext()

2015-01-09 14:34:52.9465 Info - App: Scan media library Failed after 0 minute(s) and 47 seconds

Link to comment
Share on other sites

Again, it is the provider info db that is corrupt.  You didn't need to delete those other dbs.

Link to comment
Share on other sites

elcabong

I had the same issue a few weeks ago.. I followed the below post and deleted DBs 1 by 1, but couldnt resolve the issue.  I ended up just deleting my server data folder and started from scratch..  luckily i only have 2 users and it was over winter break and no new shows were coming out so it was easy to mark all the tv shows i needed to as watched.  but lost my movies watch list.  The issue has not come back for me.

http://mediabrowser.tv/community/index.php?/topic/1562-database-disk-image-is-malformed/

Link to comment
Share on other sites

You could use the Server Configuration Backup plug-in to help mitigate losses in these rare situations.

Link to comment
Share on other sites

browned

Again, it is the provider info db that is corrupt.  You didn't need to delete those other dbs.

Where is this DB located I can not find any DB called providerinfo?

 

Thanks

Link to comment
Share on other sites

browned

Where is this DB located I can not find any DB called providerinfo?

 

Thanks

Is related to this line in the log?

 

SqliteProviderInfoRepository: Sqlite 3.8.6 opening C:\Users\username\AppData\Roaming\MediaBrowser-Server\data\refreshinfo.db

 

So providerinfo is actually the refreshinfo.db file?

Link to comment
Share on other sites

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