Sonarr/Radarr services failed on v6.29.2 Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
iFelix18
Posts: 4
Joined: Sun Apr 19, 2020 10:09 am

Sonarr/Radarr services failed on v6.29.2

Post by iFelix18 »

After upgrading to v6.29.2 the Sonarr and Radarr services do not work as they should.

Sonarr:

Code: Select all

[email protected]:~# sudo systemctl status sonarr.service
● sonarr.service - Sonarr (NzbDrone) Daemon (DietPi)
   Loaded: loaded (/etc/systemd/system/sonarr.service; disabled; vendor preset: enabled)
   Active: failed (Result: signal) since Tue 2020-05-05 20:22:01 CEST; 16h ago
  Process: 14158 ExecStart=/usr/bin/mono -O=-aot /opt/NzbDrone/NzbDrone.exe -nobrowser -data=/mnt/dietpi_userdata/sonarr (code=killed, signal=ABRT)
 Main PID: 14158 (code=killed, signal=ABRT)

mag 05 20:22:01 DietPi mono[14158]:           at NLog.Targets.Wrappers.AsyncTargetWrapper:WriteEventsInQueue <0x00127>
mag 05 20:22:01 DietPi mono[14158]:           at NLog.Targets.Wrappers.AsyncTargetWrapper:ProcessPendingEvents <0x000bb>
mag 05 20:22:01 DietPi mono[14158]:           at Scheduler:TimerCB <0x0017f>
mag 05 20:22:01 DietPi mono[14158]:           at System.Threading.QueueUserWorkItemCallback:System.Threading.IThreadPoolWorkItem.ExecuteWorkItem <0x0005f>
mag 05 20:22:01 DietPi mono[14158]:           at System.Threading.ThreadPoolWorkQueue:Dispatch <0x00237>
mag 05 20:22:01 DietPi mono[14158]:           at System.Threading._ThreadPoolWaitCallback:PerformWaitCallback <0x00037>
mag 05 20:22:01 DietPi mono[14158]:           at <Module>:runtime_invoke_bool <0x0007b>
mag 05 20:22:01 DietPi mono[14158]: =================================================================
mag 05 20:22:01 DietPi systemd[1]: sonarr.service: Main process exited, code=killed, status=6/ABRT
mag 05 20:22:01 DietPi systemd[1]: sonarr.service: Failed with result 'signal'.
[email protected]:~#
Radarr:

Code: Select all

[email protected]:~# sudo systemctl status radarr.service
● radarr.service - Radarr Daemon (DietPi)
   Loaded: loaded (/etc/systemd/system/radarr.service; disabled; vendor preset: enabled)
   Active: failed (Result: signal) since Wed 2020-05-06 03:17:41 CEST; 9h ago
  Process: 14170 ExecStart=/usr/bin/mono -O=-aot /opt/Radarr/Radarr.exe -nobrowser -data=/mnt/dietpi_userdata/radarr (code=killed, signal=ABRT)
 Main PID: 14170 (code=killed, signal=ABRT)

mag 06 03:17:41 DietPi mono[14170]:           at System.Data.SQLite.UnsafeNativeMethods:sqlite3_close_v2 <0x00037>
mag 06 03:17:41 DietPi mono[14170]:           at System.Data.SQLite.SQLiteBase:CloseConnectionV2 <0x000d3>
mag 06 03:17:41 DietPi mono[14170]:           at System.Data.SQLite.SQLiteConnectionHandle:ReleaseHandle <0x000ab>
mag 06 03:17:41 DietPi mono[14170]:           at System.Runtime.InteropServices.CriticalHandle:Cleanup <0x00077>
mag 06 03:17:41 DietPi mono[14170]:           at System.Runtime.InteropServices.CriticalHandle:Dispose <0x00017>
mag 06 03:17:41 DietPi mono[14170]:           at System.Runtime.InteropServices.CriticalHandle:Finalize <0x0002f>
mag 06 03:17:41 DietPi mono[14170]:           at System.Object:runtime_invoke_virtual_void__this__ <0x0008b>
mag 06 03:17:41 DietPi mono[14170]: =================================================================
mag 06 03:17:41 DietPi systemd[1]: radarr.service: Main process exited, code=killed, status=6/ABRT
mag 06 03:17:41 DietPi systemd[1]: radarr.service: Failed with result 'signal'.
[email protected]:~#

