Torrent Completion Scripts won't run on QNAP Transmission

Discussion of Transmission that doesn't fit in the other categories
Post Reply
phifer
Posts: 16
Joined: Thu Jan 22, 2015 3:43 pm

Torrent Completion Scripts won't run on QNAP Transmission

Post by phifer »

I am having issues running the run_scripts.sh or any other script to run after a torrent is done. Does this script start immediately after completing the download or does it begin after the file has been seeded?

I have added my filebot script testing it, but the script never runs after a download completes.

"script-torrent-done-filename": "/share/CACHEDEV1_DATA/.qpkg/Transmission/scripts/run_scripts.sh",

I have added the script to my PATH, I can run the script manually from any location. I have uninstalled and re-installed transmission. I have restarted transmission. I have checked the permissions. I have rebooted my NAS. Any other thoughts?
phifer
Posts: 16
Joined: Thu Jan 22, 2015 3:43 pm

Re: Torrent Completion Scripts won't run on QNAP Transmissio

Post by phifer »

x190 wrote:
I have checked the permissions.
...for all directories in the path?

Make sure scripts are enabled.
https://trac.transmissionbt.com/wiki/EditConfigFiles
script-torrent-done-enabled: Boolean (default = false) Run a script at torrent completion.

Ensure your script is executable. If it still doesn't work, check the filebot forum and post the script, if you can.
Does this script start immediately after completing the download
Yes.
1. Yes for all directories in the path. I did a chmod for the entire path.
2. Scripts are enabled
3. Since I added the script to the PATH I can run the script manually and it has no problem then.
4. I did a re-install and have not even added my script to the default run_scripts.sh and it does not even run when a download is completed.

Any other thoughts?
phifer
Posts: 16
Joined: Thu Jan 22, 2015 3:43 pm

Re: Torrent Completion Scripts won't run on QNAP Transmissio

Post by phifer »

ok, I am a linux newb, but not new to computers in general. I have never messed with setting up a daemon log but I did these things. Please let me kow if I am on the right path.

Code: Select all

$ killall -HUP transmission-da
transmission-daemon -e --logfile /share/homes/admin/bin.translog.txt
and I changed the settings.json

Code: Select all

"message-level": 3, 
I do not see a log file in the directory I specified.
phifer
Posts: 16
Joined: Thu Jan 22, 2015 3:43 pm

Re: Torrent Completion Scripts won't run on QNAP Transmissio

Post by phifer »

Thank you. I see the log now. Does it continue to update the text file or do I have to run the --logfile command to dump the log into the text document?
phifer
Posts: 16
Joined: Thu Jan 22, 2015 3:43 pm

Re: Torrent Completion Scripts won't run on QNAP Transmissio

Post by phifer »

I have had several downloads finish since starting the log and it has not updated not mentioned anything else other than listed below.
[2015-01-23 18:29:48.602 AST] Transmission 2.84 (14307) started (session.c:736)
[2015-01-23 18:29:48.602 AST] RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:824)
[2015-01-23 18:29:48.602 AST] RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c:1033)
[2015-01-23 18:29:48.602 AST] RPC Server Whitelist enabled (rpc-server.c:1037)
[2015-01-23 18:29:48.602 AST] Couldn't bind port 51413 on 0.0.0.0: Address already in use (Is another copy of Transmission already running?) (net.c:371)
[2015-01-23 18:29:48.602 AST] UDP Couldn't bind IPv4 socket (tr-udp.c:263)
[2015-01-23 18:29:48.602 AST] DHT Generating new id (tr-dht.c:310)
[2015-01-23 18:29:48.602 AST] Using settings from "/root/.config/transmission-daemon" (daemon.c:557)
[2015-01-23 18:29:48.602 AST] Saved "/root/.config/transmission-daemon/settings.json" (variant.c:1214)
[2015-01-23 18:29:48.602 AST] Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:70)
[2015-01-23 18:29:48.602 AST] Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:70)
[2015-01-23 18:29:50.603 AST] Port Forwarding (UPnP) Found Internet Gateway Device "http://192.168.137.1:2869/upnphost/udhi ... WANIPConn1" (upnp.c:223)
[2015-01-23 18:29:50.603 AST] Port Forwarding (UPnP) Local Address is "192.168.137.22" (upnp.c:225)
[2015-01-23 18:29:50.603 AST] Port Forwarding (UPnP) Port forwarding through "http://192.168.137.1:2869/upnphost/udhi ... WANIPConn1", service "urn:schemas-upnp-org:service:WANIPConnection:1". (local address: 192.168.137.22:51413) (upnp.c:300)
[2015-01-23 18:29:50.603 AST] Port Forwarding State changed from "Not forwarded" to "Starting" (port-forwarding.c:92)
phifer
Posts: 16
Joined: Thu Jan 22, 2015 3:43 pm

