Sonarr version (exact version): 4.0.13.2932
Mono version (if Sonarr is not running on Windows):
OS: Windows 10
Debug logs:
Description of issue:
Cannot search or download any shows get the below error.
“Search failed because its attempt to write a readonly database attempt to write a readonly database. Try refreshing the series info and verify the necessary information is present before searching again.”
Also when trying to add a new show the button doesnt press or do anything
Cannot press any buttons, cannot save any settings, cannot clear logs.
this is the second time this has happened it seems to break every few days and i cannot remove the database and start again every few days. Only just upgraded to version 4 never had any issues for years on version 2
[v4.0.13.2932] System.ComponentModel.Win32Exception (5): Access is denied.
at System.Diagnostics.ProcessManager.OpenProcess(Int32 processId, Int32 access, Boolean throwIfExited)
at System.Diagnostics.NtProcessManager.GetModules(Int32 processId, Boolean firstModuleOnly)
at System.Diagnostics.NtProcessManager.GetFirstModule(Int32 processId)
at System.Diagnostics.Process.get_MainModule()
at NzbDrone.Common.Processes.ProcessProvider.ConvertToProcessInfo(Process process) in ./Sonarr.Common/Processes/ProcessProvider.cs:line 316
2025-02-19 22:30:54.2|Debug|ProcessProvider|Found 1 processes with the name: Sonarr
2025-02-19 22:30:54.2|Debug|ProcessProvider| - [25036] Sonarr
2025-02-19 22:30:54.2|Info|SingleInstancePolicy|1 instance(s) of Sonarr are running
2025-02-19 22:30:54.2|Warn|SingleInstancePolicy|Another instance of Sonarr is already running.
2025-02-19 22:30:54.2|Info|BrowserService|Starting default browser. http://localhost:8989
2025-02-19 22:30:54.2|Info|ProcessProvider|Opening URL [http://localhost:8989]
2025-02-19 22:30:54.7|Fatal|Microsoft.AspNetCore.Hosting.Diagnostics|Application startup exception
[v4.0.13.2932] NzbDrone.Host.TerminateApplicationException: Application is being terminated. Reason : Another instance is already running
at NzbDrone.Host.SingleInstancePolicy.PreventStartIfAlreadyRunning() in ./Sonarr.Host/SingleInstancePolicy.cs:line 37
at NzbDrone.Host.Startup.EnsureSingleInstance(Boolean isService, IStartupContext startupContext, ISingleInstancePolicy instancePolicy) in ./Sonarr.Host/Startup.cs:line 309
at NzbDrone.Host.Startup.Configure(IApplicationBuilder app, IContainer container, IStartupContext startupContext, Lazy1 mainDatabaseFactory, Lazy
1 logDatabaseFactory, DatabaseTarget dbTarget, ISingleInstancePolicy singleInstancePolicy, InitializeLogger initializeLogger, ReconfigureLogging reconfigureLogging, IAppFolderFactory appFolderFactory, IProvidePidFile pidFileProvider, IConfigFileProvider configFileProvider, IRuntimeInfo runtimeInfo, IFirewallAdapter firewallAdapter, IEventAggregator eventAggregator, SonarrErrorPipeline errorHandler) in ./Sonarr.Host/Startup.cs:line 222
at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture)
at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
at Microsoft.AspNetCore.Hosting.ConfigureBuilder.<>c__DisplayClass4_0.b__0(IApplicationBuilder builder)
at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass15_0.b__1(IApplicationBuilder app)
at Microsoft.AspNetCore.Mvc.Filters.MiddlewareFilterBuilderStartupFilter.<>c__DisplayClass0_0.g__MiddlewareFilterBuilder|0(IApplicationBuilder builder)
at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
2025-02-19 22:30:54.7|Info|Bootstrap|Application is being terminated. Reason : Another instance is already running