Sonarr version (exact version):. 2.0.0.4326
Mono version (if Sonarr is not running on Windows): 4.2.3 (Stable 4.2.3.4/832de4b Wed Mar 16 13:19:08 UTC 2016)
OS: Docker via Synology
((Debug logs)): http://hastebin.com/ekutuzokat.rb
16-10-9 08:53:08.3|Error|EventAggregator|ExistingMetadataService failed while processing [SeriesScannedEvent]
[v2.0.0.4326] System.Data.SQLite.SQLiteException: constraint failed NOT NULL constraint failed: MetadataFiles.Extension at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) <0x410f3a90 + 0x0026b> in <filename unknown>:0 at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) <0x410f3590 + 0x0013e> in <filename unknown>:0 at System.Data.SQLite.SQLiteDataReader.NextResult () <0x410ea0d0 + 0x006f2> in <filename unknown>:0 at System.Data.SQLite.SQLiteDataReader..ctor (System.Data.SQLite.SQLiteCommand cmd, CommandBehavior behave) <0x410e9a00 + 0x002a1> in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Data.SQLite.SQLiteDataReader:.ctor (System.Data.SQLite.SQLiteCommand,System.Data.CommandBehavior) at System.Data.SQLite.SQLiteCommand.ExecuteReader (CommandBehavior behavior) <0x410e9080 + 0x00043> in <filename unknown>:0 at System.Data.SQLite.SQLiteCommand.ExecuteScalar (CommandBehavior behavior) <0x40b41610 + 0x00037> in <filename unknown>:0 at System.Data.SQLite.SQLiteCommand.ExecuteScalar () <0x40b415e0 + 0x0001b> in <filename unknown>:0 at Marr.Data.QGen.InsertQueryBuilder
1[T].Execute () <0x40b3fb10 + 0x000d3> in :0
at Marr.Data.DataMapper.Insert[T] (Marr.Data.T entity) <0x40b3f300 + 0x00254> in :0
at NzbDrone.Core.Datastore.BasicRepository1[TModel].InsertMany (IList
1 models) <0x409b90e0 + 0x001a6> in :0
at NzbDrone.Core.Metadata.Files.MetadataFileService.Upsert (System.Collections.Generic.List1 metadataFiles) <0x40c58c00 + 0x0022e> in <filename unknown>:0 at NzbDrone.Core.Metadata.ExistingMetadataService.Handle (NzbDrone.Core.MediaFiles.Events.SeriesScannedEvent message) <0x40c57020 + 0x0068b> in <filename unknown>:0 at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent] (NzbDrone.Core.Messaging.Events.TEvent event) <0x4099ddd0 + 0x003f1> in <filename unknown>:0
Description of issue: For a long time I’ve had Sonarr running on a Mac Mini, but as I have NzgGet running on a synology box, I finally decided to move it all over to docker containers. Everything is working perfectly, however I see lots of the above in the logs, and errors make me nervous
I kicked off a series refresh after enabling debug to get the above to occur. It basically just loops like that.
Full disclosure, I copied over my nzbdrone.db from the old install, and I also copied over the data from the MediaCover folder as I was getting an error initially with the metadata service and I thought this might fix it. It didn’t, and I’ve since delete that directly and had Sonarr rebuild it but the error seems to happen regardless.
EDIT: I’ve also just noticed a fair bit of this in the logs. Usually it’s Season NFO’s, but this one is the video file. Not sure why only some files would be hit by this?
Unable to parse media info from file: /tv/You're the Worst/Season 3/You're the Worst S03E04 Men Get Strong.mkv: Access to the path "/tv/You're the Worst/Season 3/You're the Worst S03E04 Men Get Strong.mkv" is denied.
System.UnauthorizedAccessException: Access to the path "/tv/You're the Worst/Season 3/You're the Worst S03E04 Men Get Strong.mkv" is denied. at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) <0x40f8c090 + 0x00687> in <filename unknown>:0 at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean isAsync, Boolean anonymous) <0x40f8c020 + 0x0005b> in <filename unknown>:0 at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access) <0x40f8bfb0 + 0x00057> in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess) at NzbDrone.Common.Disk.DiskProviderBase.OpenReadStream (System.String path) <0x40ba8810 + 0x0004b> in <filename unknown>:0 at NzbDrone.Core.MediaFiles.MediaInfo.VideoFileInfoReader.GetMediaInfo (System.String filename) <0x40d45560 + 0x00218> in <filename unknown>:0 Close Sonarr