Opened 12 months ago

#3611 new bug

v2.1.1 not allowing new torrent to be saved

Reported by: snowboardjoe Owned by:
Priority: major Milestone: needs verified
Component: Web UI Version: 2.1.0
Keywords: Cc:

Description

Been having an issue since upgrading my container under unRAID to v2.1.1. Existing torrents are still seeding fine and I'm attached to VPN. However, adding a new torrent results in an error.

When I use the GUI to add a new URL, after several seconds I get an error dialog stating:

Error: Failed to download torrent.

When I go look at the logs for that event:

2023-10-24 08:11:02,291 DEBG 'watchdog-script' stderr output:

Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/twisted/web/_newclient.py", line 1043, in dispatcher
    return func(*args, **kwargs)
  File "/usr/lib/python3.11/site-packages/twisted/web/_newclient.py", line 1594, in _finishResponse_WAITING
    self._giveUp(Failure(reason))
  File "/usr/lib/python3.11/site-packages/twisted/web/_newclient.py", line 1644, in _giveUp
    self._disconnectParser(reason)
  File "/usr/lib/python3.11/site-packages/twisted/web/_newclient.py", line 1633, in _disconnectParser
    parser.connectionLost(reason)
--- <exception caught here> ---
  File "/usr/lib/python3.11/site-packages/twisted/web/_newclient.py", line 555, in connectionLost
    self.response._bodyDataFinished()
  File "/usr/lib/python3.11/site-packages/twisted/web/_newclient.py", line 1043, in dispatcher
    return func(*args, **kwargs)
  File "/usr/lib/python3.11/site-packages/twisted/web/_newclient.py", line 1283, in _bodyDataFinished_CONNECTED
    self._bodyProtocol.connectionLost(reason)
  File "/usr/lib/python3.11/site-packages/twisted/web/client.py", line 1432, in connectionLost
    self.original.connectionLost(reason)
  File "/usr/lib/python3.11/site-packages/deluge/httpdownloader.py", line 73, in connectionLost
    with open(self.agent.filename, 'wb') as _file:
builtins.IsADirectoryError: [Errno 21] Is a directory: '/tmp/delugeweb-35qtwxsc/'

When I login to the container, I see the directory there, but I don't understand what the problem is. Appears it's having some problem temporarily storing the torrent file for processing. Verified as root in the container I can create, save and delete file there.

drwx------ 1 nobody users    0 Oct 22 20:06 delugeweb-0mcyk1et
drwx------ 1 nobody users    0 Oct 22 20:05 delugeweb-1p815gjl
drwx------ 1 nobody users    0 Oct 24 08:10 delugeweb-35qtwxsc
drwx------ 1 nobody users    0 Oct 23 19:40 delugeweb-79lq129d
drwx------ 1 nobody users    0 Oct 24 07:53 delugeweb-dj16w15o
drwx------ 1 nobody users    0 Oct 23 19:39 delugeweb-lojv_rhe
drwx------ 1 nobody users    0 Oct 22 20:15 delugeweb-wa68rbic
drwx------ 1 nobody users    0 Oct 22 20:08 delugeweb-wb6i4q_0
drwx------ 1 nobody users    0 Oct 22 20:05 delugeweb-z71r_x_h
-rw-rw-rw- 1 root   root   946 Oct 24 07:52 getiptables
-rw-rw-rw- 1 root   root    15 Oct 24 07:52 getvpnextip
-rw------- 1 root   root     0 Oct 24 07:52 start-script-stderr---supervisor-103gox7r.log
-rw------- 1 root   root  6709 Oct 24 07:52 start-script-stdout---supervisor-os2w54_4.log
-rw-rw-rw- 1 root   root     1 Oct 24 07:52 vpngatewayip
-rw-rw-rw- 1 root   root     9 Oct 24 07:52 vpnip
-rw------- 1 root   root  1439 Oct 24 08:11 watchdog-script-stderr---supervisor-fvik9bvx.log
-rw------- 1 root   root  1195 Oct 24 07:52 watchdog-script-stdout---supervisor-vae16oh4.log

Change History (0)

Note: See TracTickets for help on using tickets.