Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] binhex - Sonarr

Featured Replies

Still have constant error on sonarr saying:

 

You are using docker; download client SABnzbd places downloads in /data/completed but this directory does not appear to exist inside the container. Review your remote path mappings and container volume settings.

 

Read everywhere that says to match download client to Sonarr and as far as I know I did that not sure how to make it match more...

 

Also says use hardlinks but can't since setup seperate shares long ago

 

so i have /mnt/user/data  a share where all the downloads are pointed

 

so in SADnzd  the host path /data is pointed to /mnt/user/data

 

and in Sonarr the host path is pointed to /mnt/user/data

 

but still getting the error

  • Replies 1.5k
  • Views 333.8k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • So, Sonarr v3 is FINALLY here, its out of beta and is now the latest release, if you want to switch from Sonarr v2 to v3 then simply pull down the 'latest' tagged image.   However, if you wa

  • @SavagelyCalm I have the same problem.   Edit your Docker repository link to this "binhex/arch-sonarr:v3" and it'll re-download a working version.  Worked for me. 

  • Yep, it was a dodgy sqlite version in the end that caused the issue, all fixed, please revert back to latest.

Posted Images

  • Author
4 minutes ago, erfly7 said:

Still have constant error on sonarr saying:

 

You are using docker; download client SABnzbd places downloads in /data/completed but this directory does not appear to exist inside the container. Review your remote path mappings and container volume settings.

 

Read everywhere that says to match download client to Sonarr and as far as I know I did that not sure how to make it match more...

 

Also says use hardlinks but can't since setup seperate shares long ago

 

so i have /mnt/user/data  a share where all the downloads are pointed

 

so in SADnzd  the host path /data is pointed to /mnt/user/data

 

and in Sonarr the host path is pointed to /mnt/user/data

 

but still getting the error

see Q4:- https://github.com/binhex/documentation/blob/master/docker/faq/unraid.md

 

pay special attention to 'IMPORTANT' note at the end, as i suspect this is probably the oversight.

I'm running Sonarr in a Docker Container on Unraid.

Yesterday, I noticed that most of my TV files seemed to have disappeared from my drives. In some cases, whole series would have gone - in other cases, only one or two files were missing. Many of the files have been there a long time and they were all complete. 

I've been re-downloading files all day, but Sonarr has been throwing intermittent "sql"database errors, and has finally stopped and will no longer start up. 

 

I've enclosed the Sonarr log file - it ends with 'non-recoverable failure"..... 

 

Can anybody suggest a solution?

 

Thanks

 

Fogey

Sonar Log.pdf

When I launch Sonarr WebUI it appears like its connected to the container as I see the Sonnarr log with a funny quote but then it just sits.

 

Any idea what its doing or what I need to do to fix it.

 

  • Author
10 hours ago, Fogey said:

I'm running Sonarr in a Docker Container on Unraid.

Yesterday, I noticed that most of my TV files seemed to have disappeared from my drives. In some cases, whole series would have gone - in other cases, only one or two files were missing. Many of the files have been there a long time and they were all complete. 

I've been re-downloading files all day, but Sonarr has been throwing intermittent "sql"database errors, and has finally stopped and will no longer start up. 

 

I've enclosed the Sonarr log file - it ends with 'non-recoverable failure"..... 

 

Can anybody suggest a solution?

 

Thanks

 

Fogey

Sonar Log.pdf 27.35 kB · 2 downloads

From your log:-

 

[Trace] DiskProviderBase: Directory '/config' isn't writable.

No space left on device : '/config/sonarr_write_test.txt'

Thanks, BinHex - I hadn't spotted the Z pool was full - I guess my Mover settings aren't clearing the cache fast enough. I've sorted it now - thanks so much for your help.

 

  • 2 weeks later...

Hi @binhex, I am getting these errors. any advice?

 


--- End of stack trace from previous location ---
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)


