I tried to look for a transmission thread in here but couldn't find it. I'm having various problems with transmission. I installed transmission-daemon-openssl, transmission-web, and luci-app-transmission.
I cannot find transmission anywhere in the processes. This despite transmission being in the startup Initscripts section of luci and also happens even when I'm downloading something. So transmission is obviously running but luci has no record of it. What gives?
I'm trying to load an old configuration file and have updated the luci-app-transmission interface with the path to the config directory, however transmission-daemon it is not reading that config directory with the config file in it. When I load the transmission-daemon -d from CLI it gives default config settings.
Thanks. After restart, logread | grep transmission shows nothing and ps does not show the transmission process being run at all. Before the restart, ps showed transmission being run from the correct config file, however the luci web interface processes was not showing transmission. Something is definitely wonky here.
[2018-08-07 18:27:44.847] Transmission 2.93 (3c5870d4f5) started (session.c:740)
[2018-08-07 18:27:44.847] Couldn't read "/etc/transmission/stats.json": No such file or directory (utils.c:238)
[2018-08-07 18:27:44.847] Couldn't read "/etc/transmission/stats.benc": No such file or directory (utils.c:238)
[2018-08-07 18:27:44.847] Cache Maximum cache size set to 2.00 MiB (128 blocks) (cache.c:261)
[2018-08-07 18:27:44.847] RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:971)
[2018-08-07 18:27:44.847] RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c:1213)
[2018-08-07 18:27:44.847] RPC Server Started listening on 0.0.0.0:9091 (rpc-server.c:853)
[2018-08-07 18:27:44.847] RPC Server Whitelist enabled (rpc-server.c:1217)
[2018-08-07 18:27:44.847] Bound socket 15 to port 51413 on 0.0.0.0 (net.c:388)
[2018-08-07 18:27:44.847] Bound socket 16 to port 51413 on :: (net.c:388)
[2018-08-07 18:27:44.847] DHT Initializing DHT (tr-dht.c:278)
[2018-08-07 18:27:44.847] Couldn't read "/etc/transmission/dht.dat": No such file or directory (utils.c:238)
[2018-08-07 18:27:44.847] DHT Generating new id (tr-dht.c:311)
[2018-08-07 18:27:44.847] DHT DHT initialized (tr-dht.c:332)
[2018-08-07 18:27:44.847] Using settings from "/etc/transmission" (daemon.c:528)
[2018-08-07 18:27:44.847] Couldn't read "/etc/transmission/settings.json": No such file or directory (utils.c:238)
[2018-08-07 18:27:44.847] Saved "/etc/transmission/settings.json" (variant.c:1266)
[2018-08-07 18:27:44.847] Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:70)
[2018-08-07 18:27:44.848] Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:70)
[2018-08-07 18:27:52.847] Port Forwarding (UPnP) UPNP_GetValidIGD failed (errno 0 - No error information) (upnp.c:239)
[2018-08-07 18:27:52.847] Port Forwarding (UPnP) If your router supports UPnP, please make sure UPnP is enabled! (upnp.c:242)
[2018-08-07 18:27:52.847] Port Forwarding Starting (port-forwarding.c:92)
[2018-08-07 18:28:36.847] DHT Attempting bootstrap from dht.transmissionbt.com (tr-dht.c:249)
[2018-08-07 18:29:52.847] Port Forwarding (NAT-PMP) readnatpmpresponseorretry failed. Natpmp returned -7 (the gateway does not support nat-pmp); errno is 11 (Resource temporarily unavailable) (natpmp.c:75)
[2018-08-07 18:29:52.848] Port Forwarding Starting (port-forwarding.c:92)
Whenever I try to load the old config path it actually loads successfully as well:
[2018-08-07 18:34:45.827] Transmission 2.93 (3c5870d4f5) started (session.c:740)
[2018-08-07 18:34:45.827] Cache Maximum cache size set to 2.00 MiB (128 blocks) (cache.c:261)
[2018-08-07 18:34:45.827] RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:971)
[2018-08-07 18:34:45.827] RPC Server Adding address to whitelist: 192.168.1.* (rpc-server.c:971)
[2018-08-07 18:34:45.827] RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:971)
[2018-08-07 18:34:45.827] RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c:1213)
[2018-08-07 18:34:45.827] RPC Server Started listening on 0.0.0.0:9091 (rpc-server.c:853)
[2018-08-07 18:34:45.827] RPC Server Password required (rpc-server.c:1220)
[2018-08-07 18:34:45.827] Bound socket 15 to port 51413 on 0.0.0.0 (net.c:388)
[2018-08-07 18:34:45.827] Bound socket 16 to port 51413 on :: (net.c:388)
[2018-08-07 18:34:45.827] DHT Initializing DHT (tr-dht.c:278)
[2018-08-07 18:34:45.827] DHT Reusing old id (tr-dht.c:307)
[2018-08-07 18:34:45.827] DHT Bootstrapping from 102 IPv4 nodes (tr-dht.c:156)
[2018-08-07 18:34:45.827] DHT DHT initialized (tr-dht.c:332)
[2018-08-07 18:34:45.827] Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:70)
[2018-08-07 18:34:45.827] Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:70)
[2018-08-07 18:34:45.827] Using settings from "/mnt/teratwo/Utilities/transmission" (daemon.c:528)
[2018-08-07 18:34:45.827] Saved "/mnt/teratwo/Utilities/transmission/settings.json" (variant.c:1266)
[2018-08-07 18:34:45.827] transmission-daemon requiring authentication (daemon.c:554)
[2018-08-07 18:34:45.827] Port Forwarding (UPnP) UPNP_GetValidIGD failed (errno 0 - No error information) (upnp.c:239)
[2018-08-07 18:34:45.827] Port Forwarding (UPnP) If your router supports UPnP, please make sure UPnP is enabled! (upnp.c:242)
[2018-08-07 18:34:45.827] Port Forwarding Starting (port-forwarding.c:92)
And all my files are resumed successfully as well. So I am convinced there is something wrong with the init.d script.
Hmm, question––how do I run transmission-daemon as the user transmission from the ssh root command line? I want to try that out to see if it's a permissions issue.
That fixed it! chown the transmission config folder to user transmission means transmission-daemon is running successfully on boot.
HOWEVER, I am still showing discrepancies between ps and the luci-app-processes. transmission does not show up in the web-ui process listing as running. Does anyone know why?