Torrents added by watchdir or remote cli do not download - added via remote UI do

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
lowest
Posts: 4
Joined: Tue Aug 28, 2018 7:10 am

Torrents added by watchdir or remote cli do not download - added via remote UI do

Post by lowest »

Hi all,

I recently rebuilt my Transmission service as part of a move from FreeNAS. Since then, downloading via watchdir and remote cli both fail.

I'm running Transmission daemon 2.94 on Ubuntu 16.04. I installed from the PPA. I'm using Transmission Remote GUI on a mac installed from homebrew along with this. The daemon is running as the debian-transmission user.

My watchdir (/var/tmp/torrentwatch) is owned by debian-transmission:debian-transmission and when I copy files into that location as that user, they appear in the Transmission Remote GUI list of torrents. The destination directory is also owned by debian-transmission:debian-transmission.

There are no errors, and a number of peers are listed, but it stays in Downloading status and never downloads any content. I have the same result if instead of using the watchdir, I upload with

Code: Select all

transmission-remote 127.0.0.1:9001 -a /path/to/torrent
If instead, I add that torrent via the Transmission Remote GUI (with the same destination folder), it goes into a Verify state, then shortly after that to a Downloading state and downloads with no issues.

Any idea how I can get the watchdir and remote working again as I use this along with flexget. What logs would be helpful to post here for further debugging ?

Thanks!
lowest
Posts: 4
Joined: Tue Aug 28, 2018 7:10 am

Re: Torrents added by watchdir or remote cli do not download - added via remote UI do

Post by lowest »

Here's a sample log file of a failure with a clean start (no existing torrents or resume dir):

Code: Select all

[2018-08-29 20:12:32.129] Transmission 2.94 (d8e60ee44f) started (session.c:740)
[2018-08-29 20:12:32.129] Cache Maximum cache size set to 64.00 MiB (4096 blocks) (cache.c:261)
[2018-08-29 20:12:32.129] RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c:1213)
[2018-08-29 20:12:32.129] RPC Server Started listening on 0.0.0.0:9091 (rpc-server.c:853)
[2018-08-29 20:12:32.129] RPC Server Whitelist enabled (rpc-server.c:1217)
[2018-08-29 20:12:32.129] Bound socket 17 to port 51418 on x.x.x.x (net.c:388)
[2018-08-29 20:12:32.129] Bound socket 18 to port 51418 on :: (net.c:388)
[2018-08-29 20:12:32.129] Port Forwarding Stopped (port-forwarding.c:180)
[2018-08-29 20:12:32.129] UDP Failed to set receive buffer: requested 4194304, got 425984 (tr-udp.c:84)
[2018-08-29 20:12:32.129] UDP Please add the line "net.core.rmem_max = 4194304" to /etc/sysctl.conf (tr-udp.c:89)
[2018-08-29 20:12:32.129] UDP Failed to set send buffer: requested 1048576, got 425984 (tr-udp.c:95)
[2018-08-29 20:12:32.129] UDP Please add the line "net.core.wmem_max = 1048576" to /etc/sysctl.conf (tr-udp.c:100)
[2018-08-29 20:12:32.129] DHT Initializing DHT (tr-dht.c:278)
[2018-08-29 20:12:32.129] Couldn't read "/transmission-daemon/dht.dat": No such file or directory (utils.c:238)
[2018-08-29 20:12:32.129] DHT Generating new id (tr-dht.c:311)
[2018-08-29 20:12:32.129] DHT DHT initialized (tr-dht.c:332)
[2018-08-29 20:12:32.129] Using settings from "/transmission-daemon" (daemon.c:528)
[2018-08-29 20:12:32.129] Saved "/transmission-daemon/settings.json" (variant.c:1266)
[2018-08-29 20:12:32.129] Watching "/torrentwatch" for new .torrent files (daemon.c:573)
[2018-08-29 20:12:32.129] watchdir Callback decided to ignore file "[censored].torrent.added" (watchdir.c:111)
[2018-08-29 20:12:32.129] watchdir Callback decided to ignore file "[censored].torrent.added" (watchdir.c:111)
[2018-08-29 20:12:36.129] watchdir Callback decided to retry file "[censored].torrent" (watchdir.c:111)
[2018-08-29 20:12:36.129] watchdir Callback decided to retry file "[censored].torrent" (watchdir.c:111)
[2018-08-29 20:12:37.129] Couldn't read "/transmission-daemon/resume/[censored].resume": No such file or directory (utils.c:238)
[2018-08-29 20:12:37.129] [censored] Couldn't read "/transmission-daemon/resume/[censored].resume": No such f
ile or directory (resume.c:718)
[2018-08-29 20:12:37.129] Saved "/transmission-daemon/torrents/[censored].torrent" (variant.c:1266)
[2018-08-29 20:12:37.129] Parsing .torrent file successful "[censored].torrent" (daemon.c:213)
[2018-08-29 20:12:37.129] [censored] Queued for verification (verify.c:269)
[2018-08-29 20:12:37.129] watchdir Callback decided to accept file "[censored].torrent" (watchdir.c:111)
[2018-08-29 20:12:37.129] [censored] Verifying torrent (verify.c:224)
[2018-08-29 20:12:37.129] [censored] verifying torrent... (verify.c:62)
[2018-08-29 20:12:37.129] Couldn't read "/transmission-daemon/resume/[censored].resume": No such file or directory (utils.c:238)
[2018-08-29 20:12:37.129] [censored] Couldn't read "/transmission-daemon/resume/[censored].resume": No such file or directory (resume.c:718)
[2018-08-29 20:12:37.129] Saved "/transmission-daemon/torrents/[censored].torrent" (variant.c:1266)
[2018-08-29 20:12:37.129] Parsing .torrent file successful "[censored].torrent" (daemon.c:213)
[2018-08-29 20:12:37.129] [censored] Queued for verification (verify.c:269)
[2018-08-29 20:12:37.129] watchdir Callback decided to accept file "[censored].torrent" (watchdir.c:111)
[2018-08-29 20:12:37.129] watchdir Callback decided to ignore file "[censored].torrent.added" (watchdir.c:111)
[2018-08-29 20:12:37.129] watchdir Callback decided to ignore file "[censored].torrent.added" (watchdir.c:111)
[2018-08-29 20:12:37.129] [censored] Verification is done. It took 0 seconds to verify 8298295132 bytes (8298295132 bytes per second) (verify.c:167)
[2018-08-29 20:12:37.129] [censored] Verifying torrent (verify.c:224)
[2018-08-29 20:12:37.129] [censored] verifying torrent... (verify.c:62)
[2018-08-29 20:12:37.129] [censored] Verification is done. It took 0 seconds to verify 7129229302 bytes (7129229302 bytes per second) (verify.c:167)
[2018-08-29 20:12:37.129] [censored] Announcing to tracker (announcer.c:1554)
[2018-08-29 20:12:37.129] [censored] Announcing to tracker (announcer.c:1554)
[2018-08-29 20:12:38.164] [censored] Got 37 peers from tracker (torrent.c:565)
[2018-08-29 20:12:38.164] [censored] Announce response contained scrape info; rescheduling next scrape to 1800 seconds from now. (announcer.c:1152)
[2018-08-29 20:12:38.164] [censored] Got 39 peers from tracker (torrent.c:565)
[2018-08-29 20:12:38.164] [censored] Announce response contained scrape info; rescheduling next scrape to 1800 seconds from now. (announcer.c:1152)
lowest
Posts: 4
Joined: Tue Aug 28, 2018 7:10 am

