After upgrade transmission torrent client not working. Reinstalled again according to the openwrt transmission wiki guide but still not working. Also there is a weird situation on screenshot.
Where did I go wrong?
frollic
September 12, 2022, 7:25am
2
I assume you've enabled it in the config file ?
frollic
September 12, 2022, 9:49am
4
works for me
7321 root 2160 SN {transmission} /sbin/ujail -t 5 -n transmission -S /etc/seccomp/transmission-daemon.json -U transmission -G transmission -l -e CURL_CA_BUNDLE -r /etc/ssl/cer
7331 transmis 3156 SN /usr/bin/transmission-daemon -f -g /tmp/transmission
root@OpenWrt:/tmp# ls -l /tmp/transmission/
drwxr-xr-x 2 transmis transmis 40 Sep 12 09:47 blocklists
drwxr-xr-x 2 transmis transmis 40 Sep 12 09:47 done
drwxr-xr-x 2 transmis transmis 40 Sep 12 09:47 incomplete
drwxr-xr-x 2 transmis transmis 40 Sep 12 09:47 resume
-rw-r--r-- 1 transmis transmis 1827 Sep 12 09:47 settings.json
-rw-r--r-- 1 transmis transmis 0 Sep 12 09:47 stats.json
drwxr-xr-x 2 transmis transmis 40 Sep 12 09:47 torrents
root@OpenWrt:/tmp# service transmission status
running
root@OpenWrt:/tmp# service
....
/etc/init.d/transmission enabled running
1 Like
I've got fresh install 22.03 and problem solved.
dino
September 15, 2022, 4:02am
6
A fresh install of 22.03 did not fix the issue for me. By commenting out the jail_mount lines in the init.d/transmission as discussed in the thread below it is now working but this is not a long term solution.
opened 09:44AM - 22 Jan 22 UTC
Description:
After I change my router deviece frome Netgear R8000 to NanoPi R4s… , the transmission can't work well. Although I keep all the config files, resume files , and torrents files, the USB disks are mouted as the same path(such as /mnt/sda1/PT), I still get "no data found" error. I have set "chown -R transmission:transmission /mnt ". I have tried to re-add the torrents, but the torrents can't be verified. I found the log as below:
```
Sat Jan 22 17:22:45 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:22:45.788] Couldn't read "/mnt/sdb1/transmission/.config/resume/06ac4f76228a1af72939992062675f11e861cb37.resume": No such file or directory (utils.c:263)
Sat Jan 22 17:22:45 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:22:45.788] 06ac4f76228a1af72939992062675f11e861cb37 Couldn't read "/mnt/sdb1/transmission/.config/resume/06ac4f76228a1af72939992062675f11e861cb37.resume": No such file or directory (resume.c:813)
Sat Jan 22 17:22:45 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:22:45.788] Couldn't read "/mnt/sdb1/transmission/.config/resume/06ac4f76228a1af72939992062675f11e861cb37.06ac4f76228a1af7.resume": No such file or directory (utils.c:263)
Sat Jan 22 17:22:45 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:22:45.789] 06ac4f76228a1af72939992062675f11e861cb37 Couldn't read "/mnt/sdb1/transmission/.config/resume/06ac4f76228a1af72939992062675f11e861cb37.06ac4f76228a1af7.resume" either: No such file or directory (resume.c:820)
Sat Jan 22 17:22:45 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:22:45.789] Saved "/mnt/sdb1/transmission/.config/torrents/06ac4f76228a1af72939992062675f11e861cb37.torrent" (variant.c:1221)
Sat Jan 22 17:22:45 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:22:45.789] 06ac4f76228a1af72939992062675f11e861cb37 Queued for verification (verify.c:272)
Sat Jan 22 17:22:45 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:22:45.789] 06ac4f76228a1af72939992062675f11e861cb37 Verifying torrent (verify.c:220)
Sat Jan 22 17:22:45 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:22:45.789] 06ac4f76228a1af72939992062675f11e861cb37 verifying torrent... (verify.c:52)
Sat Jan 22 17:22:45 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:22:45.789] 06ac4f76228a1af72939992062675f11e861cb37 Verification is done. It took 0 seconds to verify 0 bytes (0 bytes per second) (verify.c:161)
Sat Jan 22 17:22:53 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:22:53.786] 06ac4f76228a1af72939992062675f11e861cb37 Removing torrent (torrent.c:2078)
Sat Jan 22 17:22:53 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:22:53.786] 06ac4f76228a1af72939992062675f11e861cb37 Pausing (torrent.c:2022)
Sat Jan 22 17:25:25 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:25:25.790] Couldn't read "/mnt/sdb1/transmission/.config/resume/06ac4f76228a1af72939992062675f11e861cb37.resume": No such file or directory (utils.c:263)
Sat Jan 22 17:25:25 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:25:25.790] The.Nun.2018.BluRay.1080p.AVC.Atmos.TrueHD7.1-MTeam Couldn't read "/mnt/sdb1/transmission/.config/resume/06ac4f76228a1af72939992062675f11e861cb37.resume": No such file or directory (resume.c:813)
Sat Jan 22 17:25:25 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:25:25.790] Couldn't read "/mnt/sdb1/transmission/.config/resume/The.Nun.2018.BluRay.1080p.AVC.Atmos.TrueHD7.1-MTeam.06ac4f76228a1af7.resume": No such file or directory (utils.c:263)
Sat Jan 22 17:25:25 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:25:25.791] The.Nun.2018.BluRay.1080p.AVC.Atmos.TrueHD7.1-MTeam Couldn't read "/mnt/sdb1/transmission/.config/resume/The.Nun.2018.BluRay.1080p.AVC.Atmos.TrueHD7.1-MTeam.06ac4f76228a1af7.resume" either: No such file or directory (resume.c:820)
Sat Jan 22 17:25:25 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:25:25.791] Saved "/mnt/sdb1/transmission/.config/torrents/06ac4f76228a1af72939992062675f11e861cb37.torrent" (variant.c:1221)
Sat Jan 22 17:25:25 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:25:25.791] The.Nun.2018.BluRay.1080p.AVC.Atmos.TrueHD7.1-MTeam Queued for verification (verify.c:272)
Sat Jan 22 17:25:25 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:25:25.791] The.Nun.2018.BluRay.1080p.AVC.Atmos.TrueHD7.1-MTeam Verifying torrent (verify.c:220)
Sat Jan 22 17:25:25 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:25:25.791] The.Nun.2018.BluRay.1080p.AVC.Atmos.TrueHD7.1-MTeam verifying torrent... (verify.c:52)
Sat Jan 22 17:25:25 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:25:25.792] The.Nun.2018.BluRay.1080p.AVC.Atmos.TrueHD7.1-MTeam Verification is done. It took 1 seconds to verify 31968460800 bytes (15984230400 bytes per second) (verify.c:161)
Sat Jan 22 17:26:00 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:26:00.788] web will verify tracker certs using envvar CURL_CA_BUNDLE: /etc/ssl/certs/ca-certificates.crt (web.c:455)
Sat Jan 22 17:26:00 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:26:00.789] web NB: this only works if you built against libcurl with openssl or gnutls, NOT nss (web.c:457)
Sat Jan 22 17:26:00 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:26:00.789] web NB: invalid certs will show up as 'Could not connect to tracker' like many other errors (web.c:458)
Sat Jan 22 17:26:00 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:26:00.789] Saved "/mnt/sdb1/transmission/.config/resume/06ac4f76228a1af72939992062675f11e861cb37.resume" (variant.c:1221)
Sat Jan 22 17:26:02 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:26:02.789] The.Nun.2018.BluRay.1080p.AVC.Atmos.TrueHD7.1-MTeam Scrape successful. Rescraping in 1800 seconds. (announcer.c:1486)
Sat Jan 22 17:27:38 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:27:38.777] The.Nun.2018.BluRay.1080p.AVC.Atmos.TrueHD7.1-MTeam Queued for verification (verify.c:272)
Sat Jan 22 17:27:38 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:27:38.778] The.Nun.2018.BluRay.1080p.AVC.Atmos.TrueHD7.1-MTeam Verifying torrent (verify.c:220)
Sat Jan 22 17:27:38 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:27:38.778] The.Nun.2018.BluRay.1080p.AVC.Atmos.TrueHD7.1-MTeam verifying torrent... (verify.c:52)
Sat Jan 22 17:27:38 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:27:38.779] The.Nun.2018.BluRay.1080p.AVC.Atmos.TrueHD7.1-MTeam Verification is done. It took 0 seconds to verify 31968460800 bytes (31968460800 bytes per second) (verify.c:161)
Sat Jan 22 17:32:52 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:32:52.777] The.Nun.2018.BluRay.1080p.AVC.Atmos.TrueHD7.1-MTeam Queued for verification (verify.c:272)
Sat Jan 22 17:32:52 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:32:52.778] The.Nun.2018.BluRay.1080p.AVC.Atmos.TrueHD7.1-MTeam Verifying torrent (verify.c:220)
Sat Jan 22 17:32:52 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:32:52.778] The.Nun.2018.BluRay.1080p.AVC.Atmos.TrueHD7.1-MTeam verifying torrent... (verify.c:52)
Sat Jan 22 17:32:52 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:32:52.778] The.Nun.2018.BluRay.1080p.AVC.Atmos.TrueHD7.1-MTeam Verification is done. It took 0 seconds to verify 31968460800 bytes (31968460800 bytes per second) (verify.c:161)
Sat Jan 22 17:40:39 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:40:39.787] The.Nun.2018.BluRay.1080p.AVC.Atmos.TrueHD7.1-MTeam Queued for verification (verify.c:272)
Sat Jan 22 17:40:39 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:40:39.787] The.Nun.2018.BluRay.1080p.AVC.Atmos.TrueHD7.1-MTeam Verifying torrent (verify.c:220)
Sat Jan 22 17:40:39 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:40:39.788] The.Nun.2018.BluRay.1080p.AVC.Atmos.TrueHD7.1-MTeam verifying torrent... (verify.c:52)
Sat Jan 22 17:40:39 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:40:39.788] The.Nun.2018.BluRay.1080p.AVC.Atmos.TrueHD7.1-MTeam Verification is done. It took 0 seconds to verify 31968460800 bytes (31968460800 bytes per second) (verify.c:161)
Sat Jan 22 17:44:59 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:44:59.789] The.Nun.2018.BluRay.1080p.AVC.Atmos.TrueHD7.1-MTeam Queued for verification (verify.c:272)
Sat Jan 22 17:44:59 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:44:59.789] The.Nun.2018.BluRay.1080p.AVC.Atmos.TrueHD7.1-MTeam Verifying torrent (verify.c:220)
Sat Jan 22 17:44:59 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:44:59.789] The.Nun.2018.BluRay.1080p.AVC.Atmos.TrueHD7.1-MTeam verifying torrent... (verify.c:52)
Sat Jan 22 17:44:59 2022 daemon.err transmission-daemon[16398]: [2022-01-22 09:44:59.789] The.Nun.2018.BluRay.1080p.AVC.Atmos.TrueHD7.1-MTeam Verification is done. It took 0 seconds to verify 31968460800 bytes (31968460800 bytes per second) (verify.c:161)
1 Like
idarek
September 15, 2022, 7:10pm
7
Sadly, commenting jail doesn't work for me. Even that Transmission will run, it crashes when trying to download anything.
Same problem started to happen to me.
idarek
September 17, 2022, 4:23pm
9
I need to correct myself. Commenting from the init file working. It didn't work initially but I forget to comment seccomp
as well. Refer to below:
opened 07:24PM - 15 Sep 22 UTC
`<package-name>: transmission-daemon`
OpenWrt 22.03.0
Askey RT4230W REV6 / R… AC2V1K
# Issue
```
Couldn't save file "/tmp/transmission/settings.json": Resource busy (variant.c:1226)
```
When starting daemon.
Removing `procd-ujail` from the system fixes it temporarily but when added torrent to download it crashes daemon and autostarts it on its own.
Hashing `jail` part from init script also result same issue of crashing daemon.
Removing package and reinstalling, enabling in config and starting `/etc/init.d/transmission start` result following in `logread`
```
daemon.err transmission-daemon[16422]: [2022-09-15 19:28:11.861] Couldn't save temporary file "/tmp/transmission/settings.json.tmp.XXXXXX": Permission denied (variant.c:1235)
```
Changing in settings user and group to root
```
option user 'root'
option group 'root'
```
result in
```
Thu Sep 15 19:30:00 2022 daemon.err transmission-daemon[16779]: [2022-09-15 19:30:00.803] Couldn't save file "/tmp/transmission/settings.json": Resource busy (variant.c:1226)
```
The only solution that still working is to comment `jail` and `seccomp` from transmission init file like described [here](https://github.com/openwrt/packages/issues/17674)
## Temporary solution
```
# seccomp_path="/etc/seccomp/transmission-daemon.json"
# if [ -f "$seccomp_path" ]; then
# procd_set_param seccomp "$seccomp_path"
# fi
if [ -z "$USE" ]; then
procd_set_param limits core="0 0"
else
procd_set_param limits core="0 0" as="$USE $USE"
logger -t transmission "Starting with $USE virt mem"
fi
[ -d "$web_home" ] && procd_set_param env TRANSMISSION_WEB_HOME="$web_home"
[ "$ca_bundle" -gt 0 ] && procd_set_param env CURL_CA_BUNDLE="$ca_bundle_file"
# procd_add_jail transmission log
# procd_add_jail_mount "$config_file"
# procd_add_jail_mount_rw "$config_dir/resume"
# procd_add_jail_mount_rw "$config_dir/torrents"
# procd_add_jail_mount_rw "$config_dir/blocklists"
# procd_add_jail_mount_rw "$config_dir/stats.json"
# procd_add_jail_mount_rw "$download_dir"
web_home="${web_home:-/usr/share/transmission/web}"
# [ -d "$web_home" ] && procd_add_jail_mount "$web_home"
# [ -f "$ca_bundle_file" ] && procd_add_jail_mount "$ca_bundle_file"
procd_close_instance
}
```
Hello partners! Excuse my bad English, I updated to the same version of openwrt that they mention and the download program does not work. I get the following result
403: Forbidden
Unauthorized IP Address.
Either disable the IP address whitelist or add your address to it.
If you're editing settings.json, see the 'rpc-whitelist' and 'rpc-whitelist-enabled' entries.
If you're still using ACLs, use a whitelist instead. See the transmission-daemon manpage for details.
I upgraded 22.03.3. Transmission not working again. Same problem at first message but this time I couldn't find a solution.