DB Access error even after re-install

Sonarr version (exact version): 2.0.0.4753
Mono version (if Sonarr is not running on Windows):5.0.1.1
OS: Ubuntu 16.04 running under Virtualbox
((Debug logs)): Now on here’s all collected so far.
17-6-17 18:10:23.7|Debug|Api|[PUT] /api/config/host: 202.Accepted (55 ms)
17-6-17 18:10:23.9|Debug|Api|[GET] /api/health: 200.OK (1 ms)
17-6-17 18:10:44.5|Debug|Api|[GET] /api/health: 200.OK (2 ms)
17-6-17 18:10:44.5|Debug|Api|[GET] /api/health: 200.OK (1 ms)
17-6-17 18:10:44.6|Debug|Api|[GET] /api/diskspace: 200.OK (42 ms)
17-6-17 18:10:44.7|Debug|Api|[GET] /api/diskspace: 200.OK (67 ms)
17-6-17 18:10:48.1|Debug|Api|[GET] /api/log?page=1&pageSize=50&sortKey=time&sortDir=desc: 200.OK (5 ms)
17-6-17 18:10:48.1|Debug|Api|[GET] /api/log?page=1&pageSize=50&sortKey=time&sortDir=desc: 200.OK (3 ms)
17-6-17 18:10:52.1|Debug|Api|[GET] /api/log/file: 200.OK (3 ms)