Re: Torrents added by watchdir or remote cli do not download - added via remote UI do

Post by lowest »

And here's where it's added manually by dragging it to the torrent remote GUI and Just Works(tm)

Code: Select all

[2018-08-29 20:46:59.130] Couldn't read "/transmission-daemon/resume/[censored].resume": No such file or directory (utils.c:238)
[2018-08-29 20:46:59.130] [censored] Couldn't read "/transmission-daemon/resume/[censored].resume": No such file or directory (resume.c:718)
[2018-08-29 20:46:59.130] Saved "/transmission-daemon/torrents/[censored].torrent" (variant.c:1266)
[2018-08-29 20:46:59.130] [censored] Queued for verification (verify.c:269)
[2018-08-29 20:46:59.130] [censored] Verifying torrent (verify.c:224)
[2018-08-29 20:46:59.130] [censored] verifying torrent... (verify.c:62)
[2018-08-29 20:46:59.130] [censored] Verification is done. It took 0 seconds to verify 7129229302 bytes (7129229302 bytes per second) (verify.c:167)
[2018-08-29 20:47:04.131] [censored] Removing torrent (torrent.c:1915)
[2018-08-29 20:47:04.131] [censored] Pausing (torrent.c:1856)
[2018-08-29 20:47:04.131] Couldn't read "/transmission-daemon/resume/[censored].resume": No such file or directory (utils.c:238)
[2018-08-29 20:47:04.131] [censored] Couldn't read "/transmission-daemon/resume/[censored].resume": No such file or directory (resume.c:718)
[2018-08-29 20:47:04.131] Saved "/transmission-daemon/torrents/[censored].torrent" (variant.c:1266)
[2018-08-29 20:47:04.131] [censored] Queued for verification (verify.c:269)
[2018-08-29 20:47:04.131] [censored] Verifying torrent (verify.c:224)
[2018-08-29 20:47:04.131] [censored] verifying torrent... (verify.c:62)
[2018-08-29 20:47:04.131] [censored] Verification is done. It took 0 seconds to verify 7129229302 bytes (7129229302 bytes per second) (verify.c:167)
[2018-08-29 20:47:05.154] [censored] Announcing to tracker (announcer.c:1554)
[2018-08-29 20:47:05.154] [censored] Got 37 peers from tracker (torrent.c:565)
[2018-08-29 20:47:05.154] [censored] Announce response contained scrape info; rescheduling next scrape to 1800 seconds from now. (announcer.c:1152)
[2018-08-29 20:47:07.149] SO_SNDBUF size is 16384 (fdlimit.c:541)
[2018-08-29 20:47:07.149] SO_RCVBUF size is 87380 (fdlimit.c:543)
[2018-08-29 20:47:20.130] [censored] [LAZY] checking just-completed piece 996 (torrent.c:3318)
[2018-08-29 20:47:21.153] [censored] [LAZY] checking just-completed piece 2981 (torrent.c:3318)
[2018-08-29 20:47:21.153] [censored] [LAZY] checking just-completed piece 2513 (torrent.c:3318)
[2018-08-29 20:47:22.165] [censored] [LAZY] checking just-completed piece 4966 (torrent.c:3318)
[2018-08-29 20:47:23.169] [censored] [LAZY] checking just-completed piece 1517 (torrent.c:3318)
[2018-08-29 20:47:34.131] [censored] [LAZY] checking just-completed piece 6041 (torrent.c:3318)
[2018-08-29 20:47:37.131] [censored] [LAZY] checking just-completed piece 1561 (torrent.c:3318)
Velfess
Posts: 1
Joined: Sun Jan 03, 2021 7:32 pm