2025-03-26 20:58:06,161 DEBG 'sonarr' stdout output:
[Info] ReleaseSearchService: Searching indexers for [1923 : S02E05]. 7 active indexers 

2025-03-26 20:58:06,439 DEBG 'sonarr' stdout output:
[Warn] HttpClient: HTTP Error - Res: HTTP/1.1 [GET] http://192.168.0.204:9117/api/v2.0/indexers/bitsearch/results/torznab/api?t=tvsearch&cat=5000&extended=1&apikey=q2j70ix1si2srjpsdvohnhtjj1ve8y6p&offset=0&limit=100&q=1923&season=2&ep=5: 400.BadRequest (1751 bytes)
<?xml version="1.0" encoding="UTF-8"?>
<error code="900" description="Jackett.Common.IndexerException: Exception (bitsearch): Request to https://bitsearch.to/search?q=1923+S02E05&amp;sort=date&amp;order=desc&amp;limit=100&amp;page=1 failed (Error BadGateway) - The tracker seems to be down.&#xA; ---&gt; System.Exception: Request to https://bitsearch.to/search?q=1923+S02E05&amp;sort=date&amp;order=desc&amp;limit=100&amp;page=1 failed (Error BadGateway) - The tracker seems to be down.&#xA;   at Jackett.Common.Indexers.BaseWebIndexer.CheckSiteDown(WebResult response) in ./Jackett.Common/Indexers/BaseIndexer.cs:line 684&#xA;   at Jackett.Common.Indexers.BaseWebIndexer.RequestWithCookiesAsync(String url, String cookieOverride, RequestType method, String referer, IEnumerable`1 data, Dictionary`2 headers, String rawbody, Nullable`1 emulateBrowser) in ./Jackett.Common/Indexers/BaseIndexer.cs:line 618&#xA;   at Jackett.Common.Indexers.Definitions.CardigannIndexer.PerformQuery(TorznabQuery query) in ./Jackett.Common/Indexers/Definitions/CardigannIndexer.cs:line 1563&#xA;   at Jackett.Common.Indexers.BaseIndexer.ResultsForQuery(TorznabQuery query, Boolean isMetaIndexer) in ./Jackett.Common/Indexers/BaseIndexer.cs:line 378&#xA;   --- End of inner exception stack trace ---&#xA;   at Jackett.Common.Indexers.BaseIndexer.ResultsForQuery(TorznabQuery query, Boolean isMetaIndexer) in ./Jackett.Common/Indexers/BaseIndexer.cs:line 403&#xA;   at Jackett.Common.Indexers.BaseWebIndexer.ResultsForQuery(TorznabQuery query, Boolean isMetaIndexer) in ./Jackett.Common/Indexers/BaseIndexer.cs:line 816&#xA;   at Jackett.Server.Controllers.ResultsController.Torznab(TorznabRequest request) in ./Jackett.Server/Controllers/ResultsController.cs:line 437" /> 