(Make sure debug logging is enabled in settings and post the full log to hastebin/pastebin/dropbox/google drive or something similar, do not post them directly here)
Description of issue: Sonarr will run for a few hours and then throw …
Task Error: unable to open database file
System.Data.SQLite.SQLiteException (0x80004005): unable to open database file
at System.Data.SQLite.SQLite3.Open (System.String strFilename, System.Data.SQLite.SQLiteConnectionFlags connectionFlags, System.Data.SQLite.SQLiteOpenFlagsEnum openFlags, System.Int32 maxPoolSize, System.Boolean usePool) [0x00074] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at System.Data.SQLite.SQLiteConnection.Open () [0x00959] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at Marr.Data.DataMapper.OpenConnection () [0x00019] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\Marr.Data\DataMapper.cs:847
at Marr.Data.DataMapper.Query[T] (System.String sql, System.Collections.Generic.ICollection1[T] entityList, System.Boolean useAltName) [0x00065] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\Marr.Data\DataMapper.cs:566 at Marr.Data.QGen.QueryBuilder1[T].ToList () [0x00052] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\Marr.Data\QGen\QueryBuilder.cs:279
at NzbDrone.Core.Datastore.BasicRepository`1[TModel].All () [0x00000] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Datastore\BasicRepository.cs:60
at NzbDrone.Core.Jobs.TaskManager.GetPending () [0x00000] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Jobs\TaskManager.cs:44
at NzbDrone.Core.Jobs.Scheduler.ExecuteCommands () [0x0000b] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Jobs\Scheduler.cs:36
at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in :0
at System.Threading.Tasks.Task.Execute () [0x00010] in :0
Close

I have followed the FAQ and cleared out the db files more than once. I have removed sonarr and the .config directory and re-installed (oddly enough it re-created the DB) and it still does this.
Funnily enough radarr on the same VM is doing the same thing.

This might be relevant … seen it on both Sonarr and Radarr.

[v0.2.0.696] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.Data.SQLite.SQLiteException: constraint failed
UNIQUE constraint failed: Config.Key
at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at System.Data.SQLite.SQLiteDataReader…ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>: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 (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at System.Data.SQLite.SQLiteCommand.ExecuteScalar (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at System.Data.SQLite.SQLiteCommand.ExecuteScalar () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at Marr.Data.QGen.InsertQueryBuilder1[T].Execute () [0x00046] in C:\projects\radarr-usby1\src\Marr.Data\QGen\InsertQueryBuilder.cs:140 at Marr.Data.DataMapper.Insert[T] (T entity) [0x0005d] in C:\projects\radarr-usby1\src\Marr.Data\DataMapper.cs:728 at NzbDrone.Core.Datastore.BasicRepository1[TModel].Insert (TModel model) [0x0002d] in C:\projects\radarr-usby1\src\NzbDrone.Core\Datastore\BasicRepository.cs:111
at NzbDrone.Core.Configuration.ConfigRepository.Upsert (System.String key, System.String value) [0x0000b] in C:\projects\radarr-usby1\src\NzbDrone.Core\Configuration\ConfigRepository.cs:33
at NzbDrone.Core.Configuration.ConfigService.SetValue (System.String key, System.String value) [0x0001a] in C:\projects\radarr-usby1\src\NzbDrone.Core\Configuration\ConfigService.cs:490
at NzbDrone.Core.Configuration.ConfigService.GetValue (System.String key, System.Object defaultValue, System.Boolean persist) [0x0009a] in C:\projects\radarr-usby1\src\NzbDrone.Core\Configuration\ConfigService.cs:464
at NzbDrone.Core.Configuration.ConfigService.get_RijndaelSalt () [0x00000] in C:\projects\radarr-usby1\src\NzbDrone.Core\Configuration\ConfigService.cs:406
at (wrapper delegate-invoke) :invoke_callvirt_string_ConfigService (NzbDrone.Core.Configuration.ConfigService)
at System.Reflection.MonoProperty.GetterAdapterFrame[T,R] (System.Reflection.MonoProperty+Getter2[T,R] getter, System.Object obj) [0x00000] in <a07d6bf484a54da2861691df910339b1>:0 at System.Reflection.MonoProperty.GetValue (System.Object obj, System.Object[] index) [0x00075] in <a07d6bf484a54da2861691df910339b1>:0 --- End of inner exception stack trace --- at System.Reflection.MonoProperty.GetValue (System.Object obj, System.Object[] index) [0x00089] in <a07d6bf484a54da2861691df910339b1>:0 at NzbDrone.Core.Configuration.ConfigService.AllWithDefaults () [0x0001f] in C:\projects\radarr-usby1\src\NzbDrone.Core\Configuration\ConfigService.cs:43 at NzbDrone.Core.Configuration.ConfigService.SaveConfigDictionary (System.Collections.Generic.Dictionary2[TKey,TValue] configValues) [0x00000] in C:\projects\radarr-usby1\src\NzbDrone.Core\Configuration\ConfigService.cs:52
at NzbDrone.Api.Config.HostConfigModule.SaveHostConfig (NzbDrone.Api.Config.HostConfigResource resource) [0x0005c] in C:\projects\radarr-usby1\src\NzbDrone.Api\Config\HostConfigModule.cs:77
at NzbDrone.Api.REST.RestModule1[TResource].<set_UpdateResource>b__44_0 (System.Object options) [0x00008] in C:\projects\radarr-usby1\src\NzbDrone.Api\REST\RestModule.cs:177 at (wrapper dynamic-method) System.Object:CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,System.Func2<object, object>,object)
at Nancy.Routing.Route+<>c__DisplayClass4.b__3 (System.Object parameters, System.Threading.CancellationToken context) [0x00049] in <63c44d6f8d7e4f339a987bf9eb94d931>:0

Slightly at my wits end because it does this even after clean install.

Happeneded again at 8.55. Here is the debug log snippet

17-6-17 21:12:58.9|Debug|DiskScanService|2 video files were found in /mnt/hyena_pool/Watch/TV/
17-6-17 21:14:28.9|Debug|DiskScanService|Scanning ‘/mnt/hyena_pool/Watch/TV/’ for video files
17-6-17 21:14:28.9|Debug|DiskScanService|2 video files were found in /mnt/hyena_pool/Watch/TV/
17-6-18 08:56:04.2|Debug|DiskScanService|Scanning ‘/mnt/hyena_pool/Watch/TV/’ for video files
17-6-18 08:56:04.2|Debug|DiskScanService|2 video files were found in /mnt/hyena_pool/Watch/TV/
17-6-18 08:56:04.2|Debug|InstallUpdateService|Checking for updates
17-6-18 08:56:04.2|Info|SceneMappingService|Updating Scene mappings
17-6-18 08:56:04.2|Debug|XemProxy|Fetching alternate names
17-6-18 08:56:04.4|Debug|InstallUpdateService|No update available
17-6-18 08:56:04.4|Info|RefreshSeriesService|Updating Info for The 100
17-6-18 08:56:04.8|Info|RefreshEpisodeService|Starting episode info refresh for: [268592][The 100]
17-6-18 08:56:04.8|Info|RssSyncService|Starting RSS Sync
17-6-18 08:56:04.8|Debug|FetchAndParseRssService|Available indexers 1
17-6-18 08:56:04.8|Debug|Torznab|Downloading Feed http://192.168.1.132:9117/torznab/iptorrents/api?t=tvsearch&cat=5030,5040&extended=1&apikey=(removed)&offset=0&limit=100
17-6-18 08:56:04.9|Debug|EpisodeAddedService|No new episodes, skipping search
17-6-18 08:56:04.9|Info|RefreshEpisodeService|Finished episode refresh for series: [268592][The 100].
17-6-18 08:56:04.9|Debug|RefreshSeriesService|Finished series refresh for The 100
17-6-18 08:56:04.9|Info|DiskScanService|Scanning disk for The 100
17-6-18 08:56:04.9|Debug|DiskScanService|Scanning ‘/mnt/hyena_pool/Video/TV/The 100’ for video files
17-6-18 08:56:05.0|Debug|DiskScanService|13 video files were found in /mnt/hyena_pool/Video/TV/The 100
17-6-18 08:56:05.0|Debug|DiskScanService|[268592][The 100] Cleaning up media files in DB
17-6-18 08:56:05.0|Debug|ImportDecisionMaker|Analyzing 0/13 files.
17-6-18 08:56:05.0|Info|DiskScanService|Completed scanning disk for The 100
17-6-18 08:56:05.0|Debug|ExistingExtraFileService|Looking for existing extra files in /mnt/hyena_pool/Video/TV/The 100
17-6-18 08:56:05.0|Debug|DiskScanService|Scanning ‘/mnt/hyena_pool/Video/TV/The 100’ for non-video files
17-6-18 08:56:05.0|Debug|DiskScanService|1 non-video files were found in /mnt/hyena_pool/Video/TV/The 100
17-6-18 08:56:05.0|Debug|ExistingMetadataImporter|Looking for existing metadata in /mnt/hyena_pool/Video/TV/The 100
17-6-18 08:56:05.1|Info|ExistingMetadataImporter|Found 0 existing metadata files
17-6-18 08:56:05.1|Debug|ExistingSubtitleImporter|Looking for existing subtitle files in /mnt/hyena_pool/Video/TV/The 100
17-6-18 08:56:05.1|Info|ExistingSubtitleImporter|Found 0 existing subtitle files
17-6-18 08:56:05.1|Debug|ExistingOtherExtraImporter|Looking for existing extra files in /mnt/hyena_pool/Video/TV/The 100
17-6-18 08:56:05.1|Info|ExistingOtherExtraImporter|Found 0 existing other extra files
17-6-18 08:56:05.1|Info|ExistingExtraFileService|Found 0 extra files
17-6-18 08:56:05.2|Debug|XemProxy|Fetching Series IDs from
17-6-18 08:56:05.2|Warn|Torznab|Indexer IPT rss sync didn’t cover the period between 17/06/2017 21:14:43 and 18/06/2017 03:50:05 UTC. Search may be required.
17-6-18 08:56:05.5|Debug|FetchAndParseRssService|Found 50 reports
17-6-18 08:56:05.5|Info|DownloadDecisionMaker|Processing 50 releases
17-6-18 08:56:05.5|Debug|Parser|Parsing string 'Mantracker S03E10 1080p HEVC x265-MeGusta’
17-6-18 08:56:05.5|Debug|Parser|Episode Parsed. Mantracker - S03E10
17-6-18 08:56:05.5|Debug|Parser|Language parsed: English
17-6-18 08:56:05.5|Debug|QualityParser|Trying to parse quality for Mantracker S03E10 1080p HEVC x265-MeGusta
17-6-18 08:56:05.5|Debug|Parser|Quality parsed: HDTV-1080p v1
17-6-18 08:56:05.5|Debug|Parser|Release Group parsed: MeGusta
17-6-18 08:56:05.5|Debug|ParsingService|No matching series Mantracker
17-6-18 08:56:05.5|Debug|DownloadDecisionMaker|Release rejected for the following reasons: [Permanent] Unknown Series
17-6-18 08:56:05.5|Debug|Parser|Parsing string 'El Chapo S01E08 1080p HEVC x265-MeGusta’
17-6-18 08:56:05.5|Debug|Parser|Episode Parsed. El Chapo - S01E08
17-6-18 08:56:05.5|Debug|Parser|Language parsed: English
17-6-18 08:56:05.5|Debug|QualityParser|Trying to parse quality for El Chapo S01E08 1080p HEVC x265-MeGusta
17-6-18 08:56:05.5|Debug|Parser|Quality parsed: HDTV-1080p v1
17-6-18 08:56:05.5|Debug|Parser|Release Group parsed: MeGusta
17-6-18 08:56:05.5|Debug|ParsingService|No matching series El Chapo
17-6-18 08:56:05.5|Debug|DownloadDecisionMaker|Release rejected for the following reasons: [Permanent] Unknown Series
17-6-18 08:56:05.5|Debug|XemService|Scene numbering is not available for The 100 [268592]
17-6-18 08:56:05.5|Debug|Parser|Parsing string 'UFC Fight Night 111 1080p HDTV x264-VERUM’
17-6-18 08:56:05.5|Debug|Parser|Episode Parsed. UFC Fight Night - S01E11
17-6-18 08:56:05.5|Debug|Parser|Language parsed: English
17-6-18 08:56:05.5|Debug|QualityParser|Trying to parse quality for UFC Fight Night 111 1080p HDTV x264-VERUM
17-6-18 08:56:05.5|Debug|Parser|Quality parsed: HDTV-1080p v1
17-6-18 08:56:05.5|Debug|Parser|Release Group parsed: VERUM
17-6-18 08:56:05.5|Debug|ParsingService|No matching series UFC Fight Night
17-6-18 08:56:05.5|Debug|DownloadDecisionMaker|Release rejected for the following reasons: [Permanent] Unknown Series
17-6-18 08:56:05.5|Debug|Parser|Parsing string 'UFC Fight Night 111 Prelims 1080p HDTV x264-VERUM’
17-6-18 08:56:05.5|Debug|Parser|Episode Parsed. UFC Fight Night - S01E11
17-6-18 08:56:05.5|Debug|Parser|Language parsed: English
17-6-18 08:56:05.5|Debug|QualityParser|Trying to parse quality for UFC Fight Night 111 Prelims 1080p HDTV x264-VERUM
17-6-18 08:56:05.5|Debug|Parser|Quality parsed: HDTV-1080p v1
17-6-18 08:56:05.5|Debug|Parser|Release Group parsed: VERUM
17-6-18 08:56:05.5|Debug|ParsingService|No matching series UFC Fight Night
17-6-18 08:56:05.5|Debug|DownloadDecisionMaker|Release rejected for the following reasons: [Permanent] Unknown Series
17-6-18 08:56:05.5|Debug|Parser|Parsing string 'NASCAR Camping World Truck Series 2017 06 17 Gateway-Drivin for Linemen 200 720p HEVC x265-MeGusta’
17-6-18 08:56:05.5|Debug|Parser|Episode Parsed. NASCAR Camping World Truck Series - 2017-06-17
17-6-18 08:56:05.5|Debug|Parser|Language parsed: English
17-6-18 08:56:05.5|Debug|QualityParser|Trying to parse quality for NASCAR Camping World Truck Series 2017 06 17 Gateway-Drivin for Linemen 200 720p HEVC x265-MeGusta
17-6-18 08:56:05.5|Debug|Parser|Quality parsed: HDTV-720p v1
17-6-18 08:56:05.5|Debug|Parser|Release Group parsed: MeGusta
17-6-18 08:56:05.5|Info|RefreshSeriesService|Skipping refresh of series: American Crime
17-6-18 08:56:05.5|Debug|ParsingService|No matching series NASCAR Camping World Truck Series
17-6-18 08:56:05.5|Debug|DownloadDecisionMaker|Release rejected for the following reasons: [Permanent] Unknown Series
17-6-18 08:56:05.5|Debug|Parser|Parsing string 'Boxing 2017 06 17 Andre Ward Vs Sergey Kovalev PPV HDTV x264-PLUTONiUM’
17-6-18 08:56:05.5|Debug|Parser|Episode Parsed. Boxing - 2017-06-17
17-6-18 08:56:05.5|Debug|Parser|Language parsed: English
17-6-18 08:56:05.5|Debug|QualityParser|Trying to parse quality for Boxing 2017 06 17 Andre Ward Vs Sergey Kovalev PPV HDTV x264-PLUTONiUM

I note it keeps mentioning series that I don’t have it set up to monitor.

17-6-10 20:27:40.7|Fatal|NzbDroneErrorPipeline|Request Failed. PUT /api/config/host

[v2.0.0.4753] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.Data.SQLite.SQLiteException: constraint failed
UNIQUE constraint failed: Config.Key
at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) <0x403be9f0 + 0x0027f> in :0
at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) <0x403be4c0 + 0x0014e> in :0
at System.Data.SQLite.SQLiteDataReader.NextResult () <0x403bb830 + 0x00741> in :0
at System.Data.SQLite.SQLiteDataReader…ctor (System.Data.SQLite.SQLiteCommand cmd, CommandBehavior behave) <0x403bb150 + 0x002b9> in :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) <0x403ba750 + 0x00043> in :0
at System.Data.SQLite.SQLiteCommand.ExecuteScalar (CommandBehavior behavior) <0x405ce970 + 0x00037> in :0
at System.Data.SQLite.SQLiteCommand.ExecuteScalar () <0x405ce940 + 0x0001b> in :0
at Marr.Data.QGen.InsertQueryBuilder1[T].Execute () [0x00046] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\Marr.Data\QGen\InsertQueryBuilder.cs:140 at Marr.Data.DataMapper.Insert[T] (Marr.Data.T entity) [0x0005d] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\Marr.Data\DataMapper.cs:728 at NzbDrone.Core.Datastore.BasicRepository1[TModel].Insert (NzbDrone.Core.Datastore.TModel model) [0x0002d] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Datastore\BasicRepository.cs:111
at NzbDrone.Core.Configuration.ConfigRepository.Upsert (System.String key, System.String value) [0x0000b] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Configuration\ConfigRepository.cs:33
at NzbDrone.Core.Configuration.ConfigService.SetValue (System.String key, System.String value) [0x0001a] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Configuration\ConfigService.cs:399
at NzbDrone.Core.Configuration.ConfigService.GetValue (System.String key, System.Object defaultValue, Boolean persist) [0x0009a] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Configuration\ConfigService.cs:373
at NzbDrone.Core.Configuration.ConfigService.get_HmacPassphrase () [0x00000] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Configuration\ConfigService.cs:313
at (wrapper delegate-invoke) :invoke_callvirt_string_ConfigService (NzbDrone.Core.Configuration.ConfigService)
at System.Reflection.MonoProperty.GetterAdapterFrame[T,R] (System.Reflection.Getter2 getter, System.Object obj) <0x7fe3851aece0 + 0x00039> in <filename unknown>:0 at System.Reflection.MonoProperty.GetValue (System.Object obj, System.Object[] index) <0x7fe3851aef20 + 0x00129> in <filename unknown>:0 --- End of inner exception stack trace --- at System.Reflection.MonoProperty.GetValue (System.Object obj, System.Object[] index) <0x7fe3851aef20 + 0x00167> in <filename unknown>:0 at NzbDrone.Core.Configuration.ConfigService.AllWithDefaults () [0x0001f] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Configuration\ConfigService.cs:44 at NzbDrone.Core.Configuration.ConfigService.SaveConfigDictionary (System.Collections.Generic.Dictionary2 configValues) [0x00000] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Configuration\ConfigService.cs:53
at NzbDrone.Api.Config.HostConfigModule.SaveHostConfig (NzbDrone.Api.Config.HostConfigResource resource) [0x0005c] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Api\Config\HostConfigModule.cs:77
at NzbDrone.Api.REST.RestModule1[TResource].<set_UpdateResource>b__44_0 (System.Object options) [0x00008] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Api\REST\RestModule.cs:171 at (wrapper dynamic-method) System.Object:CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,System.Func2<object, object>,object)
at Nancy.Routing.Route+<>c__DisplayClass4.b__3 (System.Object parameters, CancellationToken context) <0x4059aba0 + 0x0014f> in :0

17-6-10 20:28:18.3|Info|RssSyncService|Starting RSS Sync
17-6-10 20:28:18.8|Info|DownloadDecisionMaker|Processing 50 releases
17-6-10 20:28:19.0|Info|RssSyncService|RSS Sync Completed. Reports found: 50, Reports grabbed: 0
17-6-10 20:29:20.7|Warn|NzbDroneErrorPipeline|Invalid request Validation failed:
– Invalid Path

17-6-10 20:48:20.4|Info|SeriesScannedHandler|[Dark Matter] was recently added, performing post-add actions
17-6-10 20:48:20.5|Info|MediaCoverService|Downloading Fanart for [292174][Dark Matter] http://thetvdb.com/banners/fanart/original/292174-6.jpg
17-6-10 20:48:20.7|Info|MediaCoverService|Downloading Banner for [292174][Dark Matter] http://thetvdb.com/banners/graphical/292174-g2.jpg
17-6-10 20:48:20.8|Info|MediaCoverService|Downloading Poster for [292174][Dark Matter] http://thetvdb.com/banners/posters/292174-8.jpg
17-6-10 20:48:21.0|Info|MetadataService|Series folder does not exist, skipping metadata creation
17-6-10 20:50:25.3|Warn|NzbDroneErrorPipeline|Invalid request Validation failed:
– Path is already configured as a root folder
17-6-10 20:51:09.9|Warn|NzbDroneErrorPipeline|Invalid request Validation failed:
– Path is already configured as a root folder
17-6-10 20:54:12.0|Warn|NzbDroneErrorPipeline|Invalid request Validation failed:
– Path is already configured as a root folder
17-6-10 20:57:11.3|Info|AddSeriesService|Adding Series [121361][Game of Thrones] Path: [/mnt/hyena_pool/Video/TV/A Game of Thrones]
17-6-10 20:57:11.3|Info|RefreshSeriesService|Updating Info for Game of Thrones
17-6-10 20:57:11.4|Warn|MediaCoverMapper|File /home/lusiphur/.config/NzbDrone/MediaCover/14/poster.jpg not found
17-6-10 20:57:12.2|Info|RefreshEpisodeService|Starting episode info refresh for: [121361][Game of Thrones]
17-6-10 20:57:12.2|Info|RefreshEpisodeService|Finished episode refresh for series: [121361][Game of Thrones].
17-6-10 20:57:12.2|Info|DiskScanService|Scanning disk for Game of Thrones

From the normal logs.

Please post your logs to a site such as hastebin or patsebin, as requested when you opened the thread, not in the thread directly.

Pastebin … https://pastebin.com/e3vTv9Yp

This was after a clean install with all backups removed. I think this is the relevant section

17-6-25 09:15:02.6|Fatal|ConsoleApp|EPIC FAIL!

[v2.0.0.4753] System.UnauthorizedAccessException: Access to the path “/home/(removed)/.config” is denied.

lusiphur@Serverapps:~$ ls -lrt ~/.config
total 12
drwxrwxr-x 3 lusiphur lusiphur 4096 Jun 10 19:51 Jackett
drwxr-xr-x 6 lusiphur lusiphur 4096 Jun 24 17:39 Radarr
drwxrwxr-x 4 lusiphur lusiphur 4096 Jun 25 21:02 NzbDrone

drwxrwxr-x 6 lusiphur lusiphur 4096 Jun 24 11:50 .config

lusiphur@Serverapps:~$ cat /etc/systemd/system/sonarr.service
[Unit]
Description=Sonarr Daemon
After=syslog.target network.target

[Service]
User=lusiphur
Group=lusiphur

Type=simple
ExecStart=/usr/bin/mono --debug /opt/NzbDrone/NzbDrone.exe -nobrowser
TimeoutStopSec=20
KillMode=process
Restart=on-failure

[Install]
WantedBy=multi-user.targetlusiphur@Serverapps:~$ cat /etc/systemd/system/sonarr.service
[Unit]
Description=Sonarr Daemon
After=syslog.target network.target

[Service]
User=lusiphur
Group=lusiphur

Type=simple
ExecStart=/usr/bin/mono --debug /opt/NzbDrone/NzbDrone.exe -nobrowser
TimeoutStopSec=20
KillMode=process
Restart=on-failure

[Install]
WantedBy=multi-user.target

What about the permissions on that path? (I assume is (removed) is lusiphur)

ls -la /home/lusiphur

lusiphur@Serverapps:~$ ls -la /home/lusiphur
total 10812
drwx------ 8 lusiphur lusiphur 4096 Jun 14 18:13 .
drwxr-xr-x 4 root root 4096 Jun 9 17:22 …
-rw------- 1 lusiphur lusiphur 14673 Jun 29 08:06 .bash_history
-rw-r–r-- 1 lusiphur lusiphur 220 Jun 9 17:22 .bash_logout
-rw-r–r-- 1 lusiphur lusiphur 3771 Jun 9 17:22 .bashrc
-rw-r–r-- 1 lusiphur lusiphur 50 Jun 11 14:31 books_find
drwx------ 4 lusiphur lusiphur 4096 Jun 10 21:46 .cache
-rw-r–r-- 1 lusiphur lusiphur 51 Jun 11 14:31 comics_find
drwxrwxr-x 6 lusiphur lusiphur 4096 Jun 24 11:50 .config
-rw------- 1 lusiphur lusiphur 5349 Jun 11 11:41 config.ini
-rwxr-xr-x 1 lusiphur lusiphur 2553 Jun 11 14:35 download.sh
lrwxrwxrwx 1 lusiphur lusiphur 34 Jun 9 17:22 .ecryptfs -> /home/.ecryptfs/lusiphur/.ecryptfs
-rw-rw-r-- 1 lusiphur lusiphur 55 Jun 11 09:21 .gitconfig
drwxrwxr-x 2 lusiphur lusiphur 12288 Jun 10 19:43 Jackett
-rw-rw-r-- 1 lusiphur lusiphur 3614553 Jun 8 19:50 Jackett.Binaries.Mono.tar.gz
-rw------- 1 lusiphur lusiphur 36 Jun 14 18:13 .lesshst
drwx------ 4 lusiphur lusiphur 4096 Jun 10 21:46 .local
-rw-r–r-- 1 lusiphur lusiphur 51 Jun 11 14:30 movies_find
-rw-r–r-- 1 lusiphur lusiphur 49 Jun 11 14:31 music_find
drwxrwxr-x 2 lusiphur lusiphur 4096 Jun 11 10:10 .nano
lrwxrwxrwx 1 lusiphur lusiphur 33 Jun 9 17:22 .Private -> /home/.ecryptfs/lusiphur/.Private
-rw-r–r-- 1 lusiphur lusiphur 655 Jun 9 17:22 .profile
-rw-rw-r-- 1 lusiphur lusiphur 7166632 May 26 05:27 Radarr.develop.0.2.0.696.linux.tar.gz
-rw-rw-r-- 1 lusiphur lusiphur 66 Jun 11 14:24 .selected_editor
drwx------ 2 lusiphur lusiphur 4096 Jun 11 12:19 .ssh
-rw-r–r-- 1 lusiphur lusiphur 0 Jun 9 17:29 .sudo_as_admin_successful
-rwxrwxr-x 1 lusiphur lusiphur 734 Jun 11 14:22 torrent_copy.sh
-rw-r–r-- 1 lusiphur lusiphur 46 Jun 11 14:30 tv_find
-rw-rw-r-- 1 lusiphur lusiphur 167 Jun 10 21:13 .wget-hsts

What issue are you seeing now?

Looks like after that error the next time Sonarr was executed it started up properly and is functioning (I missed that the first time I looked).

The DB still corrupts after a few hours of running.

17-6-28 20:13:10.0|Error|HousekeepingService|Error running housekeeping task: TrimLogDatabase

[v2.0.0.4753] System.Data.SQLite.SQLiteException (0x80004005): database disk image is malformed
database disk image is malformed
at System.Data.SQLite.SQLite3.Reset (System.Data.SQLite.SQLiteStatement stmt) [0x00083] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at System.Data.SQLite.SQLite3.Step (System.Data.SQLite.SQLiteStatement stmt) [0x0003c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at System.Data.SQLite.SQLiteDataReader.NextResult () [0x0016b] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at System.Data.SQLite.SQLiteDataReader…ctor (System.Data.SQLite.SQLiteCommand cmd, System.Data.CommandBehavior behave) [0x00090] in <61a20cde294d4a3eb43b9d9f6284613b>: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 (System.Data.CommandBehavior behavior) [0x0000c] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery (System.Data.CommandBehavior behavior) [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery () [0x00006] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at Marr.Data.DataMapper.Delete[T] (System.String tableName, System.Linq.Expressions.Expression1[TDelegate] filter) [0x00091] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\Marr.Data\DataMapper.cs:803 at Marr.Data.DataMapper.Delete[T] (System.Linq.Expressions.Expression1[TDelegate] filter) [0x00000] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\Marr.Data\DataMapper.cs:777
at NzbDrone.Core.Datastore.BasicRepository1[TModel].Delete (System.Linq.Expressions.Expression1[TDelegate] filter) [0x00000] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Datastore\BasicRepository.cs:55
at NzbDrone.Core.Instrumentation.LogRepository.Trim () [0x0002a] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Instrumentation\LogRepository.cs:23
at NzbDrone.Core.Housekeeping.Housekeepers.TrimLogDatabase.Clean () [0x00000] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Housekeeping\Housekeepers\TrimLogDatabase.cs:16
at NzbDrone.Core.Housekeeping.HousekeepingService.Clean () [0x00040] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Housekeeping\HousekeepingService.cs:31

That’s the log DB that is corrupt this time.
What type of filesystem are you using in the VM?
Where is the VM’s disk stored?

On the VM …

lusiphur@Serverapps:~$ sudo fdisk -l
[sudo] password for lusiphur:
Disk /dev/sda: 39.1 GiB, 41943040000 bytes, 81920000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x41296d4a

Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 999423 997376 487M 83 Linux
/dev/sda2 1001470 81917951 80916482 38.6G 5 Extended
/dev/sda5 1001472 81917951 80916480 38.6G 8e Linux LVM

Disk /dev/mapper/Serverapps–vg-root: 34.6 GiB, 37102813184 bytes, 72466432 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mapper/Serverapps–vg-swap_1: 4 GiB, 4290772992 bytes, 8380416 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/mapper/cryptswap1: 4 GiB, 4290248704 bytes, 8379392 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Which is stored on the host as …

ls -lrth serverapps.vdi
-rw------- 1 lusiphur lusiphur 6.7G Jun 30 15:21 serverapps.vdi

Which is on this drive
Disk /dev/sdc: 223.6 GiB, 240057409536 bytes, 468862128 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 202DDE1A-42D0-4414-AFE5-38AF9CEEE455

Device Start End Sectors Size Type
/dev/sdc1 2048 1050623 1048576 512M EFI System
/dev/sdc2 1050624 2050047 999424 488M Linux filesystem
/dev/sdc3 2050048 468860927 466810880 222.6G Linux LVM

Which isn’t constrained for space …
lusiphur@Hyena:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/home/lusiphur/.Private 188G 46G 133G 26% /home/lusiphur

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.