[HELP] files removed from queue but not from torrent client #140

Closed
opened 2025-10-09 16:59:11 -05:00 by giteasync · 11 comments
Owner

Originally created by @suskozaver on GitHub.

Before submitting a help request, I have:

  • Reviewed the documentation.
  • Ensured I am using ghcr.io/flmorg/cleanuperr docker repository.
  • Ensured I am using the latest version.
  • Enabled debug logging.

How can we help?

Is there something you need to enable for the "fake" torrents to be deleted from the torrent client?
Cleanuperr detected 3 torrents and removed them from sonarr queue (.lnk files) but they stayed in qBittorrent.

Originally created by @suskozaver on GitHub. ### Before submitting a help request, I have: - [x] Reviewed the documentation. - [x] Ensured I am using ghcr.io/flmorg/cleanuperr docker repository. - [x] Ensured I am using the latest version. - [x] Enabled debug logging. ### How can we help? Is there something you need to enable for the "fake" torrents to be deleted from the torrent client? Cleanuperr detected 3 torrents and removed them from sonarr queue (.lnk files) but they stayed in qBittorrent.
giteasync added the
question
label 2025-10-09 16:59:11 -05:00
Author
Owner

@Flaminel commented on GitHub:

Can you also provide logs from when cleanuperr removed those items?

@Flaminel commented on GitHub: Can you also provide logs from when cleanuperr removed those items?
Author
Owner

@Flaminel commented on GitHub:

Those downloads should already be cleaned. Can you share your configuration, excluding sensitive information? And are those download from private trackers or public ones?

@Flaminel commented on GitHub: Those downloads should already be cleaned. Can you share your configuration, excluding sensitive information? And are those download from private trackers or public ones?
Author
Owner

@Flaminel commented on GitHub:

Can I suggest using file logging, just in case? That way we can find the logs even if the container restarts.

@Flaminel commented on GitHub: Can I suggest using file logging, just in case? That way we can find the logs even if the container restarts.
Author
Owner

@suskozaver commented on GitHub:

ughh, can't, as I restarted the service afterwards, looking at the config, trying to figure out what's off/wrong.

I'll wait for tomorrow and check the logs and post them here... if it's ok, let's wait until Sunday... as I'm a bit dependent on the fake .lnk downloads :-)

@suskozaver commented on GitHub: ughh, can't, as I restarted the service afterwards, looking at the config, trying to figure out what's off/wrong. I'll wait for tomorrow and check the logs and post them here... if it's ok, let's wait until Sunday... as I'm a bit dependent on the fake .lnk downloads :-)
Author
Owner

@suskozaver commented on GitHub:

Public trackers.

Config:
{ "DRY_RUN": false, "HTTP_MAX_RETRIES": 0, "HTTP_TIMEOUT": 100, "Logging": { "LogLevel": "Information", "Enhanced": true, "File": { "Enabled": false, "Path": "" } }, "Triggers": { "QueueCleaner": "0 0/5 * * * ?", "ContentBlocker": "0 0/5 * * * ?", "DownloadCleaner": "0 0/5 * * * ?" }, "ContentBlocker": { "Enabled": false, "IGNORE_PRIVATE": false }, "QueueCleaner": { "Enabled": true, "RunSequentially": true, "IMPORT_FAILED_MAX_STRIKES": 0, "IMPORT_FAILED_IGNORE_PRIVATE": false, "IMPORT_FAILED_DELETE_PRIVATE": false, "IMPORT_FAILED_IGNORE_PATTERNS": [], "STALLED_MAX_STRIKES": 0, "STALLED_RESET_STRIKES_ON_PROGRESS": false, "STALLED_IGNORE_PRIVATE": false, "STALLED_DELETE_PRIVATE": false }, "DownloadCleaner": { "Enabled": false, "DELETE_PRIVATE": false, "CATEGORIES": [] }, "DOWNLOAD_CLIENT": "qBittorrent", "qBittorrent": { "Url": "http://localhost:8081", "Username": "admin", "Password": "pass" }, "Deluge": { "Url": "http://localhost:8112", "Password": "testing" }, "Transmission": { "Url": "http://localhost:9091", "Username": "test", "Password": "testing" }, "Sonarr": { "Enabled": true, "SearchType": "Episode", "Block": { "Type": "blacklist", "Path": "" }, "Instances": [ { "Url": "http://localhost:8989", "ApiKey": "4a703f19c95240f4af1d2b04c809dcd7" } ] }, "Radarr": { "Enabled": true, "Block": { "Type": "blacklist", "Path": "" }, "Instances": [ { "Url": "http://localhost:7878", "ApiKey": "e5a1afe4d91a4b3b8bd49a8126343d20" } ] }, "Lidarr": { "Enabled": false, "Block": { "Type": "blacklist", "Path": "" }, "Instances": [ { "Url": "http://localhost:8686", "ApiKey": "" } ] }, "Notifiarr": { "ON_IMPORT_FAILED_STRIKE": false, "ON_STALLED_STRIKE": false, "ON_QUEUE_ITEM_DELETED": false, "ON_DOWNLOAD_CLEANED": false, "API_KEY": "", "CHANNEL_ID": "" } }

