Won't Load, thinks multiple instances are loaded

Hi all, I am trying to run this on my QNAP, somebody recently released a .QPKG and others are having success with it.

My problem, when I start the script I get the following error message.

[/share/MD3_DATA/.qpkg/Sonarr] # ./Sonarr.sh start
Sonarr prestartup checks…
Starting Sonarr
[/share/MD3_DATA/.qpkg/Sonarr] # [Info] Bootstrap: Starting NzbDrone - /share/MD3_DATA/.qpkg/Sonarr/Sonarr/NzbDrone.exe - Version 2.0.0.2594
[Info] SingleInstancePolicy: 2 instance(s) of NzbDrone are running
[Warn] SingleInstancePolicy: Another instance of NzbDrone is already running.
[Info] Bootstrap: Application is being terminated. Reason : Another instance is already running

There most definitely is nothing loaded, well at least I am unable to load the web page. Any help would be appreciated.
Thanks,
Jeffrey

Were you previously running Sonarr?
If so, how was it being started?

You should be able to use ps or whichever application exists to view running processes and find any running mono processes, which should also tell you which application its executing.

Fixed that problem of course now something more sinister…

[/share/MD3_DATA/.qpkg/Sonarr] # ./Sonarr.sh start
Sonarr prestartup checks…
Starting Sonarr
[/share/MD3_DATA/.qpkg/Sonarr] # [Info] Bootstrap: Starting NzbDrone - /share/MD3_DATA/.qpkg/Sonarr/Sonarr/NzbDrone.exe - Version 2.0.0.2594
[Info] MigrationLogger: *** Migrating data source=/share/homes/admin/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal;pooling=True ***

[Fatal] ConsoleApp: EPIC FAIL!

System.TypeInitializationException: An exception was thrown by the type initializer for System.Data.SQLite.SQLiteFactory —> System.EntryPointNotFoundException: sqlite3_config
at (wrapper managed-to-native) System.Data.SQLite.UnsafeNativeMethods:sqlite3_config_none (System.Data.SQLite.SQLiteConfigOpsEnum)
at System.Data.SQLite.SQLite3.StaticIsInitialized () [0x00000] in :0
at System.Data.SQLite.SQLiteLog.Initialize () [0x00000] in :0
at System.Data.SQLite.SQLiteFactory…cctor () [0x00000] in :0
— End of inner exception stack trace —
at NzbDrone.Core.Datastore.Migration.Framework.MigrationDbFactory.CreateFactory () [0x00000] in :0
at FluentMigrator.Runner.Processors.DbFactoryBase.get_Factory () [0x00000] in :0
at FluentMigrator.Runner.Processors.DbFactoryBase.CreateConnection (System.String connectionString) [0x00000] in :0
at NzbDrone.Core.Datastore.Migration.Framework.NzbDroneSqliteProcessorFactory.Create (System.String connectionString, IAnnouncer announcer, IMigrationProcessorOptions options) [0x00000] in :0
at NzbDrone.Core.Datastore.Migration.Framework.MigrationController.MigrateToLatest (System.String connectionString, MigrationType migrationType) [0x00000] in :0
at NzbDrone.Core.Datastore.DbFactory.Create (MigrationType migrationType) [0x00000] in :0
at NzbDrone.Core.Datastore.DbFactory.RegisterDatabase (IContainer container) [0x00000] in :0
at NzbDrone.Host.Bootstrap.Start (ApplicationModes applicationModes, NzbDrone.Common.EnvironmentInfo.StartupContext startupContext) [0x00000] in :0
at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, IUserAlert userAlert, System.Action`1 startCallback) [0x00000] in :0
at NzbDrone.Console.ConsoleApp.Main (System.String args) [0x00000] in :0

It keeps giving me this message when I load when it crashes

Migrating data source=/share/homes/admin/.config/NzbDrone/nzbdrone.db;

but that file doesn’t even exist.

It doesn’t exist because its failing to create it (thats what is happening when that error is thrown). You’re version of SQLite 3 is either too old to work with Sonarr or doesn’t have one of the compilation options required by Sonarr, but I think its the compilation option that is missing.

You’ll need to get your hands on a different copy of SQLite.

Sonarr requires the COLUMN_METADATA option so we’ll enable it.

https://github.com/Sonarr/Sonarr/wiki/CentOS-6 (different OS, but same issue I believe).