NzbDrone is a great alternative to Sickbeard and adds many good features and is able to retrieve shows that Sickbeard cannot. This is why I am really interested in getting it to run on my Freenas server. Currently I am using Sickbeard but I find that some shows due to the naming of the episodes do not download or the wrong episode is retrieved.
My goal is to get NzbDrone working in a Freenas jail and communicating with Sabnzbd. Currently it will only work with mono, because there is no true port to FreeBSD. I have already posted on the NZBDrone forums about adding a FreeBSD port.
I have myself tried creating a standard jail and installing mono and sqlite, which are needed for NZBDrone to work. But I was unsuccessful, NzbDrone refused to start. I am not well versed in FreeBSD and I am requesting some assistance in getting this application working in a jail.
When testing I created a standard jail with only VIMAGE checked. This is where I may need help, there may be a specific way to setup the jail for NzbDrone to work properly.
I used pkg install to install mono and sqlite in the jail. Then copied the windows version of NzbDrone to the jail, gave it the proper permissions and used mono NzbDrone.exe to start the program.
I am looking to the community here for guidance on something I may have missed or additional ideas to try.
Below is the error that is received (I have sent this error to the developer)
My goal is to get NzbDrone working in a Freenas jail and communicating with Sabnzbd. Currently it will only work with mono, because there is no true port to FreeBSD. I have already posted on the NZBDrone forums about adding a FreeBSD port.
I have myself tried creating a standard jail and installing mono and sqlite, which are needed for NZBDrone to work. But I was unsuccessful, NzbDrone refused to start. I am not well versed in FreeBSD and I am requesting some assistance in getting this application working in a jail.
When testing I created a standard jail with only VIMAGE checked. This is where I may need help, there may be a specific way to setup the jail for NzbDrone to work properly.
I used pkg install to install mono and sqlite in the jail. Then copied the windows version of NzbDrone to the jail, gave it the proper permissions and used mono NzbDrone.exe to start the program.
I am looking to the community here for guidance on something I may have missed or additional ideas to try.
Below is the error that is received (I have sent this error to the developer)
Code:
root@NzbDrone:/usr/NzbDrone # mono NzbDrone.exe [Info] Bootstrap: Starting NzbDrone Console. Version 2.0.0.855 [Info] MigrationLogger: *** Migrating data source=/root/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal *** [Info] MigrationLogger: *** VersionMigration migrating *** [Info] MigrationLogger: *** VersionUniqueMigration migrating *** [Info] MigrationLogger: *** 1: InitialSetup migrating *** [Info] MigrationLogger: *** 2: remove_tvrage_imdb_unique_constraint migrating *** [Info] MigrationLogger: *** 3: remove_renamed_scene_mapping_columns migrating *** [Info] MigrationLogger: *** 4: updated_history migrating *** [Info] MigrationLogger: *** 5: added_eventtype_to_history migrating *** [Info] MigrationLogger: *** 6: add_index_to_log_time migrating *** [Info] MigrationLogger: *** 7: add_renameEpisodes_to_naming migrating *** [Info] MigrationLogger: *** 8: remove_backlog migrating *** [Info] MigrationLogger: *** 9: fix_rename_episodes migrating *** [Info] MigrationLogger: *** 10: add_monitored migrating *** [Info] MigrationLogger: *** 11: remove_ignored migrating *** [Info] MigrationLogger: *** 12: remove_custom_start_date migrating *** [Info] MigrationLogger: *** 13: add_air_date_utc migrating *** [Info] MigrationLogger: *** 14: drop_air_date migrating *** [Info] MigrationLogger: *** 15: add_air_date_as_string migrating *** [Info] MigrationLogger: *** 16: updated_imported_history_item migrating *** [Info] MigrationLogger: *** 17: reset_scene_names migrating *** [Info] MigrationLogger: *** 18: remove_duplicates migrating *** [Info] MigrationLogger: *** 19: restore_unique_constraints migrating *** [Info] MigrationLogger: *** 20: add_year_and_seasons_to_series migrating *** [Info] MigrationLogger: *** 21: drop_seasons_table migrating *** [Info] MigrationLogger: *** 22: move_indexer_to_generic_provider migrating *** [Info] MigrationLogger: *** 23: add_config_contract_to_indexers migrating *** [Info] MigrationLogger: *** 24: drop_tvdb_episodeid migrating *** [Info] MigrationLogger: *** 25: move_notification_to_generic_provider migrating *** [Info] MigrationLogger: *** 26: add_config_contract_to_notifications migrating *** [Info] MigrationLogger: *** 27: fix_omgwtfnzbs migrating *** [Info] MigrationLogger: *** 28: add_blacklist_table migrating *** [Info] MigrationLogger: *** Migrating data source=/root/.config/NzbDrone/logs.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal *** [Info] MigrationLogger: *** VersionMigration migrating *** [Info] MigrationLogger: *** VersionUniqueMigration migrating *** [Info] MigrationLogger: *** 1: InitialSetup migrating *** [Info] MigrationLogger: *** 2: remove_tvrage_imdb_unique_constraint migrating *** [Info] MigrationLogger: *** 3: remove_renamed_scene_mapping_columns migrating *** [Info] MigrationLogger: *** 4: updated_history migrating *** [Info] MigrationLogger: *** 5: added_eventtype_to_history migrating *** [Info] MigrationLogger: *** 6: add_index_to_log_time migrating *** [Info] MigrationLogger: *** 7: add_renameEpisodes_to_naming migrating *** [Info] MigrationLogger: *** 8: remove_backlog migrating *** [Info] MigrationLogger: *** 9: fix_rename_episodes migrating *** [Info] MigrationLogger: *** 10: add_monitored migrating *** [Info] MigrationLogger: *** 11: remove_ignored migrating *** [Info] MigrationLogger: *** 12: remove_custom_start_date migrating *** [Info] MigrationLogger: *** 13: add_air_date_utc migrating *** [Info] MigrationLogger: *** 14: drop_air_date migrating *** [Info] MigrationLogger: *** 15: add_air_date_as_string migrating *** [Info] MigrationLogger: *** 16: updated_imported_history_item migrating *** [Info] MigrationLogger: *** 17: reset_scene_names migrating *** [Info] MigrationLogger: *** 18: remove_duplicates migrating *** [Info] MigrationLogger: *** 19: restore_unique_constraints migrating *** [Info] MigrationLogger: *** 20: add_year_and_seasons_to_series migrating *** [Info] MigrationLogger: *** 21: drop_seasons_table migrating *** [Info] MigrationLogger: *** 22: move_indexer_to_generic_provider migrating *** [Info] MigrationLogger: *** 23: add_config_contract_to_indexers migrating *** [Info] MigrationLogger: *** 24: drop_tvdb_episodeid migrating *** [Info] MigrationLogger: *** 25: move_notification_to_generic_provider migrating *** [Info] MigrationLogger: *** 26: add_config_contract_to_notifications migrating *** [Info] MigrationLogger: *** 27: fix_omgwtfnzbs migrating *** [Info] MigrationLogger: *** 28: add_blacklist_table migrating *** [Info] Router: Application mode: Interactive [Info] OwinHostController: starting server on http://*:8989/ [Info] NancyBootstrapper: Starting NzbDrone API [Info] QualityProfileService: Setting up default quality profiles [Info] SceneMappingService: Updating Scene mapping [Info] HousekeepingService: Running housecleaning tasks [Fatal] WindowsApp: EPIC FAIL: Unable to resolve type: NzbDrone.SysTray.SystemTrayApp TinyIoC.TinyIoCResolutionException: Unable to resolve type: NzbDrone.SysTray.SystemTrayApp ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.WindowsFormsSynchronizationContext ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.ThemeEngine ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.ThemeWin32Classic ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.KnownColors ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException: /usr/local/lib/libgdiplus.so at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&) at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at System.Drawing.KnownColors..cctor () [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at System.Drawing.Color.get_Black () [0x00000] in <filename unknown>:0 at System.Windows.Forms.ThemeWin32Classic..cctor () [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at System.Windows.Forms.ThemeEngine..cctor () [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control..ctor () [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor () at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at System.Windows.Forms.Control..ctor () <0x0005e> at System.Windows.Forms.ScrollableControl..ctor () <0x00017> at System.Windows.Forms.ContainerControl..ctor () <0x0002d> at System.Windows.Forms.Form..ctor () <0x00065> at System.Windows.Forms.NotifyIcon/NotifyIconWindow..ctor (System.Windows.Forms.NotifyIcon) <0x0002e> at (wrapper remoting-invoke-with-check) System.Windows.Forms.NotifyIcon/NotifyIconWindow..ctor (System.Windows.Forms.NotifyIcon) <0x0004f> at System.Windows.Forms.NotifyIcon..ctor () <0x00049> at (wrapper remoting-invoke-with-check) System.Windows.Forms.NotifyIcon..ctor () <0x00041> at NzbDrone.SysTray.SystemTrayApp..ctor (NzbDrone.Common.Processes.IProcessProvider,NzbDrone.Host.Owin.IHostController) <0x00043> at (wrapper remoting-invoke-with-check) NzbDrone.SysTray.SystemTrayApp..ctor (NzbDrone.Common.Processes.IProcessProvider,NzbDrone.Host.Owin.IHostController) <0x0005e> at (wrapper dynamic-method) object.lambda_method (System.Runtime.CompilerServices.Closure,object[]) <0x001ab> at TinyIoC.TinyIoCContainer.ConstructType (System.Type,System.Type,System.Reflection.ConstructorInfo,TinyIoC.NamedParameterOverloads,TinyIoC.ResolveOptions) <0x00530> --- End of inner exception stack trace --- at TinyIoC.TinyIoCContainer.ConstructType (System.Type requestedType, System.Type implementationType, System.Reflection.ConstructorInfo constructor, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x00000] in <filename unknown>:0 at TinyIoC.TinyIoCContainer.ConstructType (System.Type requestedType, System.Type implementationType, System.Reflection.ConstructorInfo constructor, TinyIoC.ResolveOptions options) [0x00000] in <filename unknown>:0 at TinyIoC.TinyIoCContainer+SingletonFactory.GetObject (System.Type requestedType, TinyIoC.TinyIoCContainer container, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x00000] in <filename unknown>:0 at TinyIoC.TinyIoCContainer.ResolveInternal (TinyIoC.TypeRegistration registration, TinyIoC.NamedParameterOverloads parameters, TinyIoC.ResolveOptions options) [0x00000] in <filename unknown>:0 EPIC FAIL: System.NullReferenceException: Object reference not set to an instance of an object at System.Windows.Forms.Form.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0 at System.ComponentModel.Component.Finalize () [0x00000] in <filename unknown>:0 EPIC FAIL: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.ThemeEngine ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.ThemeWin32Classic ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.KnownColors ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException: /usr/local/lib/libgdiplus.so at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&) at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at System.Drawing.KnownColors..cctor () [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at System.Drawing.Color.get_Black () [0x00000] in <filename unknown>:0 at System.Windows.Forms.ThemeWin32Classic..cctor () [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at System.Windows.Forms.ThemeEngine..cctor () [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control..ctor () [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor () at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () [0x00000] in <filename unknown>:0 [Fatal] GlobalExceptionHandlers: EPIC FAIL: Object reference not set to an instance of an object System.NullReferenceException: Object reference not set to an instance of an object at System.Windows.Forms.Form.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0 at System.ComponentModel.Component.Finalize () [0x00000] in <filename unknown>:0 EPIC FAIL: System.NullReferenceException: Object reference not set to an instance of an object at System.Windows.Forms.Form.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0 at NzbDrone.SysTray.SystemTrayApp.Dispose (Boolean isDisposing) [0x00000] in <filename unknown>:0 at System.ComponentModel.Component.Finalize () [0x00000] in <filename unknown>:0 [Fatal] GlobalExceptionHandlers: EPIC FAIL: An exception was thrown by the type initializer for System.Windows.Forms.ThemeEngine System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.ThemeEngine ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.ThemeWin32Classic ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.KnownColors ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException: /usr/local/lib/libgdiplus.so at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&) at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at System.Drawing.KnownColors..cctor () [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at System.Drawing.Color.get_Black () [0x00000] in <filename unknown>:0 at System.Windows.Forms.ThemeWin32Classic..cctor () [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at System.Windows.Forms.ThemeEngine..cctor () [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control..ctor () [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor () at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () [0x00000] in <filename unknown>:0 [Fatal] GlobalExceptionHandlers: EPIC FAIL: Object reference not set to an instance of an object System.NullReferenceException: Object reference not set to an instance of an object at System.Windows.Forms.Form.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.ThemeEngine ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.ThemeWin32Classic ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.KnownColors ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException: /usr/local/lib/libgdiplus.so at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&) at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at System.Drawing.KnownColors..cctor () [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at System.Drawing.Color.get_Black () [0x00000] in <filename unknown>:0 at System.Windows.Forms.ThemeWin32Classic..cctor () [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at System.Windows.Forms.ThemeEngine..cctor () [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control..ctor () [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor () at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () [0x00000] in <filename unknown>:0 at NzbDrone.SysTray.SystemTrayApp.Dispose (Boolean isDisposing) [0x00000] in <filename unknown>:0 at System.ComponentModel.Component.Finalize () [0x00000] in <filename unknown>:0 Stacktrace: at <unknown> <0xffffffff> root@NzbDrone:/usr/NzbDrone #