@suskozaver commented on GitHub: Public trackers. Config: `{ "DRY_RUN": false, "HTTP_MAX_RETRIES": 0, "HTTP_TIMEOUT": 100, "Logging": { "LogLevel": "Information", "Enhanced": true, "File": { "Enabled": false, "Path": "" } }, "Triggers": { "QueueCleaner": "0 0/5 * * * ?", "ContentBlocker": "0 0/5 * * * ?", "DownloadCleaner": "0 0/5 * * * ?" }, "ContentBlocker": { "Enabled": false, "IGNORE_PRIVATE": false }, "QueueCleaner": { "Enabled": true, "RunSequentially": true, "IMPORT_FAILED_MAX_STRIKES": 0, "IMPORT_FAILED_IGNORE_PRIVATE": false, "IMPORT_FAILED_DELETE_PRIVATE": false, "IMPORT_FAILED_IGNORE_PATTERNS": [], "STALLED_MAX_STRIKES": 0, "STALLED_RESET_STRIKES_ON_PROGRESS": false, "STALLED_IGNORE_PRIVATE": false, "STALLED_DELETE_PRIVATE": false }, "DownloadCleaner": { "Enabled": false, "DELETE_PRIVATE": false, "CATEGORIES": [] }, "DOWNLOAD_CLIENT": "qBittorrent", "qBittorrent": { "Url": "http://localhost:8081", "Username": "admin", "Password": "pass" }, "Deluge": { "Url": "http://localhost:8112", "Password": "testing" }, "Transmission": { "Url": "http://localhost:9091", "Username": "test", "Password": "testing" }, "Sonarr": { "Enabled": true, "SearchType": "Episode", "Block": { "Type": "blacklist", "Path": "" }, "Instances": [ { "Url": "http://localhost:8989", "ApiKey": "4a703f19c95240f4af1d2b04c809dcd7" } ] }, "Radarr": { "Enabled": true, "Block": { "Type": "blacklist", "Path": "" }, "Instances": [ { "Url": "http://localhost:7878", "ApiKey": "e5a1afe4d91a4b3b8bd49a8126343d20" } ] }, "Lidarr": { "Enabled": false, "Block": { "Type": "blacklist", "Path": "" }, "Instances": [ { "Url": "http://localhost:8686", "ApiKey": "" } ] }, "Notifiarr": { "ON_IMPORT_FAILED_STRIKE": false, "ON_STALLED_STRIKE": false, "ON_QUEUE_ITEM_DELETED": false, "ON_DOWNLOAD_CLEANED": false, "API_KEY": "", "CHANNEL_ID": "" } }`
Author
Owner

@Flaminel commented on GitHub:

The only thing I could think of, and I might just be wrong, is that the torrent is actually marked as private, even though it came from a public tracker. Can you check that on the Trackers tab in qBit?

@Flaminel commented on GitHub: The only thing I could think of, and I might just be wrong, is that the torrent is actually marked as private, even though it came from a public tracker. Can you check that on the `Trackers` tab in qBit?
Author
Owner