2025-03-26 20:58:07,642 DEBG 'sonarr' stdout output:
[Warn] Torznab: Bitsearch HTTP request failed: [400:BadRequest] [GET] at [http://192.168.0.204:9117/api/v2.0/indexers/bitsearch/results/torznab/api?t=tvsearch&cat=5000&extended=1&apikey=q2j70ix1si2srjpsdvohnhtjj1ve8y6p&offset=0&limit=100&q=1923&season=2&ep=5] 

2025-03-26 20:58:07,813 DEBG 'sonarr' stdout output:
[Error] SonarrErrorPipeline: [POST /api/v3/command] 

[v4.0.14.2939] code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed
database disk image is malformed
   at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
   at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
   at System.Data.SQLite.SQLiteDataReader.NextResult()
   at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
   at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior) in /_/Dapper/SqlMapper.cs:line 1075
   at Dapper.SqlMapper.QueryMultipleImpl(IDbConnection cnn, CommandDefinition& command) in /_/Dapper/SqlMapper.cs:line 1058
   at NzbDrone.Core.Datastore.BasicRepository`1.Insert(IDbConnection connection, IDbTransaction transaction, TModel model) in ./Sonarr.Core/Datastore/BasicRepository.cs:line 188
   at NzbDrone.Core.Datastore.BasicRepository`1.Insert(TModel model) in ./Sonarr.Core/Datastore/BasicRepository.cs:line 151
   at NzbDrone.Core.Messaging.Commands.CommandQueueManager.Push[TCommand](TCommand command, CommandPriority priority, CommandTrigger trigger) in ./Sonarr.Core/Messaging/Commands/CommandQueueManager.cs:line 140
   at Sonarr.Api.V3.Commands.CommandController.StartCommand(CommandResource commandResource) in ./Sonarr.Api.V3/Commands/CommandController.cs:line 75
   at lambda_method100(Closure , Object , Object[] )
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
2025-03-26 20:58:07,813 DEBG 'sonarr' stdout output:

   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Sonarr.Http.Middleware.BufferingMiddleware.InvokeAsync(HttpContext context) in ./Sonarr.Http/Middleware/BufferingMiddleware.cs:line 28
   at Sonarr.Http.Middleware.IfModifiedMiddleware.InvokeAsync(HttpContext context) in ./Sonarr.Http/Middleware/IfModifiedMiddleware.cs:line 41
   at Sonarr.Http.Middleware.CacheHeaderMiddleware.InvokeAsync(HttpContext context) in ./Sonarr.Http/Middleware/CacheHeaderMiddleware.cs:line 33
   at Sonarr.Http.Middleware.StartingUpMiddleware.InvokeAsync(HttpContext context) in ./Sonarr.Http/Middleware/StartingUpMiddleware.cs:line 38
   at Sonarr.Http.Middleware.UrlBaseMiddleware.InvokeAsync(HttpContext context) in ./Sonarr.Http/Middleware/UrlBaseMiddleware.cs:line 29
   at Sonarr.Http.Middleware.VersionMiddleware.InvokeAsync(HttpContext context) in ./Sonarr.Http/Middleware/VersionMiddleware.cs:line 29
   at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
   at Microsoft.AspNetCore.Authorization.Policy.AuthorizationMiddlewareResultHandler.HandleAsync(RequestDelegate next, HttpContext context, AuthorizationPolicy policy, PolicyAuthorizationResult authorizeResult)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)


2025-03-26 20:58:13,155 DEBG 'sonarr' stdout output:
[Info] DownloadDecisionMaker: Processing 63 releases 

2025-03-26 20:58:25,381 DEBG 'sonarr' stdout output:
[Error] TaskExtensions: Task Error 

[v4.0.14.2939] code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed
database disk image is malformed
   at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
   at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
   at System.Data.SQLite.SQLiteDataReader.NextResult()
   at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
   at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior) in /_/Dapper/SqlMapper.cs:line 1075
   at Dapper.SqlMapper.QueryMultipleImpl(IDbConnection cnn, CommandDefinition& command) in /_/Dapper/SqlMapper.cs:line 1058
   at NzbDrone.Core.Datastore.BasicRepository`1.Insert(IDbConnection connection, IDbTransaction transaction, TModel model) in ./Sonarr.Core/Datastore/BasicRepository.cs:line 188
   at NzbDrone.Core.Datastore.BasicRepository`1.Insert(TModel model) in ./Sonarr.Core/Datastore/BasicRepository.cs:line 151

2025-03-26 20:58:25,381 DEBG 'sonarr' stdout output:
   at NzbDrone.Core.Messaging.Commands.CommandQueueManager.Push[TCommand](TCommand command, CommandPriority priority, CommandTrigger trigger) in ./Sonarr.Core/Messaging/Commands/CommandQueueManager.cs:line 140
   at NzbDrone.Core.Jobs.Scheduler.ExecuteCommands() in ./Sonarr.Core/Jobs/Scheduler.cs:line 42
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)


