Skip to content

How do I manually delete files in completed-symlinks? #426

@BinsonBuzz

Description

@BinsonBuzz

I had an issue with my setup where it wouldn't import files which I've now fixed.

However, over 40K files are now in /completed-symlinks/tv which I think is too many for Sonarr and NzbDAV together to organise the import of as Sonarr is saying this:

HTTP Error - Res: HTTP/1.1 [GET] http://nzbdav:3000/api?mode=history&start=0&limit=60&category=tv&apikey=(removed)&output=json: 500.InternalServerError (68 bytes)
{"status":false,"error":"SQLite Error 1: 'too many SQL variables'."}

My other arrs are coping, but they don't have a backlog as big. How do I reduce the number of files in the completed-symlinks/tv folder so that Sonarr will resume importing?

I have tried:

  • deleting via the rclone mount
  • accessing the WedDAV via SCP and deleting
  • biting the bullet and using the orphaned files tool to delete anything older than 24 hours, but it says on the dry run:
    "Dry Run - Aborted: There are less than five linked files found in your library. Cancelling operation to prevent accidental bulk deletion." which isn't true, but is this maybe because the number of files in /completed-symlinks dwarfs what is in my library, or is it because it searches /completed-symlinks first so it of course has found almost zero matches and is actually safe to run in my scenario?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions