Misoss 0 Posted February 12, 2017 Share Posted February 12, 2017 (edited) Hi, I have just updated the emby server, since it does not want to do scan library. Thank you for your help Emby-server : Version 3.2.1.0 OS : CentOS Linux release 7.3.1611 (Core) Scan media library failed.Value cannot be null. Parameter name: path 2017-02-12 15:14:58.5323 Info TaskManager: Executing Scan media library 2017-02-12 15:14:58.5323 Info App: Validating media library 2017-02-12 15:14:58.5346 Error TaskManager: Error *** Error Report *** Version: 3.2.1.0 Command line: /usr/lib/emby-server/bin/MediaBrowser.Server.Mono.exe -programdata /var/lib/emby-server -restartpath /usr/lib/emby-server/restart.sh Operating system: Unix 3.14.32.6 64-Bit OS: True 64-Bit Process: True Mono: 4.6.2 (Stable 4.6.2.7/08fd525 Tue Nov 29 22:31:42 UTC 2016) Processor count: 4 Program data path: /var/lib/emby-server Application directory: /usr/lib/emby-server/bin System.ArgumentNullException: Value cannot be null. Parameter name: path at Emby.Common.Implementations.IO.ManagedFileSystem.GetDirectoryInfo (System.String path) [0x00008] in <da20615430c54c638e588efcad199fdc>:0 at MediaBrowser.Controller.Entities.AggregateFolder.CreateResolveArgs (MediaBrowser.Controller.Providers.IDirectoryService directoryService, System.Boolean setPhysicalLocations) [0x00024] in <2a63d09a43d04dbe9f3b6c5d5a1a3f1e>:0 at MediaBrowser.Controller.Entities.AggregateFolder.RequiresRefresh () [0x00037] in <2a63d09a43d04dbe9f3b6c5d5a1a3f1e>:0 at MediaBrowser.Providers.Manager.MetadataService`2+<RefreshMetadata>c__async0[TItemType,TIdType].MoveNext () [0x0007c] in <4d54051fc914418fa8d71186a68a1de4>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at MediaBrowser.Controller.Entities.BaseItem+<RefreshMetadata>c__async1.MoveNext () [0x001fa] in <2a63d09a43d04dbe9f3b6c5d5a1a3f1e>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at Emby.Server.Implementations.Library.LibraryManager+<PerformLibraryValidation>c__async3.MoveNext () [0x00113] in <60da0dda661040f0bc947d7e94c669aa>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at Emby.Server.Implementations.Library.LibraryManager+<ValidateMediaLibraryInternal>c__async2.MoveNext () [0x000ae] in <60da0dda661040f0bc947d7e94c669aa>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at Emby.Common.Implementations.ScheduledTasks.ScheduledTaskWorker+<ExecuteInternal>d__68.MoveNext () [0x00181] in <da20615430c54c638e588efcad199fdc>:0 System.ArgumentNullException at Emby.Common.Implementations.IO.ManagedFileSystem.GetDirectoryInfo (System.String path) [0x00008] in <da20615430c54c638e588efcad199fdc>:0 at MediaBrowser.Controller.Entities.AggregateFolder.CreateResolveArgs (MediaBrowser.Controller.Providers.IDirectoryService directoryService, System.Boolean setPhysicalLocations) [0x00024] in <2a63d09a43d04dbe9f3b6c5d5a1a3f1e>:0 at MediaBrowser.Controller.Entities.AggregateFolder.RequiresRefresh () [0x00037] in <2a63d09a43d04dbe9f3b6c5d5a1a3f1e>:0 at MediaBrowser.Providers.Manager.MetadataService`2+<RefreshMetadata>c__async0[TItemType,TIdType].MoveNext () [0x0007c] in <4d54051fc914418fa8d71186a68a1de4>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at MediaBrowser.Controller.Entities.BaseItem+<RefreshMetadata>c__async1.MoveNext () [0x001fa] in <2a63d09a43d04dbe9f3b6c5d5a1a3f1e>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at Emby.Server.Implementations.Library.LibraryManager+<PerformLibraryValidation>c__async3.MoveNext () [0x00113] in <60da0dda661040f0bc947d7e94c669aa>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at Emby.Server.Implementations.Library.LibraryManager+<ValidateMediaLibraryInternal>c__async2.MoveNext () [0x000ae] in <60da0dda661040f0bc947d7e94c669aa>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at Emby.Common.Implementations.ScheduledTasks.ScheduledTaskWorker+<ExecuteInternal>d__68.MoveNext () [0x00181] in <da20615430c54c638e588efcad199fdc>:0 2017-02-12 15:14:58.5346 Info TaskManager: Scan media library Failed after 0 minute(s) and 0 seconds 2017-02-12 15:14:58.5358 Info ServerManager: Sending web socket message ScheduledTaskEnded 2017-02-12 15:14:58.5363 Debug NotificationManager: Sending notification via Dashboard Notifications to user Zizzou 2017-02-12 15:14:58.5363 Info ServerManager: Sending web socket message NotificationAdded 2017-02-12 15:14:58.5363 Debug NotificationManager: Sending notification via Dashboard Notifications to user Misoss 2017-02-12 15:14:58.5363 Info ServerManager: Sending web socket message NotificationAdded 2017-02-12 15:14:58.5363 Info TaskManager: ExecuteQueuedTasks Edited February 12, 2017 by Misoss Link to comment Share on other sites More sharing options...
Luke 37046 Posted February 12, 2017 Share Posted February 12, 2017 Hi there @@Misoss, we're sorry to hear about this. Do you know what version you were coming from, or how long it had been since you had updated? thanks ! Link to comment Share on other sites More sharing options...
Misoss 0 Posted February 12, 2017 Author Share Posted February 12, 2017 (edited) Hi @@Luke, I'm not sure, but I think it's 3.0.4~3.0.5. Thanks ^^ PS : After checking my log file goes back to 3.0.5607 Edited February 12, 2017 by Misoss Link to comment Share on other sites More sharing options...
Solution Luke 37046 Posted February 13, 2017 Solution Share Posted February 13, 2017 Hi @missos, ok so you probably hadn't updated in a year. I would suggest resetting your library database. To do this, shut down the server, then delete the following file: /var/lib/emby-server/data/library.db When the server starts back up, run a new library scan, which will take a little while. Let us know if this helps, thanks ! 1 Link to comment Share on other sites More sharing options...
Misoss 0 Posted February 13, 2017 Author Share Posted February 13, 2017 (edited) At first it didn't work. I have done the procedure and removing the "virtual folders" from emby, I had to recreate the binding of "physical folders" and this have fixed problem =) Thank you @@Luke !! Edited February 13, 2017 by Misoss Link to comment Share on other sites More sharing options...
Luke 37046 Posted February 13, 2017 Share Posted February 13, 2017 Thanks for reporting back ! 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