Re: Torrents added by watchdir or remote cli do not download - added via remote UI do

Post by Velfess »

Got similar problem.
Ran apt-upgrade on my Raspberry Pi, rebooted and Transmission daemon is starting up empty. The thing is I've been seeding 2000+ torrents so manually adding them all would take a lot of time. Transmission logs:

Code: Select all

[2021-01-03 21:26:23.262] Cache Maximum cache size set to 4.00 MiB (256 blocks) (cache.c:261)
[2021-01-03 21:26:23.262] RPC Server Adding address to whitelist: 192.168.*.* (rpc-server.c:971)
[2021-01-03 21:26:23.262] RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c:1213)
[2021-01-03 21:26:23.262] RPC Server Started listening on 0.0.0.0:9091 (rpc-server.c:853)
[2021-01-03 21:26:23.262] RPC Server Whitelist enabled (rpc-server.c:1217)
[2021-01-03 21:26:23.262] RPC Server Password required (rpc-server.c:1220)
[2021-01-03 21:26:23.262] Bound socket 16 to port 30256 on 0.0.0.0 (net.c:388)
[2021-01-03 21:26:23.262] Bound socket 17 to port 30256 on :: (net.c:388)
[2021-01-03 21:26:23.262] Port Forwarding Stopped (port-forwarding.c:180)
[2021-01-03 21:26:23.262] DHT Initializing DHT (tr-dht.c:278)
[2021-01-03 21:26:23.262] DHT Reusing old id (tr-dht.c:307)
[2021-01-03 21:26:23.262] DHT DHT initialized (tr-dht.c:332)
[2021-01-03 21:26:23.262] DHT Bootstrapping from 139 IPv4 nodes (tr-dht.c:156)
[2021-01-03 21:26:23.262] Using settings from "/var/lib/transmission-daemon/.config/transmission-daemon" (daemon.c:528)
[2021-01-03 21:26:23.262] Saved "/etc/transmission-daemon/settings.json" (variant.c:1274)
[2021-01-03 21:26:23.262] transmission-daemon requiring authentication (daemon.c:554)
[2021-01-03 21:26:23.262] Watching "/home/[censored]/ssd/torrents/[censored]/watch" for new .torrent files (daemon.c:573)
[2021-01-03 21:26:23.262] watchdir Callback decided to ignore file "[censored].torrent.added" (watchdir.c:111)
[2021-01-03 21:26:23.262] watchdir Callback decided to ignore file "[censored].torrent.added" (watchdir.c:111)
[2021-01-03 21:26:23.262] watchdir Callback decided to ignore file "[censored].torrent.added" (watchdir.c:111)
.....
All my 2000+ torrent files are ignored, but none of them appear in Web-UI also. Any advice how to make previously shown torrents appear again, or force-add torrents from watch folder?


EDIT:
Imported thousands of torrents via WebUI - everything works for now. Strange that those exact files were ignored in watch_folder.
Post Reply