User avatar
Joulinar
Posts: 1499
Joined: Fri Nov 15, 2019 11:49 pm

Re: Sonarr/Radarr services failed on v6.29.2

Post by Joulinar »

Hi,

many thanks for your report. pls can you try to start both manually

Code: Select all

/usr/bin/mono -O=-aot /opt/NzbDrone/NzbDrone.exe -nobrowser -data=/mnt/dietpi_userdata/sonarr
/usr/bin/mono -O=-aot /opt/Radarr/Radarr.exe -nobrowser -data=/mnt/dietpi_userdata/radarr
as well pls can you check log files located at

Code: Select all

/var/log/radarr
/var/log/sonarr
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team

iFelix18
Posts: 4
Joined: Sun Apr 19, 2020 10:09 am

Re: Sonarr/Radarr services failed on v6.29.2

Post by iFelix18 »

Sonarr and Radarr logs

User avatar
Joulinar
Posts: 1499
Joined: Fri Nov 15, 2019 11:49 pm

Re: Sonarr/Radarr services failed on v6.29.2

Post by Joulinar »

what about manual start

Code: Select all

/usr/bin/mono -O=-aot /opt/NzbDrone/NzbDrone.exe -nobrowser -data=/mnt/dietpi_userdata/sonarr
/usr/bin/mono -O=-aot /opt/Radarr/Radarr.exe -nobrowser -data=/mnt/dietpi_userdata/radarr
in your logs I can see following

Code: Select all

database disk image is malformed
can you check if you disk is accessible and you can write to disk?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team

iFelix18
Posts: 4
Joined: Sun Apr 19, 2020 10:09 am

Re: Sonarr/Radarr services failed on v6.29.2

Post by iFelix18 »

Joulinar wrote:
Wed May 06, 2020 1:49 pm
what about manual start

Code: Select all

/usr/bin/mono -O=-aot /opt/NzbDrone/NzbDrone.exe -nobrowser -data=/mnt/dietpi_userdata/sonarr
/usr/bin/mono -O=-aot /opt/Radarr/Radarr.exe -nobrowser -data=/mnt/dietpi_userdata/radarr
Sonarr:

Code: Select all