2025-03-26 20:58:55,382 DEBG 'sonarr' stdout output:
[Error] TaskExtensions: Task Error 

[v4.0.14.2939] code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed
database disk image is malformed
   at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
   at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
   at System.Data.SQLite.SQLiteDataReader.NextResult()
   at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
   at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
   at Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior) in /_/Dapper/SqlMapper.cs:line 1075
   at Dapper.SqlMapper.QueryMultipleImpl(IDbConnection cnn, CommandDefinition& command) in /_/Dapper/SqlMapper.cs:line 1058
   at NzbDrone.Core.Datastore.BasicRepository`1.Insert(IDbConnection connection, IDbTransaction transaction, TModel model) in ./Sonarr.Core/Datastore/BasicRepository.cs:line 188
   at NzbDrone.Core.Datastore.BasicRepository`1.Insert(TModel model) in ./Sonarr.Core/Datastore/BasicRepository.cs:line 151
   at NzbDrone.Core.Messaging.Commands.CommandQueueManager.Push[TCommand](TCommand command, CommandPriority priority, CommandTrigger trigger) in ./Sonarr.Core/Messaging/Commands/CommandQueueManager.cs:line 140
   at NzbDrone.Core.Jobs.Scheduler.ExecuteCommands() in ./Sonarr.Core/Jobs/Scheduler.cs:line 42
2025-03-26 20:58:55,382 DEBG 'sonarr' stdout output:

   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)

I noticed today that it's not pulling new episodes of shows, tracking downloads in qbitorrent nor auto searching for episodes.

 

any and all help would be much appreciated,

When loading UI, I get this message: 

database disk image is malformed database disk image is malformed

Version 4.0.14.2939

 

If I open the log I see this message over and over with new files. Someone suggested that I restore the APPData backup for a week ago that hopefully isn't corrupted. I don't remember the exact time I opened it last. Should I try to restore the entire folder or are there just some database files that I can try to replace?

 

2025-04-02 16:56:35,289 DEBG 'sonarr' stdout output:
[Error] DownloadMonitoringService: Couldn't process tracked download xyz.mkv 

