Feramance / qBitrr

A simple Python script to talk to qBittorrent and Arr's
MIT License
61 stars 2 forks source link

Trying to figure what these errors mean ? #47

Closed wamak9 closed 5 months ago

wamak9 commented 6 months ago

so, I managed to make it work and add radarr and sonarr and qbit to the config file.

One thing I have issue with is there is nothing been done with the stalled torrents. there are not getting reported or researched again.

also, I see torrents are moving into completed. I want them to seed.

Is there any additional settings need to do for this ?

[2024-01-07 15:25:17] [pid:       1][tid:140084114054016] INFO    : qBitrr.Manager     : Current qBitTorrent version is supported: 4.6.2
[2024-01-07 15:25:17] [pid:       1][tid:140084114054016] HNOTICE : qBitrr.Sonarr-TV   : Starting Sonarr-TV monitor
[2024-01-07 15:25:18] [pid:       1][tid:140084114054016] HNOTICE : qBitrr.Radarr-1080 : Starting Radarr-1080 monitor
[2024-01-07 15:25:18] [pid:       1][tid:140084114054016] HNOTICE : qBitrr.Recheck     : Starting Recheck monitor
[2024-01-07 15:25:18] [pid:       1][tid:140084114054016] HNOTICE : qBitrr.Failed      : Starting Failed monitor
[2024-01-07 15:25:18] [pid:       8][tid:140084114054016] HNOTICE : qBitrr.Sonarr-TV   : Starting torrent monitoring for Sonarr-TV
[2024-01-07 15:25:18] [pid:      10][tid:140084114054016] HNOTICE : qBitrr.Radarr-1080 : Starting torrent monitoring for Radarr-1080
[2024-01-07 15:25:18] [pid:      11][tid:140084114054016] HNOTICE : qBitrr.Recheck     : Starting torrent monitoring for Recheck
[2024-01-07 15:25:18] [pid:      12][tid:140084114054016] HNOTICE : qBitrr.Failed      : Starting torrent monitoring for Failed
Feramance commented 6 months ago

Please set logging level to trace and let it run for 15 mins, then attach the logs of on of your Arr instances and also attach your config so I can check what's wrong. For the seeding issue, check your seeding configs and set all settings to -1 and also check qbittorrent

wamak9 commented 6 months ago

so, i see stalled ones are being removed and replaced but , still have the seeding issue. most of them are set to -1. But I will get back with the config.

wamak9 commented 6 months ago

quick update : so stalled downlaods working now(I did nothing apart from restarting the pods couple of times).

Few things, I noticed. If we enable search for special episode settings, seems like that is causing qbitrr to stuck in the search loop and it is never getting out of that loop. keeps looks for special episodes and ignores anything happening with radarr.

same wise versa as well for if happening on radarr then ignores sonarr.

Might be designed that way, but I am not sure.

This is the current error , I am seeing at the moment sometimes. Might help figure out what it is.

[2024-01-09 00:06:35] [pid: 10][tid:140440599772032] ERROR : qBitrr.Radarr-1080 : Resource not found Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/qBitrr/arss.py", line 2567, in process_torrents self.process() File "/usr/local/lib/python3.10/site-packages/qBitrr/arss.py", line 2539, in process self.all_folder_cleanup() File "/usr/local/lib/python3.10/site-packages/qBitrr/arss.py", line 2305, in all_folder_cleanup self.post_file_cleanup() File "/usr/local/lib/python3.10/site-packages/qBitrr/arss.py", line 2259, in post_file_cleanup self.folder_cleanup(downloads_id, file) File "/usr/local/lib/python3.10/site-packages/qBitrr/arss.py", line 2252, in folder_cleanup self.remove_and_maybe_blocklist(downloads_id, folder) File "/usr/local/lib/python3.10/site-packages/qBitrr/arss.py", line 2268, in remove_and_maybe_blocklist self.delete_from_queue(id_=downloads_id, blacklist=True) File "/usr/local/lib/python3.10/site-packages/qBitrr/arss.py", line 2182, in delete_from_queue res = self.client.del_queue(id_, remove_from_client, blacklist) File "/usr/local/lib/python3.10/site-packages/pyarr/base.py", line 505, in del_queue return self._delete(f"queue/{id_}", self.ver_uri, params=params) File "/usr/local/lib/python3.10/site-packages/pyarr/request_handler.py", line 193, in _delete response = _process_response(res) File "/usr/local/lib/python3.10/site-packages/pyarr/request_handler.py", line 244, in _process_response raise PyarrResourceNotFound("Resource not found") pyarr.exceptions.PyarrResourceNotFound: Resource not found

