[Ubuntu] Fatal Error on start after update

Hi!

From the looks of it Sonarr was updated on my home server couple of hours ago.
Update Log:

 15-1-27 10:37:18.4|Info|UpdateApp|Starting NzbDrone Update Client
 15-1-27 10:37:18.9|Info|UpdateApp|Updating NzbDrone to version 2.0.0.2722
...

Starting Sonarr from cli produces this output:

mono /opt/NzbDrone/NzbDrone.exe
[Info] Bootstrap: Starting NzbDrone - /opt/NzbDrone/NzbDrone.exe - Version 2.0.0.2722 
[Info] MigrationLogger: *** Migrating data source=/home/dex/.config/NzbDrone/nzbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 
[Info] MigrationLogger: *** Migrating data source=/home/dex/.config/NzbDrone/logs.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal;pooling=True;version=3 *** 
[Info] Router: Application mode: Interactive 
[Fatal] ConsoleApp: EPIC FAIL! 
NzbDrone.Core.Configuration.InvalidConfigFileException: /home/dex/.config/NzbDrone/config.xml is invalid, please see the http://wiki.sonarr.tv for steps to resolve this issue. --->      System.Xml.XmlException: Text node cannot appear in this state. file:///home/dex/.config/NzbDrone/config.xml Line 1, position 1.
   at Mono.Xml2.XmlTextReader.ReadText (Boolean notWhitespace) [0x00000] in <filename unknown>     :0 
   at Mono.Xml2.XmlTextReader.ReadContent () [0x00000] in <filename unknown>     :0 
   at Mono.Xml2.XmlTextReader.Read () [0x00000] in <filename unknown>     :0 
   at System.Xml.XmlTextReader.Read () [0x00000] in <filename unknown>     :0 
   at Mono.Xml.XmlFilterReader.Read () [0x00000] in <filename unknown>     :0 
   at System.Xml.Linq.XDocument.ReadContent (System.Xml.XmlReader reader, LoadOptions options) [0x00000] in <filename unknown>     :0 
   at System.Xml.Linq.XDocument.LoadCore (System.Xml.XmlReader reader, LoadOptions options) [0x00000] in <filename unknown>     :0 
   at System.Xml.Linq.XDocument.Load (System.String uri, LoadOptions options) [0x00000] in <filename unknown>     :0 
   at System.Xml.Linq.XDocument.Load (System.String uri) [0x00000] in <filename unknown>     :0 
   at NzbDrone.Core.Configuration.ConfigFileProvider.LoadConfigFile () [0x00000] in <filename unknown>     :0 
  --- End of inner exception stack trace ---
   at NzbDrone.Core.Configuration.ConfigFileProvider.LoadConfigFile () [0x00000] in <filename unknown>     :0 
   at NzbDrone.Core.Configuration.ConfigFileProvider+<>     c__DisplayClass1.<GetValue>     b__0 () [0x00000] in <filename unknown>     :0 
   at NzbDrone.Common.Cache.Cached`1[System.String].Get (System.String key, System.Func`1 function, Nullable`1 lifeTime) [0x00000] in <filename unknown>     :0 
   at NzbDrone.Core.Configuration.ConfigFileProvider.GetValue (System.String key, System.Object defaultValue, Boolean persist) [0x00000] in <filename unknown>     :0 
   at NzbDrone.Core.Configuration.ConfigFileProvider.GetValueInt (System.String key, Int32 defaultValue) [0x00000] in <filename unknown>     :0 
   at NzbDrone.Core.Configuration.ConfigFileProvider.get_Port () [0x00000] in <filename unknown>     :0 
   at NzbDrone.Host.AccessControl.UrlAclAdapter.ConfigureUrls () [0x00000] in <filename unknown>     :0 
   at NzbDrone.Host.Owin.OwinHostController.StartServer () [0x00000] in <filename unknown>     :0 
   at NzbDrone.Host.NzbDroneServiceFactory.Start () [0x00000] in <filename unknown>     :0 
   at NzbDrone.Host.Router.Route (ApplicationModes applicationModes) [0x00000] in <filename unknown>     :0 
   at NzbDrone.Host.Bootstrap.Start (ApplicationModes applicationModes, NzbDrone.Common.EnvironmentInfo.StartupContext startupContext) [0x00000] in <filename unknown>     :0 
   at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, IUserAlert userAlert, System.Action`1 startCallback) [0x00000] in <filename unknown>     :0 
   at NzbDrone.Console.ConsoleApp.Main (System.String[] args) [0x00000] in <filename unknown>     :0 

starting Sonarr after complete removal of ~/.config/NzbDrone (or fresh install of Sonarr or removal of config.xml) produces this output:

 mono /opt/NzbDrone/NzbDrone.exe