Re: Torrent Completion Scripts won't run on QNAP Transmissio

Post by phifer »

I am unaware where the settings.json is located. I access it from the web interface for my QNAP NAS. /root/.config/ is not a valid directory.

I have not run any other commands. I have downloaded the same 3mb file several times for testing. I also have a rar file in the folder since the script should decompress the file in the folder.


Edit: settings.json is in /share/CACHEDEV1_DATA/.qpkg/Transmission/conf/


I add torents using the Remote GUI
phifer
Posts: 16
Joined: Thu Jan 22, 2015 3:43 pm

Re: Torrent Completion Scripts won't run on QNAP Transmissio

Post by phifer »

Code: Select all

transmission-daemon -f --logfile /share/homes/admin/bin.translog.txt
ran this command. It is displayed and then nothing.
Last edited by phifer on Fri Jan 23, 2015 5:13 pm, edited 1 time in total.
phifer
Posts: 16
Joined: Thu Jan 22, 2015 3:43 pm

Re: Torrent Completion Scripts won't run on QNAP Transmissio

Post by phifer »

Code: Select all

transmission-daemon -f --log-debug
This has some info showing on the screen, but nothing about running any script.

Mostly about port forwarding.
phifer
Posts: 16
Joined: Thu Jan 22, 2015 3:43 pm

Re: Torrent Completion Scripts won't run on QNAP Transmissio

Post by phifer »

So I have been to the page that you linked, but what questions are you referring to? That is where I found what the -f and used --log-debug from.
phifer
Posts: 16
Joined: Thu Jan 22, 2015 3:43 pm

Re: Torrent Completion Scripts won't run on QNAP Transmissio

Post by phifer »

phifer wrote:I add torents using the Remote GUI
I use the windows remote and also the web interface. Both have the same results.
The log has more info in it now, but I have added and completed many torrents and nothing in the log about them.

Code: Select all

