File Management does not work

Sonarr version (exact version): 0.2.0.1504
Mono version (if Sonarr is not running on Windows): 5.8.0.108
OS: DSM 6
Debug logs:

Request Failed. PUT /api/config/mediamanagement: Exception has been thrown by the target of an invocation.

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 M:\BuildAgent\work\b69c1fe19bfc2c38\src\Marr.Data\QGen\InsertQueryBuilder.cs:140 at Marr.Data.DataMapper.Insert[T] (T entity) [0x0005d] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\Marr.Data\DataMapper.cs:728 at NzbDrone.Core.Datastore.BasicRepository1[TModel].Insert (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, System.Boolean persist) [0x0009a] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Configuration\ConfigService.cs:373
at NzbDrone.Core.Configuration.ConfigService.get_RijndaelPassphrase () [0x00000] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Configuration\ConfigService.cs:311
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 /spksrc/native/mono/work-native/mono-5.8.0.108/mcs/class/corlib/System.Reflection/MonoProperty.cs:329 at System.Reflection.MonoProperty.GetValue (System.Object obj, System.Object[] index) [0x0005f] in /spksrc/native/mono/work-native/mono-5.8.0.108/mcs/class/corlib/System.Reflection/MonoProperty.cs:390 --- End of inner exception stack trace --- at System.Reflection.MonoProperty.GetValue (System.Object obj, System.Object[] index) [0x0006e] in /spksrc/native/mono/work-native/mono-5.8.0.108/mcs/class/corlib/System.Reflection/MonoProperty.cs:392 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[TKey,TValue] configValues) [0x00000] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Core\Configuration\ConfigService.cs:53
at NzbDrone.Api.Config.NzbDroneConfigModule1[TResource].SaveConfig (TResource resource) [0x00055] in M:\BuildAgent\work\b69c1fe19bfc2c38\src\NzbDrone.Api\Config\NzbDroneConfigModule.cs:48 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.Func`2<object, object>,object)
at Nancy.Routing.Route+<>c__DisplayClass4.b__3 (System.Object parameters, System.Threading.CancellationToken context) [0x00049] in <63c44d6f8d7e4f339a987bf9eb94d931>:0

Description of issue: The whole Folder structure and copying of the files does not work. (Radarr work perfectly fine though)

Any ideas where the issue comes from ?

0.2.0.1504

This is not a valid Sonarr version. It vaguely appears to be a very old and completely unsupported Radarr version.

Sonarr v2 is EOL as of March 2021

Radarr v0.2 is EOL and not at all supported as of November 2020.

A single error line with no info on context and no debug (or trace) logs as the template notes is not helpful for any sort of debugging.

Mono 5.8 is also old and not technically supported anymore as well.

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