[Info] Bootstrap: Starting NzbDrone - /opt/NzbDrone/NzbDrone.exe - Version 2.0.0.2722 
[Info] MigrationLogger: *** Migrating data source=/home/dex/.config/NzbDrone/nzbdrone.db;cache size=-10485760;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: *** Migrating data source=/home/dex/.config/NzbDrone/logs.db;cache size=-10485760;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] Router: Application mode: Interactive 
[Fatal] ConsoleApp: EPIC FAIL! 
NzbDrone.Core.Configuration.InvalidConfigFileException: /home/dex/.config/NzbDrone/config.xml is invalid, please see the http://wiki.sonarr.tv for steps to resolve this issue. --->      System.Xml.XmlException: Text node cannot appear in this state. file:///home/dex/.config/NzbDrone/config.xml Line 1, position 1.
   at Mono.Xml2.XmlTextReader.ReadText (Boolean notWhitespace) [0x00000] in <filename unknown>     :0 
   at Mono.Xml2.XmlTextReader.ReadContent () [0x00000] in <filename unknown>     :0 
   at Mono.Xml2.XmlTextReader.Read () [0x00000] in <filename unknown>     :0 
   at System.Xml.XmlTextReader.Read () [0x00000] in <filename unknown>     :0 
   at Mono.Xml.XmlFilterReader.Read () [0x00000] in <filename unknown>     :0 
   at System.Xml.Linq.XDocument.ReadContent (System.Xml.XmlReader reader, LoadOptions options) [0x00000] in <filename unknown>     :0 
   at System.Xml.Linq.XDocument.LoadCore (System.Xml.XmlReader reader, LoadOptions options) [0x00000] in <filename unknown>     :0 
   at System.Xml.Linq.XDocument.Load (System.String uri, LoadOptions options) [0x00000] in <filename unknown>     :0 
   at System.Xml.Linq.XDocument.Load (System.String uri) [0x00000] in <filename unknown>     :0 
   at NzbDrone.Core.Configuration.ConfigFileProvider.LoadConfigFile () [0x00000] in <filename unknown>     :0 
   --- End of inner exception stack trace ---
   at NzbDrone.Core.Configuration.ConfigFileProvider.LoadConfigFile () [0x00000] in <filename unknown>     :0 
   at NzbDrone.Core.Configuration.ConfigFileProvider+<>     c__DisplayClass1.<GetValue>     b__0 () [0x00000] in <filename unknown>     :0 
   at NzbDrone.Common.Cache.Cached`1[System.String].Get (System.String key, System.Func`1 function, Nullable`1 lifeTime) [0x00000] in <filename unknown>     :0 
   at NzbDrone.Core.Configuration.ConfigFileProvider.GetValue (System.String key, System.Object defaultValue, Boolean persist) [0x00000] in <filename unknown>     :0 
   at NzbDrone.Core.Configuration.ConfigFileProvider.get_UrlBase () [0x00000] in <filename unknown>     :0 
   at NzbDrone.Host.AccessControl.UrlAclAdapter.BuildUrlAcls (System.String scheme, System.String address, Int32 port) [0x00000] in <filename unknown>     :0 
   at NzbDrone.Host.AccessControl.UrlAclAdapter.ConfigureUrls () [0x00000] in <filename unknown>     :0 
   at NzbDrone.Host.Owin.OwinHostController.StartServer () [0x00000] in <filename unknown>     :0 
   at NzbDrone.Host.NzbDroneServiceFactory.Start () [0x00000] in <filename unknown>     :0 
   at NzbDrone.Host.Router.Route (ApplicationModes applicationModes) [0x00000] in <filename unknown>     :0 
   at NzbDrone.Host.Bootstrap.Start (ApplicationModes applicationModes, NzbDrone.Common.EnvironmentInfo.StartupContext startupContext) [0x00000] in <filename unknown>     :0 
   at NzbDrone.Host.Bootstrap.Start (NzbDrone.Common.EnvironmentInfo.StartupContext startupContext, IUserAlert userAlert, System.Action`1 startCallback) [0x00000] in <filename unknown>     :0 
   at NzbDrone.Console.ConsoleApp.Main (System.String[] args) [0x00000] in <filename unknown>     :0 

System:
Ubuntu 12.04.5 LTS

 mono --version
 Mono JIT compiler version 3.2.1 (Debian 3.2.1+dfsg-1~pre2)

Can’t figure this out myself but I sure would like to help if I’m not the only one with this issue.

Cheers!

Woah!

Strange version of mono. I’ll revert it to 3.10 and get back to you.

EDIT: That did the trick!

I also started getting this error today, but I’m already on mono 3.10. Anybody else seeing this?

The same corrupt config file issue?

If so the quickest resolution is to remove config.xml and let it be recreated or restore it form the backup file.

This latest release adds some changes that should help prevent the config file from being damaged in many cases.

I tried doing that, but that didn’t work either. I ended up starting sonarr as a different user and copying the .config folder to the user I want to run sonarr as. I copied my backed up nzbdrone.db file back into the folder and it started up.

I have the same issue. Ubuntu 12.04.5.

I too am on mono 3.2.1. I have not tried reverrting to 3.1, because I don’t know how.

Sonarr actually runs fine in the background, but when I load up the webui, it doesn’t load.

I deleted the config.xml file, but I still get an error that pops up that says config.xml is invalid.

It’s mono 3.10, not 3.1 (the zero is significant) and its an upgrade. We currently support mono 3.6+ as earlier versions have various issues.

Does the config get recreated after you delete it?

Alright, so I’ll have to compile mono from source to get it all up to date.

Yeah, the config.xml does get recreated after I delete it.

Xamarin maintains a mono 3.10 package, which we host in our repo as well (https://github.com/Sonarr/Sonarr/wiki/Installation#debianubuntu) Not sure if it works on 12.04, but I don’t see a reason why it wouldn’t.

It does work on 12.04

If you have sonarr repo you can install it easily with this command:

sudo apt-get install mono-complete=3.10.0-0xamarin2

It is possible that you’ll need to uninstall package mono-complete first which will uninstall Sonarr and every other mono dependent package as well. Just reinstall them after.

Sonarr was still giving me fatal error after Mono upgrade. Deleting config.xml helped and everything works fine after that.

thanks a lot for the help. i just updated mono to 3.10 and all is working well now.