[v4.0.14.2939] code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed
database disk image is malformed
   at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
   at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
   at System.Data.SQLite.SQLiteDataReader.Read()
   at Dapper.SqlMapper.QueryImpl[T](IDbConnection cnn, CommandDefinition command, Type effectiveType)+MoveNext() in /_/Dapper/SqlMapper.cs:line 1111
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 734
   at NzbDrone.Core.Datastore.SqlMapperExtensions.Query[T](IDatabase db, String sql, Object param) in ./Sonarr.Core/Datastore/Extensions/SqlMapperExtensions.cs:line 17
   at NzbDrone.Core.Datastore.BasicRepository`1.Query(SqlBuilder builder) in ./Sonarr.Core/Datastore/BasicRepository.cs:line 72
   at NzbDrone.Core.DataAugmentation.Scene.SceneMappingService.RefreshCache() in ./Sonarr.Core/DataAugmentation/Scene/SceneMappingService.cs:line 224
   at NzbDrone.Core.DataAugmentation.Scene.SceneMappingService.FindMappings(String seriesTitle, String releaseTitle)
   at NzbDrone.Core.DataAugmentation.Scene.SceneMappingService.FindSceneMapping(String seriesTitle, String releaseTitle, Int32 sceneSeasonNumber) in ./Sonarr.Core/DataAugmentation/Scene/SceneMappingService.cs:line 97
   at NzbDrone.Core.DataAugmentation.Scene.SceneMappingService.FindTvdbId(String seriesTitle, String releaseTitle, Int32 sceneSeasonNumber) in ./Sonarr.Core/DataAugmentation/Scene/SceneMappingService.cs:line 75
   at NzbDrone.Core.Parser.ParsingService.GetSeries(String title) in ./Sonarr.Core/Parser/ParsingService.cs:line 72
   at NzbDrone.Core.Download.CompletedDownloadService.Check(TrackedDownload trackedDownload) in ./Sonarr.Core/Download/CompletedDownloadService.cs:line 125
   at NzbDrone.Core.Download.TrackedDownloads.DownloadMonitoringService.ProcessClientItem(IDownloadClient downloadClient, DownloadClientItem downloadItem) in ./Sonarr.Core/Download/TrackedDownloads/DownloadMonitoringService.cs:line 136

When loading UI, I get this message: 

database disk image is malformed database disk image is malformed

Version 4.0.14.2939

 

If I open the log I see this message over and over with new files. Someone suggested that I restore the APPData backup for a week ago that hopefully isn't corrupted. I don't remember the exact time I opened it last. Should I try to restore the entire folder or are there just some database files that I can try to replace?

 

2025-04-02 16:56:35,289 DEBG 'sonarr' stdout output:
[Error] DownloadMonitoringService: Couldn't process tracked download xyz.mkv 

[v4.0.14.2939] code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed
database disk image is malformed
   at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
   at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
   at System.Data.SQLite.SQLiteDataReader.Read()
   at Dapper.SqlMapper.QueryImpl[T](IDbConnection cnn, CommandDefinition command, Type effectiveType)+MoveNext() in /_/Dapper/SqlMapper.cs:line 1111
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 734
   at NzbDrone.Core.Datastore.SqlMapperExtensions.Query[T](IDatabase db, String sql, Object param) in ./Sonarr.Core/Datastore/Extensions/SqlMapperExtensions.cs:line 17
   at NzbDrone.Core.Datastore.BasicRepository`1.Query(SqlBuilder builder) in ./Sonarr.Core/Datastore/BasicRepository.cs:line 72
   at NzbDrone.Core.DataAugmentation.Scene.SceneMappingService.RefreshCache() in ./Sonarr.Core/DataAugmentation/Scene/SceneMappingService.cs:line 224
   at NzbDrone.Core.DataAugmentation.Scene.SceneMappingService.FindMappings(String seriesTitle, String releaseTitle)
   at NzbDrone.Core.DataAugmentation.Scene.SceneMappingService.FindSceneMapping(String seriesTitle, String releaseTitle, Int32 sceneSeasonNumber) in ./Sonarr.Core/DataAugmentation/Scene/SceneMappingService.cs:line 97
   at NzbDrone.Core.DataAugmentation.Scene.SceneMappingService.FindTvdbId(String seriesTitle, String releaseTitle, Int32 sceneSeasonNumber) in ./Sonarr.Core/DataAugmentation/Scene/SceneMappingService.cs:line 75
   at NzbDrone.Core.Parser.ParsingService.GetSeries(String title) in ./Sonarr.Core/Parser/ParsingService.cs:line 72
   at NzbDrone.Core.Download.CompletedDownloadService.Check(TrackedDownload trackedDownload) in ./Sonarr.Core/Download/CompletedDownloadService.cs:line 125
   at NzbDrone.Core.Download.TrackedDownloads.DownloadMonitoringService.ProcessClientItem(IDownloadClient downloadClient, DownloadClientItem downloadItem) in ./Sonarr.Core/Download/TrackedDownloads/DownloadMonitoringService.cs:line 136

When loading UI, I get this message: 

database disk image is malformed database disk image is malformed

Version 4.0.14.2939

 

If I open the log I see this message over and over with new files. Someone suggested that I restore the APPData backup for a week ago that hopefully isn't corrupted. I don't remember the exact time I opened it last. Should I try to restore the entire folder or are there just some database files that I can try to replace?

 

2025-04-02 16:56:35,289 DEBG 'sonarr' stdout output:
[Error] DownloadMonitoringService: Couldn't process tracked download xyz.mkv 