[email protected]:~# /usr/bin/mono -O=-aot /opt/NzbDrone/NzbDrone.exe -nobrowser -data=/mnt/dietpi_userdata/sonarr
[Info] Bootstrap: Starting Sonarr - /opt/NzbDrone/NzbDrone.exe - Version 2.0.0.5344
[Info] AppFolderInfo: Data directory is being overridden to [/mnt/dietpi_userdata/sonarr]
[Info] Router: Application mode: Interactive
[Info] MigrationLogger: *** Migrating data source=/mnt/dietpi_userdata/sonarr/nzbdrone.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
[Info] MigrationLogger: *** Migrating data source=/mnt/dietpi_userdata/sonarr/logs.db;cache size=-10000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
[Info] MigrationLogger: *** VersionMigration migrating ***
[Info] MigrationLogger: *** VersionUniqueMigration migrating ***
[Info] MigrationLogger: *** VersionDescriptionMigration migrating ***
[Info] MigrationLogger: *** 1: InitialSetup migrating ***
[Info] InitialSetup: Starting migration to 1
[Info] MigrationLogger: *** 2: remove_tvrage_imdb_unique_constraint migrating ***
[Info] remove_tvrage_imdb_unique_constraint: Starting migration to 2
[Info] MigrationLogger: *** 3: remove_renamed_scene_mapping_columns migrating ***
[Info] remove_renamed_scene_mapping_columns: Starting migration to 3
[Info] MigrationLogger: *** 4: updated_history migrating ***
[Info] updated_history: Starting migration to 4
[Info] MigrationLogger: *** 5: added_eventtype_to_history migrating ***
[Info] added_eventtype_to_history: Starting migration to 5
[Info] MigrationLogger: *** 6: add_index_to_log_time migrating ***
[Info] add_index_to_log_time: Starting migration to 6
[Info] MigrationLogger: *** 7: add_renameEpisodes_to_naming migrating ***
[Info] add_renameEpisodes_to_naming: Starting migration to 7
[Info] MigrationLogger: *** 8: remove_backlog migrating ***
[Info] remove_backlog: Starting migration to 8
[Info] MigrationLogger: *** 9: fix_rename_episodes migrating ***
[Info] fix_rename_episodes: Starting migration to 9
[Info] MigrationLogger: *** 10: add_monitored migrating ***
[Info] add_monitored: Starting migration to 10
[Info] MigrationLogger: *** 11: remove_ignored migrating ***
[Info] remove_ignored: Starting migration to 11
[Info] MigrationLogger: *** 12: remove_custom_start_date migrating ***
[Info] remove_custom_start_date: Starting migration to 12
[Info] MigrationLogger: *** 13: add_air_date_utc migrating ***
[Info] add_air_date_utc: Starting migration to 13
[Info] MigrationLogger: *** 14: drop_air_date migrating ***
[Info] drop_air_date: Starting migration to 14
[Info] MigrationLogger: *** 15: add_air_date_as_string migrating ***
[Info] add_air_date_as_string: Starting migration to 15
[Info] MigrationLogger: *** 16: updated_imported_history_item migrating ***
[Info] updated_imported_history_item: Starting migration to 16
[Info] MigrationLogger: *** 17: reset_scene_names migrating ***
[Info] reset_scene_names: Starting migration to 17
[Info] MigrationLogger: *** 18: remove_duplicates migrating ***
[Info] remove_duplicates: Starting migration to 18
[Info] MigrationLogger: *** 19: restore_unique_constraints migrating ***
[Info] restore_unique_constraints: Starting migration to 19
[Info] MigrationLogger: *** 20: add_year_and_seasons_to_series migrating ***
[Info] add_year_and_seasons_to_series: Starting migration to 20
[Info] MigrationLogger: *** 21: drop_seasons_table migrating ***
[Info] drop_seasons_table: Starting migration to 21
[Info] MigrationLogger: *** 22: move_indexer_to_generic_provider migrating ***
[Info] move_indexer_to_generic_provider: Starting migration to 22
[Info] MigrationLogger: *** 23: add_config_contract_to_indexers migrating ***
[Info] add_config_contract_to_indexers: Starting migration to 23
[Info] MigrationLogger: *** 24: drop_tvdb_episodeid migrating ***
[Info] drop_tvdb_episodeid: Starting migration to 24
[Info] MigrationLogger: *** 25: move_notification_to_generic_provider migrating ***
[Info] move_notification_to_generic_provider: Starting migration to 25
[Info] MigrationLogger: *** 26: add_config_contract_to_notifications migrating ***
[Info] add_config_contract_to_notifications: Starting migration to 26
[Info] MigrationLogger: *** 27: fix_omgwtfnzbs migrating ***
[Info] fix_omgwtfnzbs: Starting migration to 27
[Info] MigrationLogger: *** 28: add_blacklist_table migrating ***
[Info] add_blacklist_table: Starting migration to 28
[Info] MigrationLogger: *** 29: add_formats_to_naming_config migrating ***
[Info] add_formats_to_naming_config: Starting migration to 29
[Info] MigrationLogger: *** 30: add_season_folder_format_to_naming_config migrating ***
[Info] add_season_folder_format_to_naming_config: Starting migration to 30
[Info] MigrationLogger: *** 31: delete_old_naming_config_columns migrating ***
[Info] delete_old_naming_config_columns: Starting migration to 31
[Info] MigrationLogger: *** 32: set_default_release_group migrating ***
[Info] set_default_release_group: Starting migration to 32
[Info] MigrationLogger: *** 33: add_api_key_to_pushover migrating ***
[Info] add_api_key_to_pushover: Starting migration to 33
[Info] MigrationLogger: *** 34: remove_series_contraints migrating ***
[Info] remove_series_contraints: Starting migration to 34
[Info] MigrationLogger: *** 35: add_series_folder_format_to_naming_config migrating ***
[Info] add_series_folder_format_to_naming_config: Starting migration to 35
[Info] MigrationLogger: *** 36: update_with_quality_converters migrating ***
[Info] update_with_quality_converters: Starting migration to 36
[Info] MigrationLogger: *** 37: add_configurable_qualities migrating ***
[Info] add_configurable_qualities: Starting migration to 37
[Info] MigrationLogger: *** 38: add_on_upgrade_to_notifications migrating ***
[Info] add_on_upgrade_to_notifications: Starting migration to 38
[Info] MigrationLogger: *** 39: add_metadata_tables migrating ***
[Info] add_metadata_tables: Starting migration to 39
[Info] MigrationLogger: *** 40: add_metadata_to_episodes_and_series migrating ***
[Info] add_metadata_to_episodes_and_series: Starting migration to 40
[Info] MigrationLogger: *** 41: fix_xbmc_season_images_metadata migrating ***
[Info] fix_xbmc_season_images_metadata: Starting migration to 41
[Info] MigrationLogger: *** 42: add_download_clients_table migrating ***
[Info] add_download_clients_table: Starting migration to 42
[Info] MigrationLogger: *** 43: convert_config_to_download_clients migrating ***
[Info] convert_config_to_download_clients: Starting migration to 43
[Info] MigrationLogger: *** 44: fix_xbmc_episode_metadata migrating ***
[Info] fix_xbmc_episode_metadata: Starting migration to 44
[Info] MigrationLogger: *** 45: add_indexes migrating ***
[Info] add_indexes: Starting migration to 45
[Info] MigrationLogger: *** 46: fix_nzb_su_url migrating ***
[Info] fix_nzb_su_url: Starting migration to 46
[Info] MigrationLogger: *** 47: add_temporary_blacklist_columns migrating ***
[Info] add_temporary_blacklist_columns: Starting migration to 47
[Info] MigrationLogger: *** 48: add_title_to_scenemappings migrating ***
[Info] add_title_to_scenemappings: Starting migration to 48
[Info] MigrationLogger: *** 49: fix_dognzb_url migrating ***
[Info] fix_dognzb_url: Starting migration to 49
[Info] MigrationLogger: *** 50: add_hash_to_metadata_files migrating ***
[Info] add_hash_to_metadata_files: Starting migration to 50
[Info] MigrationLogger: *** 51: download_client_import migrating ***
[Info] download_client_import: Starting migration to 51
[Info] MigrationLogger: *** 52: add_columns_for_anime migrating ***
[Info] add_columns_for_anime: Starting migration to 52
[Info] MigrationLogger: *** 53: add_series_sorttitle migrating ***
[Info] add_series_sorttitle: Starting migration to 53
[Info] MigrationLogger: *** 54: rename_profiles migrating ***
[Info] rename_profiles: Starting migration to 54
[Info] MigrationLogger: *** 55: drop_old_profile_columns migrating ***
[Info] drop_old_profile_columns: Starting migration to 55
[Info] MigrationLogger: *** 56: add_mediainfo_to_episodefile migrating ***
[Info] add_mediainfo_to_episodefile: Starting migration to 56
[Info] MigrationLogger: *** 57: convert_episode_file_path_to_relative migrating ***
[Info] convert_episode_file_path_to_relative: Starting migration to 57
[Info] MigrationLogger: *** 58: drop_episode_file_path migrating ***
[Info] drop_episode_file_path: Starting migration to 58
[Info] MigrationLogger: *** 59: add_enable_options_to_indexers migrating ***
[Info] add_enable_options_to_indexers: Starting migration to 59
[Info] MigrationLogger: *** 60: remove_enable_from_indexers migrating ***
[Info] remove_enable_from_indexers: Starting migration to 60
[Info] MigrationLogger: *** 61: clear_bad_scene_names migrating ***
[Info] clear_bad_scene_names: Starting migration to 61
[Info] MigrationLogger: *** 62: convert_quality_models migrating ***
[Info] convert_quality_models: Starting migration to 62
[Info] MigrationLogger: *** 63: add_remotepathmappings migrating ***
[Info] add_remotepathmappings: Starting migration to 63
[Info] MigrationLogger: *** 64: remove_method_from_logs migrating ***
[Info] remove_method_from_logs: Starting migration to 64
[Info] MigrationLogger: *** 65: make_scene_numbering_nullable migrating ***
[Info] make_scene_numbering_nullable: Starting migration to 65
[Info] MigrationLogger: *** 66: add_tags migrating ***
[Info] add_tags: Starting migration to 66
[Info] MigrationLogger: *** 67: add_added_to_series migrating ***
[Info] add_added_to_series: Starting migration to 67
[Info] MigrationLogger: *** 68: add_release_restrictions migrating ***
[Info] add_release_restrictions: Starting migration to 68
[Info] MigrationLogger: *** 69: quality_proper migrating ***
[Info] quality_proper: Starting migration to 69
[Info] MigrationLogger: *** 70: delay_profile migrating ***
[Info] delay_profile: Starting migration to 70
[Info] MigrationLogger: *** 71: unknown_quality_in_profile migrating ***
[Info] unknown_quality_in_profile: Starting migration to 71
[Info] MigrationLogger: *** 72: history_downloadId migrating ***
[Info] history_downloadId: Starting migration to 72
[Info] MigrationLogger: *** 73: clear_ratings migrating ***
[Info] clear_ratings: Starting migration to 73
[Info] MigrationLogger: *** 74: disable_eztv migrating ***
[Info] disable_eztv: Starting migration to 74
[Info] MigrationLogger: *** 75: force_lib_update migrating ***
[Info] force_lib_update: Starting migration to 75
[Info] MigrationLogger: *** 76: add_users_table migrating ***
[Info] add_users_table: Starting migration to 76
[Info] MigrationLogger: *** 77: add_add_options_to_series migrating ***
[Info] add_add_options_to_series: Starting migration to 77
[Info] MigrationLogger: *** 78: add_commands_table migrating ***
[Info] add_commands_table: Starting migration to 78
[Info] MigrationLogger: *** 79: dedupe_tags migrating ***
[Info] dedupe_tags: Starting migration to 79
[Info] MigrationLogger: *** 81: move_dot_prefix_to_transmission_category migrating ***
[Info] move_dot_prefix_to_transmission_category: Starting migration to 81
[Info] MigrationLogger: *** 82: add_fanzub_settings migrating ***
[Info] add_fanzub_settings: Starting migration to 82
[Info] MigrationLogger: *** 83: additonal_blacklist_columns migrating ***
[Info] additonal_blacklist_columns: Starting migration to 83
[Info] MigrationLogger: *** 84: update_quality_minmax_size migrating ***
[Info] update_quality_minmax_size: Starting migration to 84
[Info] MigrationLogger: *** 85: expand_transmission_urlbase migrating ***
[Info] expand_transmission_urlbase: Starting migration to 85
[Info] MigrationLogger: *** 86: pushbullet_device_ids migrating ***
[Info] pushbullet_device_ids: Starting migration to 86
[Info] MigrationLogger: *** 87: remove_eztv migrating ***
[Info] remove_eztv: Starting migration to 87
[Info] MigrationLogger: *** 88: pushbullet_devices_channels_list migrating ***
[Info] pushbullet_devices_channels_list: Starting migration to 88
[Info] MigrationLogger: *** 89: add_on_rename_to_notifcations migrating ***
[Info] add_on_rename_to_notifcations: Starting migration to 89
[Info] MigrationLogger: *** 90: update_kickass_url migrating ***
[Info] update_kickass_url: Starting migration to 90
[Info] MigrationLogger: *** 91: added_indexerstatus migrating ***
[Info] added_indexerstatus: Starting migration to 91
[Info] MigrationLogger: *** 92: add_unverifiedscenenumbering migrating ***
[Info] add_unverifiedscenenumbering: Starting migration to 92
[Info] MigrationLogger: *** 93: naming_config_replace_illegal_characters migrating ***
[Info] naming_config_replace_illegal_characters: Starting migration to 93
[Info] MigrationLogger: *** 94: add_tvmazeid migrating ***
[Info] add_tvmazeid: Starting migration to 94
[Info] MigrationLogger: *** 95: add_additional_episodes_index migrating ***
[Info] add_additional_episodes_index: Starting migration to 95
[Info] MigrationLogger: *** 96: disable_kickass migrating ***
[Info] disable_kickass: Starting migration to 96
[Info] MigrationLogger: *** 97: add_reason_to_pending_releases migrating ***
[Info] add_reason_to_pending_releases: Starting migration to 97
[Info] MigrationLogger: *** 98: remove_titans_of_tv migrating ***
[Info] remove_titans_of_tv: Starting migration to 98
[Info] MigrationLogger: *** 99: extra_and_subtitle_files migrating ***
[Info] extra_and_subtitle_files: Starting migration to 99
[Info] MigrationLogger: *** 100: add_scene_season_number migrating ***
[Info] add_scene_season_number: Starting migration to 100
[Info] MigrationLogger: *** 101: add_ultrahd_quality_in_profiles migrating ***
[Info] add_ultrahd_quality_in_profiles: Starting migration to 101
[Info] MigrationLogger: *** 103: fix_metadata_file_extensions migrating ***
[Info] fix_metadata_file_extensions: Starting migration to 103
[Info] MigrationLogger: *** 104: remove_kickass migrating ***
[Info] remove_kickass: Starting migration to 104
[Info] MigrationLogger: *** 105: rename_torrent_downloadstation migrating ***
[Info] rename_torrent_downloadstation: Starting migration to 105
[Info] MigrationLogger: *** 106: update_btn_url migrating ***
[Info] update_btn_url: Starting migration to 106
[Info] MigrationLogger: *** 107: remove_wombles migrating ***
[Info] remove_wombles: Starting migration to 107
[Info] MigrationLogger: *** 108: fix_extra_file_extension migrating ***
[Info] fix_extra_file_extension: Starting migration to 108
[Info] MigrationLogger: *** 109: import_extra_files migrating ***
[Info] import_extra_files: Starting migration to 109
[Info] MigrationLogger: *** 110: fix_extra_files_config migrating ***
[Info] fix_extra_files_config: Starting migration to 110
[Info] MigrationLogger: *** 112: added_regex_to_scenemapping migrating ***
[Info] added_regex_to_scenemapping: Starting migration to 112
[Info] MigrationLogger: *** 113: consolidate_indexer_baseurl migrating ***
[Info] consolidate_indexer_baseurl: Starting migration to 113
[Info] MigrationLogger: *** 114: rename_indexer_status_id migrating ***
[Info] rename_indexer_status_id: Starting migration to 114
[Info] MigrationLogger: *** 115: add_downloadclient_status migrating ***
[Info] add_downloadclient_status: Starting migration to 115
[Info] MigrationLogger: *** 116: disable_nyaa migrating ***
[Info] disable_nyaa: Starting migration to 116
[Info] MigrationLogger: *** 118: add_history_eventType_index migrating ***
[Info] add_history_eventType_index: Starting migration to 118
[Info] MigrationLogger: *** 120: update_series_episodes_history_indexes migrating ***
[Info] update_series_episodes_history_indexes: Starting migration to 120
[Info] MigrationLogger: *** 121: update_animetosho_url migrating ***
[Info] update_animetosho_url: Starting migration to 121
[Info] MigrationLogger: *** 129: add_relative_original_path_to_episode_file migrating ***
[Info] add_relative_original_path_to_episode_file: Starting migration to 129
[Info] MigrationLogger: *** 130: episode_last_searched_time migrating ***
[Info] episode_last_searched_time: Starting migration to 130
[Info] OwinHostController: Listening on the following URLs:
[Info] OwinHostController:   http://*:8989/sonarr/
[Info] OwinHostController:   http://*:8989/
[Info] NancyBootstrapper: Starting Web Server
[Error] EventAggregator: CommandQueueManager failed while processing [ApplicationStartedEvent]