@suskozaver commented on GitHub:

apology. not using the same config anymore, switched from win11 to docker:

`
version: "3.3"
services:
cleanuperr:
image: ghcr.io/flmorg/cleanuperr:latest
restart: unless-stopped
volumes:
- ./cleanuperr/logs:/var/logs
environment:
- TZ=Europe/Ljubljana
- DRY_RUN=false

  - LOGGING__LOGLEVEL=Information
  - LOGGING__FILE__ENABLED=true
  - LOGGING__FILE__PATH=/var/logs/
  - LOGGING__ENHANCED=true

  - TRIGGERS__QUEUECLEANER=0 0/5 * * * ?
  - TRIGGERS__CONTENTBLOCKER=0 0/5 * * * ?
  - TRIGGERS__DOWNLOADCLEANER=0 0/5 * * * ?

  - QUEUECLEANER__ENABLED=true
  - QUEUECLEANER__RUNSEQUENTIALLY=true
  - QUEUECLEANER__IMPORT_FAILED_MAX_STRIKES=5
  - QUEUECLEANER__IMPORT_FAILED_IGNORE_PRIVATE=false
  - QUEUECLEANER__IMPORT_FAILED_DELETE_PRIVATE=false
  # - QUEUECLEANER__IMPORT_FAILED_IGNORE_PATTERNS__0=title mismatch
  # - QUEUECLEANER__IMPORT_FAILED_IGNORE_PATTERNS__1=manual import required
  - QUEUECLEANER__STALLED_MAX_STRIKES=5
  - QUEUECLEANER__STALLED_RESET_STRIKES_ON_PROGRESS=false
  - QUEUECLEANER__STALLED_IGNORE_PRIVATE=false
  - QUEUECLEANER__STALLED_DELETE_PRIVATE=false

  - CONTENTBLOCKER__ENABLED=true
  - CONTENTBLOCKER__IGNORE_PRIVATE=false
  - CONTENTBLOCKER__DELETE_PRIVATE=false

  - DOWNLOADCLEANER__ENABLED=true
  - DOWNLOADCLEANER__DELETE_PRIVATE=false
  - DOWNLOADCLEANER__CATEGORIES__0__NAME=sonarr
  - DOWNLOADCLEANER__CATEGORIES__0__MAX_RATIO=-1
  - DOWNLOADCLEANER__CATEGORIES__0__MIN_SEED_TIME=0
  - DOWNLOADCLEANER__CATEGORIES__0__MAX_SEED_TIME=240
  - DOWNLOADCLEANER__CATEGORIES__1__NAME=radarr
  - DOWNLOADCLEANER__CATEGORIES__1__MAX_RATIO=-1
  - DOWNLOADCLEANER__CATEGORIES__1__MIN_SEED_TIME=0
  - DOWNLOADCLEANER__CATEGORIES__1__MAX_SEED_TIME=240

  # DOWNLOAD_CLIENT=none
  # OR
  - DOWNLOAD_CLIENT=qBittorrent
  - QBITTORRENT__URL=http://192.168.1.44:8081
  - QBITTORRENT__USERNAME=admin
  - QBITTORRENT__PASSWORD=pass
  # OR
  # - DOWNLOAD_CLIENT=deluge
  # - DELUGE__URL=http://localhost:8112
  # - DELUGE__PASSWORD=testing
  # OR
  # - DOWNLOAD_CLIENT=transmission
  # - TRANSMISSION__URL=http://localhost:9091
  # - TRANSMISSION__USERNAME=test
  # - TRANSMISSION__PASSWORD=testing

  - SONARR__ENABLED=true
  - SONARR__SEARCHTYPE=Episode
  - SONARR__BLOCK__TYPE=blacklist
  - SONARR__BLOCK__PATH=https://raw.githubusercontent.com/flmorg/cleanuperr/refs/heads/main/blacklist_permissive
  - SONARR__INSTANCES__0__URL=http://192.168.1.44:8989
  - SONARR__INSTANCES__0__APIKEY=apikey

- SONARR__INSTANCES__1__URL=http://localhost:8990

- SONARR__INSTANCES__1__APIKEY=secret2

  - RADARR__ENABLED=true
  - RADARR__BLOCK__TYPE=blacklist
  - RADARR__BLOCK__PATH=https://raw.githubusercontent.com/flmorg/cleanuperr/refs/heads/main/blacklist_permissive
  - RADARR__INSTANCES__0__URL=http://192.168.1.44:7878
  - RADARR__INSTANCES__0__APIKEY=apikey

- RADARR__INSTANCES__1__URL=http://localhost:7879

- RADARR__INSTANCES__1__APIKEY=secret4

  - LIDARR__ENABLED=false
  - LIDARR__BLOCK__TYPE=blacklist
  - LIDARR__BLOCK__PATH=https://example.com/path/to/file.txt
  - LIDARR__INSTANCES__0__URL=http://radarr:8686
  - LIDARR__INSTANCES__0__APIKEY=secret5
  - LIDARR__INSTANCES__1__URL=http://radarr:8687
  - LIDARR__INSTANCES__1__APIKEY=secret6

- NOTIFIARR__ON_IMPORT_FAILED_STRIKE=true

- NOTIFIARR__ON_STALLED_STRIKE=true

- NOTIFIARR__ON_QUEUE_ITEM_DELETED=true

- NOTIFIARR__ON_DOWNLOAD_CLEANED=true

- NOTIFIARR__API_KEY=notifiarr_secret

- NOTIFIARR__CHANNEL_ID=discord_channel_id

`