[v4.0.14.2939] code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed
database disk image is malformed
   at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
   at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
   at System.Data.SQLite.SQLiteDataReader.Read()
   at Dapper.SqlMapper.QueryImpl[T](IDbConnection cnn, CommandDefinition command, Type effectiveType)+MoveNext() in /_/Dapper/SqlMapper.cs:line 1111
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 734
   at NzbDrone.Core.Datastore.SqlMapperExtensions.Query[T](IDatabase db, String sql, Object param) in ./Sonarr.Core/Datastore/Extensions/SqlMapperExtensions.cs:line 17
   at NzbDrone.Core.Datastore.BasicRepository`1.Query(SqlBuilder builder) in ./Sonarr.Core/Datastore/BasicRepository.cs:line 72
   at NzbDrone.Core.DataAugmentation.Scene.SceneMappingService.RefreshCache() in ./Sonarr.Core/DataAugmentation/Scene/SceneMappingService.cs:line 224
   at NzbDrone.Core.DataAugmentation.Scene.SceneMappingService.FindMappings(String seriesTitle, String releaseTitle)
   at NzbDrone.Core.DataAugmentation.Scene.SceneMappingService.FindSceneMapping(String seriesTitle, String releaseTitle, Int32 sceneSeasonNumber) in ./Sonarr.Core/DataAugmentation/Scene/SceneMappingService.cs:line 97
   at NzbDrone.Core.DataAugmentation.Scene.SceneMappingService.FindTvdbId(String seriesTitle, String releaseTitle, Int32 sceneSeasonNumber) in ./Sonarr.Core/DataAugmentation/Scene/SceneMappingService.cs:line 75
   at NzbDrone.Core.Parser.ParsingService.GetSeries(String title) in ./Sonarr.Core/Parser/ParsingService.cs:line 72
   at NzbDrone.Core.Download.CompletedDownloadService.Check(TrackedDownload trackedDownload) in ./Sonarr.Core/Download/CompletedDownloadService.cs:line 125
   at NzbDrone.Core.Download.TrackedDownloads.DownloadMonitoringService.ProcessClientItem(IDownloadClient downloadClient, DownloadClientItem downloadItem) in ./Sonarr.Core/Download/TrackedDownloads/DownloadMonitoringService.cs:line 136

  • Author
10 hours ago, gath2 said:

When loading UI, I get this message: 

database disk image is malformed database disk image is malformed

Version 4.0.14.2939

 

If I open the log I see this message over and over with new files. Someone suggested that I restore the APPData backup for a week ago that hopefully isn't corrupted. I don't remember the exact time I opened it last. Should I try to restore the entire folder or are there just some database files that I can try to replace?

 

2025-04-02 16:56:35,289 DEBG 'sonarr' stdout output:
[Error] DownloadMonitoringService: Couldn't process tracked download xyz.mkv 

[v4.0.14.2939] code = Corrupt (11), message = System.Data.SQLite.SQLiteException (0x800007EF): database disk image is malformed
database disk image is malformed
   at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt)
   at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
   at System.Data.SQLite.SQLiteDataReader.Read()
   at Dapper.SqlMapper.QueryImpl[T](IDbConnection cnn, CommandDefinition command, Type effectiveType)+MoveNext() in /_/Dapper/SqlMapper.cs:line 1111
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType) in /_/Dapper/SqlMapper.cs:line 734
   at NzbDrone.Core.Datastore.SqlMapperExtensions.Query[T](IDatabase db, String sql, Object param) in ./Sonarr.Core/Datastore/Extensions/SqlMapperExtensions.cs:line 17
   at NzbDrone.Core.Datastore.BasicRepository`1.Query(SqlBuilder builder) in ./Sonarr.Core/Datastore/BasicRepository.cs:line 72
   at NzbDrone.Core.DataAugmentation.Scene.SceneMappingService.RefreshCache() in ./Sonarr.Core/DataAugmentation/Scene/SceneMappingService.cs:line 224
   at NzbDrone.Core.DataAugmentation.Scene.SceneMappingService.FindMappings(String seriesTitle, String releaseTitle)
   at NzbDrone.Core.DataAugmentation.Scene.SceneMappingService.FindSceneMapping(String seriesTitle, String releaseTitle, Int32 sceneSeasonNumber) in ./Sonarr.Core/DataAugmentation/Scene/SceneMappingService.cs:line 97
   at NzbDrone.Core.DataAugmentation.Scene.SceneMappingService.FindTvdbId(String seriesTitle, String releaseTitle, Int32 sceneSeasonNumber) in ./Sonarr.Core/DataAugmentation/Scene/SceneMappingService.cs:line 75
   at NzbDrone.Core.Parser.ParsingService.GetSeries(String title) in ./Sonarr.Core/Parser/ParsingService.cs:line 72
   at NzbDrone.Core.Download.CompletedDownloadService.Check(TrackedDownload trackedDownload) in ./Sonarr.Core/Download/CompletedDownloadService.cs:line 125
   at NzbDrone.Core.Download.TrackedDownloads.DownloadMonitoringService.ProcessClientItem(IDownloadClient downloadClient, DownloadClientItem downloadItem) in ./Sonarr.Core/Download/TrackedDownloads/DownloadMonitoringService.cs:line 136

