DobyTang / LazyLibrarian

This project isn't finished yet. Goal is to create a SickBeard, CouchPotato, Headphones-like application for ebooks. Headphones is used as a base, so there are still a lot of references to it.
730 stars 70 forks source link

Question: How to clean out old download cruft? #1674

Closed dsm1212 closed 2 years ago

dsm1212 commented 2 years ago

Ok, so this is maybe something I just need clarification on. Debug log shows post processing is looping over a bunch of invalid hashes sent to qbittorrent. I actually have nothing downloading or seeding at the moment. Even more oddly it sometimes mentions a torrent name that was sent to qbittorrent by other programs (couchpotato and medusa). Ignoring that oddity I'm guesing these are things i stopped seeding before LL processed them. They must have gotten into some lazylibrarian database table that I need to clean up?? I'd like to just clean out all outstanding downloads since I know there are none at the moment, is there table I can truncate?

Config: Repo: https://gitlab.com/LazyLibrarian/lazylibrarian : Branch: master : Updated: Wed Dec 1 21:05:54 2021 Current Version: c7ce74729e3072ee2eccaec98bb966666ea2a380 : Latest Version: c7ce74729e3072ee2eccaec98bb966666ea2a380

Log loops over many unrelated torrents and hashes like this:

2021-12-01 22:02:05 DEBUG POSTPROCESS qbittorrent.py _command 175 QBitTorrent webUI raised the following error: Not Found
2021-12-01 22:02:05 DEBUG POSTPROCESS qbittorrent.py _command 174 Failed URL: http://localhost:4545/api/v2/torrents/files?hash=332c56d47ac326c33a3faa8c52d413d00a31d96f
2021-12-01 22:02:03 DEBUG POSTPROCESS qbittorrent.py _command 175 QBitTorrent webUI raised the following error: Not Found
2021-12-01 22:02:03 DEBUG POSTPROCESS qbittorrent.py _command 174 Failed URL: http://localhost:4545/api/v2/torrents/files?hash=332c56d47ac326c33a3faa8c52d413d00a31d96f
2021-12-01 22:02:01 DEBUG POSTPROCESS qbittorrent.py _command 175 QBitTorrent webUI raised the following error: Not Found
2021-12-01 22:02:01 DEBUG POSTPROCESS qbittorrent.py _command 174 Failed URL: http://localhost:4545/api/v2/torrents/files?hash=332c56d47ac326c33a3faa8c52d413d00a31d96f
2021-12-01 22:01:59 DEBUG POSTPROCESS qbittorrent.py _command 175 QBitTorrent webUI raised the following error: Not Found
dsm1212 commented 2 years ago

Gaak, I'm sorry, I posted this on someone's fork. Closing.