I will attach the config file. qbitrr_config.txt

Feramance commented 6 months ago

Are you on the latest version of qBitrr?

wamak9 commented 6 months ago

I am on truenas scale. I dont see the upgrade option yet for the latest release.

Screenshot 2024-01-09 at 9 23 05 AM
Feramance commented 6 months ago

I just had a look and got to talking with the truechart maintainers. You are currently on v3.8.12, I'll continue support once truecharts updates to v4.0.13 and let me know how it goes. I'll inform you of the update as soon as I know

wamak9 commented 6 months ago

thanks for looking into this @Feramance .

So, I do some restarts here and there and things come back to normal. so far I see everyting is working as expected. I will keep you posed on the issues if they come back again.

wamak9 commented 6 months ago

I got the update but I am at Name: qbitrr App Version: 4.0.11 Chart Version: 3.0.1

At the moment, this is what I see

[2024-01-09 20:01:59] [pid: 9][tid:140033180613504] ERROR : qBitrr.Radarr-1080 : 'builtin_function_or_method' object is not subscriptable Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/qBitrr/arss.py", line 2172, in db_update_single_series movieData = self.client.get_movie_by_movie_id(db_entry["id"]) TypeError: 'builtin_function_or_method' object is not subscriptable [2024-01-09 20:02:09] [pid: 9][tid:140033180613504] ERROR : qBitrr.Radarr-1080 : 'builtin_function_or_method' object is not subscriptable Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/qBitrr/arss.py", line 2172, in db_update_single_series movieData = self.client.get_movie_by_movie_id(db_entry["id"]) TypeError: 'builtin_function_or_method' object is not subscriptable [2024-01-09 20:02:09] [pid: 9][tid:140033180613504] ERROR : qBitrr.Radarr-1080 : 'builtin_function_or_method' object is not subscriptable Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/qBitrr/arss.py", line 2172, in db_update_single_series movieData = self.client.get_movie_by_movie_id(db_entry["id"]) TypeError: 'builtin_function_or_method' object is not subscriptable [2024-01-09 20:02:09] [pid: 9][tid:140033180613504] ERROR : qBitrr.Radarr-1080 : 'builtin_function_or_method' object is not subscriptable Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/qBitrr/arss.py", line 2172, in db_update_single_series movieData = self.client.get_movie_by_movie_id(db_entry["id"]) TypeError: 'builtin_function_or_method' object is not subscriptable [2024-01-09 20:02:09] [pid: 9][tid:140033180613504] ERROR : qBitrr.Radarr-1080 : 'builtin_function_or_method' object is not subscriptable Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/qBitrr/arss.py", line 2172, in db_update_single_series movieData = self.client.get_movie_by_movie_id(db_entry["id"]) TypeError: 'builtin_function_or_method' object is not subscriptable [2024-01-09 20:02:09] [pid: 9][tid:140033180613504] ERROR : qBitrr.Radarr-1080 : 'builtin_function_or_method' object is not subscriptable Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/qBitrr/arss.py", line 2172, in db_update_single_series movieData = self.client.get_movie_by_movie_id(db_entry["id"]) TypeError: 'builtin_function_or_method' object is not subscriptable

Feramance commented 6 months ago

This issue has been fixed as of v4.0.13 of qBitrr, please wait for an update

wamak9 commented 5 months ago

I see you pushed new update. Hopefully Truecharts will update them quicker.

wamak9 commented 5 months ago

@Feramance -- I am still waiting on the update. any idea why I am still not seeing it?

wamak9 commented 5 months ago

I got the new version and everythng looks good so far. Thank you so much for fixing.

Feramance commented 5 months ago

Glad to hear, feel free to open another issue if you encounter any other difficulties