[v2.0.0.5344] 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.ExecuteNonQuery (System.String sql) [0x00030] in <b165e131cf56485baa98dd618cf1a5a6>:0
  at NzbDrone.Core.Messaging.Commands.CommandRepository.OrphanStarted () [0x00062] in <4d3cc4e5f7ed4ed2814d83bdaf94809e>:0
  at NzbDrone.Core.Messaging.Commands.CommandQueueManager.Handle (NzbDrone.Core.Lifecycle.ApplicationStartedEvent message) [0x00010] in <4d3cc4e5f7ed4ed2814d83bdaf94809e>:0
  at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent] (TEvent event) [0x00117] in <4d3cc4e5f7ed4ed2814d83bdaf94809e>:0

[Warn] MonoDebugCheck: Mono is not running with --debug switch
[Info] SceneMappingService: Updating Scene mappings
[Info] RssSyncService: Starting RSS Sync
[Error] CommandExecutor: Error occurred while executing task MessagingCleanup

[v2.0.0.5344] 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.Expression`1[TDelegate] filter) [0x00097] in <b165e131cf56485baa98dd618cf1a5a6>:0
  at Marr.Data.DataMapper.Delete[T] (System.Linq.Expressions.Expression`1[TDelegate] filter) [0x00000] in <b165e131cf56485baa98dd618cf1a5a6>:0
  at NzbDrone.Core.Datastore.BasicRepository`1[TModel].Delete (System.Linq.Expressions.Expression`1[TDelegate] filter) [0x00006] in <4d3cc4e5f7ed4ed2814d83bdaf94809e>:0
  at NzbDrone.Core.Messaging.Commands.CommandRepository.Trim () [0x0009f] in <4d3cc4e5f7ed4ed2814d83bdaf94809e>:0
  at NzbDrone.Core.Messaging.Commands.CommandQueueManager.CleanCommands () [0x0007b] in <4d3cc4e5f7ed4ed2814d83bdaf94809e>:0
  at NzbDrone.Core.Messaging.Commands.CleanupCommandMessagingService.Execute (NzbDrone.Core.Messaging.Commands.MessagingCleanupCommand message) [0x00000] in <4d3cc4e5f7ed4ed2814d83bdaf94809e>:0
  at NzbDrone.Core.Messaging.Commands.CommandExecutor.ExecuteCommand[TCommand] (TCommand command, NzbDrone.Core.Messaging.Commands.CommandModel commandModel) [0x000f6] in <4d3cc4e5f7ed4ed2814d83bdaf94809e>:0
  at (wrapper dynamic-method) System.Object.CallSite.Target(System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,NzbDrone.Core.Messaging.Commands.CommandExecutor,object,NzbDrone.Core.Messaging.Commands.CommandModel)
  at System.Dynamic.UpdateDelegates.UpdateAndExecuteVoid3[T0,T1,T2] (System.Runtime.CompilerServices.CallSite site, T0 arg0, T1 arg1, T2 arg2) [0x0011e] in <59093ef301a24e5a91cb0295fb832cca>:0
  at (wrapper delegate-invoke) System.Action`4[System.Runtime.CompilerServices.CallSite,NzbDrone.Core.Messaging.Commands.CommandExecutor,System.Object,NzbDrone.Core.Messaging.Commands.CommandModel].invoke_void_T1_T2_T3_T4(System.Runtime.CompilerServices.CallSite,NzbDrone.Core.Messaging.Commands.CommandExecutor,object,NzbDrone.Core.Messaging.Commands.CommandModel)
  at NzbDrone.Core.Messaging.Commands.CommandExecutor.ExecuteCommands () [0x0008c] in <4d3cc4e5f7ed4ed2814d83bdaf94809e>:0

[Info] DownloadDecisionMaker: Processing 23 releases
[Info] RssSyncService: RSS Sync Completed. Reports found: 23, Reports grabbed: 0
Radarr:

Code: Select all

[email protected]:~# /usr/bin/mono -O=-aot /opt/Radarr/Radarr.exe -nobrowser -data=/mnt/dietpi_userdata/radarr
[Info] Bootstrap: Starting Radarr - /opt/Radarr/Radarr.exe - Version 0.2.0.1480
[Info] AppFolderInfo: Data directory is being overridden to [/mnt/dietpi_userdata/radarr]
[Info] Router: Application mode: Interactive
[Info] MigrationLogger: *** Migrating data source=/mnt/dietpi_userdata/radarr/nzbdrone.db;cache size=-20000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
[Info] MigrationLogger: *** Migrating data source=/mnt/dietpi_userdata/radarr/logs.db;cache size=-20000;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 ***
[Info] OwinHostController: Listening on the following URLs:
[Info] OwinHostController:   http://*:7878/radarr/
[Info] OwinHostController:   http://*:7878/
[Info] NancyBootstrapper: Starting Web Server
[Info] CommandExecutor: Starting 2 threads for tasks.
Joulinar wrote:
Wed May 06, 2020 1:49 pm
in your logs I can see following

Code: Select all

database disk image is malformed
can you check if you disk is accessible and you can write to disk?
How do I check? Everything else works

kazgor
Posts: 28
Joined: Sun Dec 17, 2017 9:18 pm

Re: Sonarr/Radarr services failed on v6.29.2

Post by kazgor »

Hi..

I am also getting crashes from Sonarr since the recent update.

it seems to crash when it does it daily House Keeping task.. as if you run it manually it will stop working.

here the message from Server Sonarr Status.

Running on Raspberry Pi3


sonarr.service - Sonarr (NzbDrone) Daemon
Loaded: loaded (/etc/systemd/system/sonarr.service; disabled; vendor preset:enabled)
Active: failed (Result: signal) since Thu 2020-05-07 08:22:13 BST; 1min 23s ago
Process: 3496 ExecStart=/usr/bin/mono -O=-aot /opt/NzbDrone/NzbDrone.exe -nobrowser -data=/mnt/dietpi_userdata/sonarr (code=killed, signal=ABRT) Main PID: 3496 (code=killed, signal=ABRT)

May 07 08:22:13 DietPi mono[3496]: External Debugger Dump:
May 07 08:22:13 DietPi mono[3496]: =============================================
====================
May 07 08:22:13 DietPi mono[3496]: mono_gdb_render_native_backtraces not supported on this platform, unable to find gdb or lldb
May 07 08:22:13 DietPi mono[3496]: =============================================
====================
May 07 08:22:13 DietPi mono[3496]: Basic Fault Address Reporting
May 07 08:22:13 DietPi mono[3496]: =============================================
====================
May 07 08:22:13 DietPi mono[3496]: Memory around native instruction pointer (0x734180f4):0x734180e4 0a c0 a0 e1 30 40 8a e2 08 50 a0 e1 64 20 8d e5 [email protected] ..
May 07 08:22:13 DietPi systemd[1]: sonarr.service: Main process exited, code=killed, status=6/ABRT
May 07 08:22:13 DietPi systemd[1]: sonarr.service: Unit entered failed state.e--
May 07 08:22:13 DietPi systemd[1]: sonarr.service: Failed with result 'signal'.-


Cheers

User avatar
Joulinar
Posts: 1499
Joined: Fri Nov 15, 2019 11:49 pm

Re: Sonarr/Radarr services failed on v6.29.2

Post by Joulinar »

@kazgor
I guess you have a different issue than original reported. Because you have a message for thinks not supported.

Code: Select all

mono_gdb_render_native_backtraces not supported on this platform, unable to find gdb or lldb
I did look round on the www to search for similar issues. I found a couple of messages like this https://github.com/linuxserver/docker-sonarr/issues/59

However there did not seems a solution for your case. It's simply closed :x > Stale issue
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team

User avatar
Joulinar
Posts: 1499
Joined: Fri Nov 15, 2019 11:49 pm

Re: Sonarr/Radarr services failed on v6.29.2

Post by Joulinar »

@iFelix18
ok lets separate the topics. For Radarr it seems working fine. At least I don't see any error message and the manual start looks exactly some on my system. The only difference that you have 2 times a message for the web site.

Can you go to start Radarr again manual way and try to access website like this

Code: Select all

http://<Your-IP>:7878/radarr/
http://<Your-IP>:7878/
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team

kazgor
Posts: 28
Joined: Sun Dec 17, 2017 9:18 pm

Re: Sonarr/Radarr services failed on v6.29.2

Post by kazgor »

ah ok thats weird.. its only started doing this since the latest update.. its been rock solid for me for ages.

I dont use docker .. it installed via Dietpi-Software list

it works for a bit.. but then it dies and i have to manual start it up.

should i create a separate topic? just seems something rolled down in the latest updates.

thanks.
Joulinar wrote:
Thu May 07, 2020 10:32 am
@kazgor
I guess you have a different issue than original reported. Because you have a message for thinks not supported.

Code: Select all

mono_gdb_render_native_backtraces not supported on this platform, unable to find gdb or lldb
I did look round on the www to search for similar issues. I found a couple of messages like this https://github.com/linuxserver/docker-sonarr/issues/59

However there did not seems a solution for your case. It's simply closed :x > Stale issue

User avatar
Joulinar
Posts: 1499
Joined: Fri Nov 15, 2019 11:49 pm

Re: Sonarr/Radarr services failed on v6.29.2

Post by Joulinar »

@kazgor
maybe something to check with Sonarr guys as I really don't know what could cause this. Even there is nothing on the www that could point to a solution.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team

Post Reply