[2015-01-23 19:10:00.529 AST] Transmission 2.84 (14307) started (session.c:736)
[2015-01-23 19:10:00.529 AST] RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:824)
[2015-01-23 19:10:00.529 AST] RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c:1033)
[2015-01-23 19:10:00.529 AST] RPC Server Whitelist enabled (rpc-server.c:1037)
[2015-01-23 19:10:00.529 AST] Couldn't bind port 51413 on 0.0.0.0: Address already in use (Is another copy of Transmission already running?) (net.c:371)
[2015-01-23 19:10:00.529 AST] UDP Couldn't bind IPv4 socket (tr-udp.c:263)
[2015-01-23 19:10:00.529 AST] DHT Generating new id (tr-dht.c:310)
[2015-01-23 19:10:00.529 AST] Using settings from "/root/.config/transmission-daemon" (daemon.c:557)
[2015-01-23 19:10:00.529 AST] Saved "/root/.config/transmission-daemon/settings.json" (variant.c:1214)
[2015-01-23 19:10:00.529 AST] Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:70)
[2015-01-23 19:10:00.529 AST] Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:70)
[2015-01-23 19:10:03.529 AST] Port Forwarding (UPnP) Found Internet Gateway Device "http://192.168.137.1:2869/upnphost/udhisapi.dll?control=uuid:bea43060-ad59-4806-adb4-8eb7df3fabdc+urn:upnp-org:serviceId:WANIPConn1" (upnp.c:223)
[2015-01-23 19:10:03.529 AST] Port Forwarding (UPnP) Local Address is "192.168.137.22" (upnp.c:225)
[2015-01-23 19:10:03.529 AST] Port Forwarding (UPnP) Port forwarding through "http://192.168.137.1:2869/upnphost/udhisapi.dll?control=uuid:bea43060-ad59-4806-adb4-8eb7df3fabdc+urn:upnp-org:serviceId:WANIPConn1", service "urn:schemas-upnp-org:service:WANIPConnection:1". (local address: 192.168.137.22:51413) (upnp.c:300)
[2015-01-23 19:10:03.529 AST] Port Forwarding State changed from "Not forwarded" to "Starting" (port-forwarding.c:92)
[2015-01-23 19:12:08.529 AST] Port Forwarding State changed from "Starting" to "???" (port-forwarding.c:92)
[2015-01-23 19:12:27.067 AST] Transmission 2.84 (14307) started (session.c:736)
[2015-01-23 19:12:27.067 AST] RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:824)
[2015-01-23 19:12:27.067 AST] RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c:1033)
[2015-01-23 19:12:27.067 AST] RPC Server Whitelist enabled (rpc-server.c:1037)
[2015-01-23 19:12:27.067 AST] Couldn't bind port 51413 on 0.0.0.0: Address already in use (Is another copy of Transmission already running?) (net.c:371)
[2015-01-23 19:12:27.067 AST] UDP Couldn't bind IPv4 socket (tr-udp.c:263)
[2015-01-23 19:12:27.067 AST] DHT Generating new id (tr-dht.c:310)
[2015-01-23 19:12:27.067 AST] Using settings from "/root/.config/transmission-daemon" (daemon.c:557)
[2015-01-23 19:12:27.067 AST] Saved "/root/.config/transmission-daemon/settings.json" (variant.c:1214)
[2015-01-23 19:12:27.067 AST] Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:70)
[2015-01-23 19:12:27.067 AST] Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:70)
[2015-01-23 19:12:30.067 AST] Port Forwarding (UPnP) Found Internet Gateway Device "http://192.168.137.1:2869/upnphost/udhisapi.dll?control=uuid:bea43060-ad59-4806-adb4-8eb7df3fabdc+urn:upnp-org:serviceId:WANIPConn1" (upnp.c:223)
[2015-01-23 19:12:30.067 AST] Port Forwarding (UPnP) Local Address is "192.168.137.22" (upnp.c:225)
[2015-01-23 19:12:30.067 AST] Port Forwarding (UPnP) Port forwarding through "http://192.168.137.1:2869/upnphost/udhisapi.dll?control=uuid:bea43060-ad59-4806-adb4-8eb7df3fabdc+urn:upnp-org:serviceId:WANIPConn1", service "urn:schemas-upnp-org:service:WANIPConnection:1". (local address: 192.168.137.22:51413) (upnp.c:300)
[2015-01-23 19:12:30.067 AST] Port Forwarding State changed from "Not forwarded" to "Starting" (port-forwarding.c:92)
[2015-01-23 19:14:35.067 AST] Port Forwarding State changed from "Starting" to "???" (port-forwarding.c:92)
[2015-01-23 19:30:19.846 AST] Transmission 2.84 (14307) started (session.c:736)
[2015-01-23 19:30:19.846 AST] RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:824)
[2015-01-23 19:30:19.846 AST] RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c:1033)
[2015-01-23 19:30:19.846 AST] RPC Server Whitelist enabled (rpc-server.c:1037)
[2015-01-23 19:30:19.846 AST] Couldn't bind port 51413 on 0.0.0.0: Address already in use (Is another copy of Transmission already running?) (net.c:371)
[2015-01-23 19:30:19.846 AST] UDP Couldn't bind IPv4 socket (tr-udp.c:263)
[2015-01-23 19:30:19.846 AST] DHT Generating new id (tr-dht.c:310)
[2015-01-23 19:30:19.846 AST] Using settings from "/root/.config/transmission-daemon" (daemon.c:557)
[2015-01-23 19:30:19.846 AST] Saved "/root/.config/transmission-daemon/settings.json" (variant.c:1214)
[2015-01-23 19:30:19.846 AST] Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:70)
[2015-01-23 19:30:19.846 AST] Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:70)
[2015-01-23 19:30:23.848 AST] Port Forwarding State changed from "Not forwarded" to "Starting" (port-forwarding.c:92)
[2015-01-23 19:32:27.848 AST] Port Forwarding State changed from "Starting" to "???" (port-forwarding.c:92)
[2015-01-23 19:43:25.647 AST] Transmission 2.84 (14307) started (session.c:736)
[2015-01-23 19:43:25.647 AST] RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:824)
[2015-01-23 19:43:25.647 AST] RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c:1033)
[2015-01-23 19:43:25.647 AST] RPC Server Whitelist enabled (rpc-server.c:1037)
[2015-01-23 19:43:25.647 AST] Couldn't bind port 51413 on 0.0.0.0: Address already in use (Is another copy of Transmission already running?) (net.c:371)
[2015-01-23 19:43:25.647 AST] UDP Couldn't bind IPv4 socket (tr-udp.c:263)
[2015-01-23 19:43:25.647 AST] DHT Generating new id (tr-dht.c:310)
[2015-01-23 19:43:25.647 AST] Using settings from "/root/.config/transmission-daemon" (daemon.c:557)
[2015-01-23 19:43:25.647 AST] Saved "/root/.config/transmission-daemon/settings.json" (variant.c:1214)
[2015-01-23 19:43:25.647 AST] Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:70)
[2015-01-23 19:43:25.647 AST] Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:70)
[2015-01-23 19:43:28.647 AST] Port Forwarding (UPnP) Found Internet Gateway Device "http://192.168.137.1:2869/upnphost/udhisapi.dll?control=uuid:dbec1408-3684-4fc6-9882-ee585fc8fe27+urn:upnp-org:serviceId:WANIPConn1" (upnp.c:223)
[2015-01-23 19:43:28.647 AST] Port Forwarding (UPnP) Local Address is "192.168.137.22" (upnp.c:225)
[2015-01-23 19:43:28.647 AST] Port Forwarding (UPnP) Port forwarding through "http://192.168.137.1:2869/upnphost/udhisapi.dll?control=uuid:dbec1408-3684-4fc6-9882-ee585fc8fe27+urn:upnp-org:serviceId:WANIPConn1", service "urn:schemas-upnp-org:service:WANIPConnection:1". (local address: 192.168.137.22:51413) (upnp.c:300)
[2015-01-23 19:43:28.647 AST] Port Forwarding State changed from "Not forwarded" to "Starting" (port-forwarding.c:92)
[2015-01-23 19:45:33.647 AST] Port Forwarding State changed from "Starting" to "???" (port-forwarding.c:92)
[2015-01-23 19:48:19.070 AST] Transmission 2.84 (14307) started (session.c:736)
[2015-01-23 19:48:19.070 AST] RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:824)
[2015-01-23 19:48:19.070 AST] RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c:1033)
[2015-01-23 19:48:19.070 AST] RPC Server Whitelist enabled (rpc-server.c:1037)
[2015-01-23 19:48:19.070 AST] Couldn't bind port 51413 on 0.0.0.0: Address already in use (Is another copy of Transmission already running?) (net.c:371)
[2015-01-23 19:48:19.070 AST] UDP Couldn't bind IPv4 socket (tr-udp.c:263)
[2015-01-23 19:48:19.070 AST] DHT Generating new id (tr-dht.c:310)
[2015-01-23 19:48:19.070 AST] Using settings from "/root/.config/transmission-daemon" (daemon.c:557)
[2015-01-23 19:48:19.070 AST] Saved "/root/.config/transmission-daemon/settings.json" (variant.c:1214)
[2015-01-23 19:48:19.070 AST] Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:70)
[2015-01-23 19:48:19.070 AST] Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:70)
[2015-01-23 19:48:22.070 AST] Port Forwarding (UPnP) Found Internet Gateway Device "http://192.168.137.1:2869/upnphost/udhisapi.dll?control=uuid:dbec1408-3684-4fc6-9882-ee585fc8fe27+urn:upnp-org:serviceId:WANIPConn1" (upnp.c:223)
[2015-01-23 19:48:22.070 AST] Port Forwarding (UPnP) Local Address is "192.168.137.22" (upnp.c:225)
[2015-01-23 19:48:22.070 AST] Port Forwarding (UPnP) Port forwarding through "http://192.168.137.1:2869/upnphost/udhisapi.dll?control=uuid:dbec1408-3684-4fc6-9882-ee585fc8fe27+urn:upnp-org:serviceId:WANIPConn1", service "urn:schemas-upnp-org:service:WANIPConnection:1". (local address: 192.168.137.22:51413) (upnp.c:300)
[2015-01-23 19:48:22.070 AST] Port Forwarding State changed from "Not forwarded" to "Starting" (port-forwarding.c:92)
[2015-01-23 19:50:12.899 AST] Transmission 2.84 (14307) started (session.c:736)
[2015-01-23 19:50:12.899 AST] RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:824)
[2015-01-23 19:50:12.899 AST] RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c:1033)
[2015-01-23 19:50:12.899 AST] RPC Server Whitelist enabled (rpc-server.c:1037)
[2015-01-23 19:50:12.899 AST] Couldn't bind port 51413 on 0.0.0.0: Address already in use (Is another copy of Transmission already running?) (net.c:371)
[2015-01-23 19:50:12.899 AST] UDP Couldn't bind IPv4 socket (tr-udp.c:263)
[2015-01-23 19:50:12.899 AST] DHT Generating new id (tr-dht.c:310)
[2015-01-23 19:50:12.899 AST] Using settings from "/root/.config/transmission-daemon" (daemon.c:557)
[2015-01-23 19:50:12.900 AST] Saved "/root/.config/transmission-daemon/settings.json" (variant.c:1214)
[2015-01-23 19:50:12.900 AST] Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:70)
[2015-01-23 19:50:12.900 AST] Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:70)
[2015-01-23 19:50:15.899 AST] Port Forwarding (UPnP) Found Internet Gateway Device "http://192.168.137.1:2869/upnphost/udhisapi.dll?control=uuid:dbec1408-3684-4fc6-9882-ee585fc8fe27+urn:upnp-org:serviceId:WANIPConn1" (upnp.c:223)
[2015-01-23 19:50:15.899 AST] Port Forwarding (UPnP) Local Address is "192.168.137.22" (upnp.c:225)
[2015-01-23 19:50:15.899 AST] Port Forwarding (UPnP) Port forwarding through "http://192.168.137.1:2869/upnphost/udhisapi.dll?control=uuid:dbec1408-3684-4fc6-9882-ee585fc8fe27+urn:upnp-org:serviceId:WANIPConn1", service "urn:schemas-upnp-org:service:WANIPConnection:1". (local address: 192.168.137.22:51413) (upnp.c:300)
[2015-01-23 19:50:15.899 AST] Port Forwarding State changed from "Not forwarded" to "Starting" (port-forwarding.c:92)
[2015-01-23 19:52:20.900 AST] Port Forwarding State changed from "Starting" to "???" (port-forwarding.c:92)
[2015-01-23 20:05:54.838 AST] Port Forwarding State changed from "Starting" to "???" (port-forwarding.c:92)
[2015-01-23 20:05:54.838 AST] Saved "/root/.config/transmission-daemon/settings.json" (variant.c:1214)
[2015-01-23 20:05:54.838 AST] DHT Not saving nodes, DHT not ready (tr-dht.c:358)
[2015-01-23 20:05:54.838 AST] Port Forwarding Stopped (port-forwarding.c:180)
[2015-01-23 20:05:54.838 AST] Saved "/root/.config/transmission-daemon/settings.json" (variant.c:1214)
[2015-01-23 20:05:54.838 AST] DHT Not saving nodes, DHT not ready (tr-dht.c:358)
[2015-01-23 20:05:54.838 AST] Port Forwarding Stopped (port-forwarding.c:180)
[2015-01-24 14:12:54.868 AST] Transmission 2.84 (14307) started (session.c:736)
[2015-01-24 14:12:54.868 AST] RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:824)
[2015-01-24 14:12:54.868 AST] RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c:1033)
[2015-01-24 14:12:54.868 AST] RPC Server Password required (rpc-server.c:1040)
[2015-01-24 14:12:54.868 AST] Couldn't bind port 51413 on 0.0.0.0: Address already in use (Is another copy of Transmission already running?) (net.c:371)
[2015-01-24 14:12:54.868 AST] UDP Couldn't bind IPv4 socket (tr-udp.c:263)
[2015-01-24 14:12:54.868 AST] DHT Generating new id (tr-dht.c:310)
[2015-01-24 14:12:54.868 AST] Using settings from "/share/CACHEDEV1_DATA/.qpkg/Transmission/conf/" (daemon.c:557)
[2015-01-24 14:12:54.868 AST] Saved "/share/CACHEDEV1_DATA/.qpkg/Transmission/conf/settings.json" (variant.c:1214)
[2015-01-24 14:12:54.868 AST] transmission-daemon requiring authentication (daemon.c:577)
[2015-01-24 14:12:54.868 AST] Watching "/share/CACHEDEV1_DATA/Download/transmission/watch" for new .torrent files (daemon.c:595)
[2015-01-24 14:12:54.868 AST] Using inotify to watch directory "/share/CACHEDEV1_DATA/Download/transmission/watch" (watch.c:72)
[2015-01-24 14:12:54.868 AST] Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:70)
[2015-01-24 14:12:54.868 AST] Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:70)
[2015-01-24 14:12:56.869 AST] Port Forwarding (UPnP) Found Internet Gateway Device "http://192.168.137.1:2869/upnphost/udhisapi.dll?control=uuid:cdc3f13d-1512-44ec-b182-f134d6f7eb7c+urn:upnp-org:serviceId:WANIPConn1" (upnp.c:223)
[2015-01-24 14:12:56.869 AST] Port Forwarding (UPnP) Local Address is "192.168.137.22" (upnp.c:225)
[2015-01-24 14:12:56.869 AST] Port Forwarding (UPnP) Port forwarding through "http://192.168.137.1:2869/upnphost/udhisapi.dll?control=uuid:cdc3f13d-1512-44ec-b182-f134d6f7eb7c+urn:upnp-org:serviceId:WANIPConn1", service "urn:schemas-upnp-org:service:WANIPConnection:1". (local address: 192.168.137.22:51413) (upnp.c:300)
[2015-01-24 14:12:56.869 AST] Port Forwarding State changed from "Not forwarded" to "Starting" (port-forwarding.c:92)
phifer
Posts: 16
Joined: Thu Jan 22, 2015 3:43 pm