you could stop the container then restore from backup /config/sonarr.db* and /config/logs.db* then start the container.

I can't access SABnzbVPN, but it works fine in Lidarr?

 

I get this when I try and test

 

Test was aborted due to an error: Unable to connect to SABnzbd, HTTP request failed: [503:ServiceUnavailable] [GET] at [http://192.168.1.10:8080/api?mode=get_config&apikey=d13a732039250f1d334faa02338c95ed&output=json]

 

I get the same result in Radarr too?

Edited by clevoir

If I disable the VPN connection, I can access SABnzbVPN again?

On 4/10/2025 at 12:10 PM, clevoir said:

If I disable the VPN connection, I can access SABnzbVPN again?

That implies an issue with the VPN connection, credentials or endpoint issues are most common, the supervisord.log will have more information about what is happening.

  • 4 weeks later...

For the life of me I cannot get the Hard Linking working with Sonarr (or Radarr for that matter).

 

I am new to Unraid, probably why! 

 

Downloads to into mnt/user/plex_media/downloads

Media is at mnt/user/plex_media

 

The tick is ticked in settings for Hardlinks. 

 

The original download is left in downloads and the name corrected file is put correctly into it's folder.

 

When running a "stat" on the files, the Inode is not the same, and the "Links: " is always 1. 😔

  • 1 month later...

Sonarr is copying all of my episodes instead of hardlinking them. It doesn't seem to be a permissions issue, as all the files and folders are owned by nobody with the same permission and I also paused the sonarr and qbit containers to run a new permissions job on the media share to no avail.

The files on unraid:{08503841-74AC-4C62-99E9-08171B02F6E0}.png

The same files in the sonarr container:

{A42A2A85-41C7-461B-AA6D-23CD0FF3E297}.png

Both files are on the same volume in both unraid and the sonarr container. If you are keen you may have noticed that I am using a nested folder mapping structure in order to not have to shift all of my other mappings and file structure around. I don't know how this could be causing the issue because sonarr sees the files like it expects to, but I'm including it just in case I am missing something. The container creates an empty 'sonarr' folder at /mnt/user/media/Downloads/ that I just leave alone.

{22EAF89B-D409-4B7C-9DC3-AF6B845CB653}.png

And yes, I have the hardlink setting turned on. The note at the bottom, if I understand it correctly, is saying that it possibly would not be able to rename the hardlinked destination files in the root folder because the iloc is locked by qbit, correct? Even in this case, the files would still hardlink correctly, they would just both have the same name in the case you had file renaming turned on in sonarr? Just making sure I understand that note correctly and that it wouldn't be causing the issue either.

{558B8AC2-A971-4529-BD3E-27287A7FFF56}.png

The relevant lines in the log file don't appear to show any warnings or errors:

2025-07-05 11:39:51.4|Debug|EpisodeFileMovingService|Attempting to hardlink episode file: /data/Downloads/sonarr/Love.on.the.Spectrum.U.S.S03.1080p.NF.WEB-DL.DDP5.1.H.264-Kitsune/Love.on.the.Spectrum.U.S.S03E01.1080p.NF.WEB-DL.DDP5.1.H.264-Kitsune.mkv to /data/Jellyfin/Shows/Love on the Spectrum (2022)/Season 3/Love on the Spectrum (US) - S03E01 - Episode 1 WEBDL-1080p.mkv
2025-07-05 11:39:51.4|Debug|DiskTransferService|HardLinkOrCopy [/data/Downloads/sonarr/Love.on.the.Spectrum.U.S.S03.1080p.NF.WEB-DL.DDP5.1.H.264-Kitsune/Love.on.the.Spectrum.U.S.S03E01.1080p.NF.WEB-DL.DDP5.1.H.264-Kitsune.mkv] > [/data/Jellyfin/Shows/Love on the Spectrum (2022)/Season 3/Love on the Spectrum (US) - S03E01 - Episode 1 WEBDL-1080p.mkv]

The only other log lines referencing this episode were parsing metadata about the video file and there is nothing else about hardlinking for this or any other file, just these two lines about attempting to hardlink, then calling HardLinkOrCopy.

Thanks in advance.

  • 2 weeks later...

I am following this...I finally have Sonarr managing moving my files and the removal of the torrent, but I still have Filecopy instead of hardlinks.

image.png

image.png

image.png

image.png

I just started having a strange problem where the app isn't searching on it's own, and I can't click on the "automatic search" icon in the GUI. I also can't click the "Refresh and Scan" or "Search for Missing".

What does work is clicking "Interactive Search", which brings up results, and it will let me select something to download.

I just noticed that I also can't add any new shows. I hit the button to add the show, the button flashes, but then nothing happens. I can click on the button multiple times and nothing happens, and the show doesn't add.

Any ideas what's going on? It worked up until a couple days ago.

Edited by Squirreljester

11 hours ago, Optimus Prime said:

I am following this...I finally have Sonarr managing moving my files and the removal of the torrent, but I still have Filecopy instead of hardlinks.

image.png

image.png

image.png

image.png

Delete the /media and just have all the structures under the /data link and do the same with your downloaders

https://trash-guides.info/File-and-Folder-Structure/

  • 3 weeks later...

Help!

I have used Sonarr for a long time, always trouble free until now.

" database disk image is malformed database disk image is malformed"

"Version 4.0.15.2941"

Unraid 7.1.2 had the issue, updated to 7.14 to see if it helped, still had issue.

Uninstalled, reinstalled, still had issue.

Uninstalled, deleted config folder, worked for that day, rescanned all my shows, still worked then next day trouble came back.

Radarr works no problem

Lidarr works.

How do I fix?

Thanks

Usually fixed by restoring from backup.

System>backup choose “restore backup” and select the backup file.

Thanks, but how do I get to system backup?

Sonarr web gui does not load. Just says malformed

Edited by Renew

Find the db file in appdata and add a new extension to it. Maybe .old. That should cause the docker to just create a new empty db. After it starts you can restore.

Thanks, I deleted all the db's, had to stop the container and restart, then was able to rebuild the db. Then I saved it as a backup, I never did a back up before. I also had to recreate the settings for news, sab etc.

Also, not sure it this caused the issue, but I saved appdata to cache, previously it was on the array and I did not have a cache... everything else worked fine, but just in case I added a cache... if that helps anyone else who has this issue.

Thanks again

Is anyone else seeing all of these binhex-*arr continers now failing healthchecks and showing as "unhealthy" since the update 4 days ago?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.