@suskozaver commented on GitHub: apology. not using the same config anymore, switched from win11 to docker: ` version: "3.3" services: cleanuperr: image: ghcr.io/flmorg/cleanuperr:latest restart: unless-stopped volumes: - ./cleanuperr/logs:/var/logs environment: - TZ=Europe/Ljubljana - DRY_RUN=false - LOGGING__LOGLEVEL=Information - LOGGING__FILE__ENABLED=true - LOGGING__FILE__PATH=/var/logs/ - LOGGING__ENHANCED=true - TRIGGERS__QUEUECLEANER=0 0/5 * * * ? - TRIGGERS__CONTENTBLOCKER=0 0/5 * * * ? - TRIGGERS__DOWNLOADCLEANER=0 0/5 * * * ? - QUEUECLEANER__ENABLED=true - QUEUECLEANER__RUNSEQUENTIALLY=true - QUEUECLEANER__IMPORT_FAILED_MAX_STRIKES=5 - QUEUECLEANER__IMPORT_FAILED_IGNORE_PRIVATE=false - QUEUECLEANER__IMPORT_FAILED_DELETE_PRIVATE=false # - QUEUECLEANER__IMPORT_FAILED_IGNORE_PATTERNS__0=title mismatch # - QUEUECLEANER__IMPORT_FAILED_IGNORE_PATTERNS__1=manual import required - QUEUECLEANER__STALLED_MAX_STRIKES=5 - QUEUECLEANER__STALLED_RESET_STRIKES_ON_PROGRESS=false - QUEUECLEANER__STALLED_IGNORE_PRIVATE=false - QUEUECLEANER__STALLED_DELETE_PRIVATE=false - CONTENTBLOCKER__ENABLED=true - CONTENTBLOCKER__IGNORE_PRIVATE=false - CONTENTBLOCKER__DELETE_PRIVATE=false - DOWNLOADCLEANER__ENABLED=true - DOWNLOADCLEANER__DELETE_PRIVATE=false - DOWNLOADCLEANER__CATEGORIES__0__NAME=sonarr - DOWNLOADCLEANER__CATEGORIES__0__MAX_RATIO=-1 - DOWNLOADCLEANER__CATEGORIES__0__MIN_SEED_TIME=0 - DOWNLOADCLEANER__CATEGORIES__0__MAX_SEED_TIME=240 - DOWNLOADCLEANER__CATEGORIES__1__NAME=radarr - DOWNLOADCLEANER__CATEGORIES__1__MAX_RATIO=-1 - DOWNLOADCLEANER__CATEGORIES__1__MIN_SEED_TIME=0 - DOWNLOADCLEANER__CATEGORIES__1__MAX_SEED_TIME=240 # DOWNLOAD_CLIENT=none # OR - DOWNLOAD_CLIENT=qBittorrent - QBITTORRENT__URL=http://192.168.1.44:8081 - QBITTORRENT__USERNAME=admin - QBITTORRENT__PASSWORD=pass # OR # - DOWNLOAD_CLIENT=deluge # - DELUGE__URL=http://localhost:8112 # - DELUGE__PASSWORD=testing # OR # - DOWNLOAD_CLIENT=transmission # - TRANSMISSION__URL=http://localhost:9091 # - TRANSMISSION__USERNAME=test # - TRANSMISSION__PASSWORD=testing - SONARR__ENABLED=true - SONARR__SEARCHTYPE=Episode - SONARR__BLOCK__TYPE=blacklist - SONARR__BLOCK__PATH=https://raw.githubusercontent.com/flmorg/cleanuperr/refs/heads/main/blacklist_permissive - SONARR__INSTANCES__0__URL=http://192.168.1.44:8989 - SONARR__INSTANCES__0__APIKEY=apikey # - SONARR__INSTANCES__1__URL=http://localhost:8990 # - SONARR__INSTANCES__1__APIKEY=secret2 - RADARR__ENABLED=true - RADARR__BLOCK__TYPE=blacklist - RADARR__BLOCK__PATH=https://raw.githubusercontent.com/flmorg/cleanuperr/refs/heads/main/blacklist_permissive - RADARR__INSTANCES__0__URL=http://192.168.1.44:7878 - RADARR__INSTANCES__0__APIKEY=apikey # - RADARR__INSTANCES__1__URL=http://localhost:7879 # - RADARR__INSTANCES__1__APIKEY=secret4 - LIDARR__ENABLED=false - LIDARR__BLOCK__TYPE=blacklist - LIDARR__BLOCK__PATH=https://example.com/path/to/file.txt - LIDARR__INSTANCES__0__URL=http://radarr:8686 - LIDARR__INSTANCES__0__APIKEY=secret5 - LIDARR__INSTANCES__1__URL=http://radarr:8687 - LIDARR__INSTANCES__1__APIKEY=secret6 # - NOTIFIARR__ON_IMPORT_FAILED_STRIKE=true # - NOTIFIARR__ON_STALLED_STRIKE=true # - NOTIFIARR__ON_QUEUE_ITEM_DELETED=true # - NOTIFIARR__ON_DOWNLOAD_CLEANED=true # - NOTIFIARR__API_KEY=notifiarr_secret # - NOTIFIARR__CHANNEL_ID=discord_channel_id `
Author
Owner