Re: Torrent Completion Scripts won't run on QNAP Transmissio

Post by phifer »

Log is 300+ lines, but still nothing about the script starting.
phifer
Posts: 16
Joined: Thu Jan 22, 2015 3:43 pm

Re: Torrent Completion Scripts won't run on QNAP Transmissio

Post by phifer »

I managed to break the web interface and the torrents were no longer downloading. I just did an uninstall and going to re-install.

After re-install the web interface was working again.

Code: Select all

killall transmission-daemon
transmission-daemon -g /share/CACHEDEV1_DATA/.qpkg/Transmission/conf/ --logfile /share/homes/admin/bin/translog.txt
Web interface no longer works again. it shows the older interface but does not work.
phifer
Posts: 16
Joined: Thu Jan 22, 2015 3:43 pm

Re: Torrent Completion Scripts won't run on QNAP Transmissio

Post by phifer »

after another re-install and setup I have gotten this far.

Code: Select all

[2015-01-24 21:28:02.418 AST] The 4000 English Words Essential for an Educated Vocabulary moving "/share/CACHEDEV1_DATA/Download/transmission/incomplete/The 4000 English Words Essential for an Educated Vocabulary/VISIT ME ON FACEBOOK.txt" to "/share/CACHEDEV1_DATA/Download/transmission/completed/The 4000 English Words Essential for an Educated Vocabulary/VISIT ME ON FACEBOOK.txt" (torrent.c:3094)
[2015-01-24 21:28:02.418 AST] The 4000 English Words Essential for an Educated Vocabulary Calling script "/share/CACHEDEV1_DATA/.qpkg/Transmission/scripts/run_scripts.sh" (torrent.c:2119)
[2015-01-24 21:28:02.418 AST] The 4000 English Words Essential for an Educated Vocabulary Could not connect to tracker (announcer.c:996)
Even when the script ran it was supposed to unzip any file inside the completed folder, but it did noting.
phifer
Posts: 16
Joined: Thu Jan 22, 2015 3:43 pm

Re: Torrent Completion Scripts won't run on QNAP Transmissio

Post by phifer »

I am on this site, QNAP, and the Filebot site but I really think it is a Transmission problem. The run_scripts.sh is the stock script that is installed and runs the unrar/unzip commands once a download is completed, but not even that works out of the box. I have changed it to my script which is TransScript.sh and after restarting Transmission it calls this script now but nothing ever happens.

I can run the script manually when in the folder by inputting ./TransScript.sh or if I am not in the folder I can input /share/homes/admin/bin/TransScript.sh

When I run the script manually it completes fine and even after running it puts a log in my multimedia folder. That is how I am tracking if it runs. I just delete that file and hope it shows back up a minute or so after the download completes because it is completed in about 15 seconds when I do it manually.
phifer
Posts: 16
Joined: Thu Jan 22, 2015 3:43 pm

Re: Torrent Completion Scripts won't run on QNAP Transmissio

Post by phifer »

x190 wrote:The Transmission Project does not supply any scripts, nor is it responsible for what QNAP bundles with their product.

viewtopic.php?f=4&t=15700&hilit=filebot&start=30#p67725

Edit paths as required to suit your configuration.
Thanks. If I ever get it running I will post my solution.
Post Reply