Sonarr version (exact version): v2.0.0.5319
Mono version (if Sonarr is not running on Windows): 5.18.1.0
OS: Ubuntu 16.04
Description of issue:
Hi,
When I launch mono --debug /opt/NzbDrone/NzbDrone.exe I’ve got an error on sqlite3. It tells that sqlite3 is missing but it’s installed. I launch “apt-get install sqlite3” => sqlite3 is already the newest version (3.11.0-1ubuntu1.1).
I have installed Sonarr with apt install nzbdrone.
I don’t understand why, someone has the same problem ?
Thanks a lot
Debug logs:
[Info] Bootstrap: Starting Sonarr - /opt/NzbDrone/NzbDrone.exe - Version 2.0.0.5319
[Info] Router: Application mode: Interactive
[Info] MigrationLogger: *** Migrating data source=/home/torrent/.config/NzbDrone/nzbdrone.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
[Fatal] ConsoleApp: EPIC FAIL!
[v2.0.0.5319] System.TypeInitializationException: The type initializer for ‘System.Data.SQLite.SQLiteFactory’ threw an exception. —> System.DllNotFoundException: sqlite3
at (wrapper managed-to-native) System.Data.SQLite.UnsafeNativeMethods.sqlite3_config_none(System.Data.SQLite.SQLiteConfigOpsEnum)
at System.Data.SQLite.SQLite3.StaticIsInitialized () [0x0001d] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at System.Data.SQLite.SQLiteLog.Initialize () [0x00000] in <61a20cde294d4a3eb43b9d9f6284613b>:0
at System.Data.SQLite.SQLiteFactory…cctor () [0x00020] in <61a20cde294d4a3eb43b9d9f6284613b>:0
— End of inner exception stack trace —
at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
at NzbDrone.Core.Datastore.Migration.Framework.MigrationDbFactory.CreateFactory () [0x00000] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationDbFactory.cs:11
at FluentMigrator.Runner.Processors.DbFactoryBase.get_Factory () [0x00025] in C:\Users\Mark\Source\Repos\fluentmigrator\src\FluentMigrator.Runner\Processors\DbFactoryBase.cs:48
at FluentMigrator.Runner.Processors.DbFactoryBase.CreateConnection (System.String connectionString) [0x00000] in C:\Users\Mark\Source\Repos\fluentmigrator\src\FluentMigrator.Runner\Processors\DbFactoryBase.cs:62
at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSqliteProcessorFactory.Create (System.String connectionString, FluentMigrator.Runner.IAnnouncer announcer, FluentMigrator.IMigrationProcessorOptions options) [0x00006] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\Datastore\Migration\Framework\NzbDroneSqliteProcessorFactory.cs:13
at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.Migrate (System.String connectionString, NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x0005a] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\Datastore\Migration\Framework\MigrationController.cs:39
at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationContext migrationContext) [0x00048] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\Datastore\DbFactory.cs:94
at NzbDrone.Core.Datastore.DbFactory.Create (NzbDrone.Core.Datastore.Migration.Framework.MigrationType migrationType) [0x00000] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\Datastore\DbFactory.cs:66
at NzbDrone.Core.Datastore.DbFactory.RegisterDatabase (NzbDrone.Common.Composition.IContainer container) [0x00000] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Core\Datastore\DbFactory.cs:46
at NzbDrone.Host.NzbDroneServiceFactory.Start () [0x00037] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Host\ApplicationServer.cs:60
at NzbDrone.Host.Router.Route (NzbDrone.Host.ApplicationModes applicationModes) [0x0007b] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Host\Router.cs:47
at NzbDrone.Host.Bootstrap.Start (NzbDrone.Host.ApplicationModes applicationModes, NzbDrone.Common.EnvironmentInfo.StartupContext startupContext) [0x0003d] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Host\Bootstrap.cs:78
at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, NzbDrone.Host.IUserAlert userAlert, System.Action`1[T] startCallback) [0x00075] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Host\Bootstrap.cs:41
at NzbDrone.Console.ConsoleApp.Main (System.String[] args) [0x00029] in C:\BuildAgent\work\5d7581516c0ee5b3\src\NzbDrone.Console\ConsoleApp.cs:37