@Flaminel commented on GitHub:

Also it seems that you are relying on qBit to block .lnk files, right? You're not using content blocker from cleanuperr.

@Flaminel commented on GitHub: Also it seems that you are relying on qBit to block .lnk files, right? You're not using content blocker from cleanuperr.
Author
Owner

@Flaminel commented on GitHub:

If you're still using the configuration from above then yes, of course Cleanuperr does not block anything. You have not configured or enabled the content blocker for that.

@Flaminel commented on GitHub: If you're still using the configuration from above then yes, of course Cleanuperr does not block anything. You have not configured or enabled the content blocker for that.
Author
Owner

@suskozaver commented on GitHub:

ok, i've tested this more.

unless i add *.lnk to qBittorrent blocked list, this doesn't work.
Cleanuperr won't remove .lnk files.

torrent wasn't/isn't marked as private (I checked)

@suskozaver commented on GitHub: ok, i've tested this more. unless i add *.lnk to qBittorrent blocked list, this doesn't work. Cleanuperr won't remove .lnk files. torrent wasn't/isn't marked as private (I checked)
Author
Owner

@Flaminel commented on GitHub:

For future reference: the configuration was fine and the container just needed a restart.

@Flaminel commented on GitHub: For future reference: the configuration was fine and the container just needed a restart.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Cleanuparr-Cleanuparr#140
No description provided.