qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
28.03k stars 3.96k forks source link

Run external program when torrent finished not working #19502

Open Bagh33r4 opened 1 year ago

Bagh33r4 commented 1 year ago

qBittorrent & operating system versions

qBittorrent: 4.4.1 Operating system: Ubuntu 22.04.3 LTS Qt: ?? libtorrent-rasterbar: ??

What is the problem?

Program never runs.

Steps to reproduce

I have this in the run external program box: /media/storage2tb/data/bagheera/files/scan.sh No mater if the progress reaches 100% or the torrent status turn complete my script never runs. It should even leave the terminal open waiting for input so I cant miss it but it never runs and the script never runs. When i input the same line in a terminal it works fine and script runs. sudo not needed. Permission r and x is open for all users all the way to the path, still not working.

Additional context

What is the definition of complete torrent? Does it need to stop seeding? Is there something else then the path needed to make the program run?

Log(s) & preferences file(s)

No response

thalieht commented 1 year ago

qBittorrent: 4.4.1

4.5.4 is latest.

Bagh33r4 commented 1 year ago

"apt-get upgrade qbittorrent" says "qbittorrent is already the newest version (4.4.1-2)."

Bagh33r4 commented 1 year ago

Was finally able to update to v4.5.4 going to test and see if it works

Bagh33r4 commented 1 year ago

Still not working, same issues, script never runs.

glassez commented 1 year ago

Still not working, same issues, script never runs.

Is there something related in the log?

Bagh33r4 commented 1 year ago

no, just permission issues

(W) 2023-08-26T21:53:27 - Filfelvarning. Torrent: "The.Simpsons.S00-19.MiXeD.XviD-TeamMTT". Fil: "/media/storage2tb/data/bagheera/files/Torrent/Downloading/The.Simpsons.S00-19.MiXeD.XviD-TeamMTT/The.Simpsons.S08.DVDRip.XviD-TOPAZ/The.Simpsons.S08E25.INTERNAL.DVDRip.XviD-TOPAZ.avi". Orsak: "The.Simpsons.S00-19.MiXeD.XviD-TeamMTT file_open (/media/storage2tb/data/bagheera/files/Torrent/Downloading/The.Simpsons.S00-19.MiXeD.XviD-TeamMTT/The.Simpsons.S08.DVDRip.XviD-TOPAZ/The.Simpsons.S08E25.INTERNAL.DVDRip.XviD-TOPAZ.avi) error: Permission denied"
(W) 2023-08-26T21:53:43 - Filfelvarning. Torrent: "Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264". Fil: "/media/storage2tb/data/bagheera/files/Torrent/Done/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264.mkv". Orsak: "Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264 file_open (/media/storage2tb/data/bagheera/files/Torrent/Done/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264.mkv) error: Permission denied"
(W) 2023-08-26T22:03:27 - Filfelvarning. Torrent: "The.Simpsons.S00-19.MiXeD.XviD-TeamMTT". Fil: "/media/storage2tb/data/bagheera/files/Torrent/Downloading/The.Simpsons.S00-19.MiXeD.XviD-TeamMTT/The.Simpsons.S08.DVDRip.XviD-TOPAZ/The.Simpsons.S08E25.INTERNAL.DVDRip.XviD-TOPAZ.avi". Orsak: "The.Simpsons.S00-19.MiXeD.XviD-TeamMTT file_open (/media/storage2tb/data/bagheera/files/Torrent/Downloading/The.Simpsons.S00-19.MiXeD.XviD-TeamMTT/The.Simpsons.S08.DVDRip.XviD-TOPAZ/The.Simpsons.S08E25.INTERNAL.DVDRip.XviD-TOPAZ.avi) error: Permission denied"
(W) 2023-08-26T22:03:43 - Filfelvarning. Torrent: "Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264". Fil: "/media/storage2tb/data/bagheera/files/Torrent/Done/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264.mkv". Orsak: "Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264 file_open (/media/storage2tb/data/bagheera/files/Torrent/Done/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264.mkv) error: Permission denied"
(W) 2023-08-26T22:13:28 - Filfelvarning. Torrent: "The.Simpsons.S00-19.MiXeD.XviD-TeamMTT". Fil: "/media/storage2tb/data/bagheera/files/Torrent/Downloading/The.Simpsons.S00-19.MiXeD.XviD-TeamMTT/The.Simpsons.S08.DVDRip.XviD-TOPAZ/The.Simpsons.S08E25.INTERNAL.DVDRip.XviD-TOPAZ.avi". Orsak: "The.Simpsons.S00-19.MiXeD.XviD-TeamMTT file_open (/media/storage2tb/data/bagheera/files/Torrent/Downloading/The.Simpsons.S00-19.MiXeD.XviD-TeamMTT/The.Simpsons.S08.DVDRip.XviD-TOPAZ/The.Simpsons.S08E25.INTERNAL.DVDRip.XviD-TOPAZ.avi) error: Permission denied"
(W) 2023-08-26T22:13:44 - Filfelvarning. Torrent: "Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264". Fil: "/media/storage2tb/data/bagheera/files/Torrent/Done/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264.mkv". Orsak: "Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264 file_open (/media/storage2tb/data/bagheera/files/Torrent/Done/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264.mkv) error: Permission denied"
(W) 2023-08-26T22:23:28 - Filfelvarning. Torrent: "The.Simpsons.S00-19.MiXeD.XviD-TeamMTT". Fil: "/media/storage2tb/data/bagheera/files/Torrent/Downloading/The.Simpsons.S00-19.MiXeD.XviD-TeamMTT/The.Simpsons.S08.DVDRip.XviD-TOPAZ/The.Simpsons.S08E25.INTERNAL.DVDRip.XviD-TOPAZ.avi". Orsak: "The.Simpsons.S00-19.MiXeD.XviD-TeamMTT file_open (/media/storage2tb/data/bagheera/files/Torrent/Downloading/The.Simpsons.S00-19.MiXeD.XviD-TeamMTT/The.Simpsons.S08.DVDRip.XviD-TOPAZ/The.Simpsons.S08E25.INTERNAL.DVDRip.XviD-TOPAZ.avi) error: Permission denied"
(W) 2023-08-26T22:23:50 - Filfelvarning. Torrent: "Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264". Fil: "/media/storage2tb/data/bagheera/files/Torrent/Done/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264.mkv". Orsak: "Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264 file_open (/media/storage2tb/data/bagheera/files/Torrent/Done/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264.mkv) error: Permission denied"
(W) 2023-08-26T22:33:28 - Filfelvarning. Torrent: "The.Simpsons.S00-19.MiXeD.XviD-TeamMTT". Fil: "/media/storage2tb/data/bagheera/files/Torrent/Downloading/The.Simpsons.S00-19.MiXeD.XviD-TeamMTT/The.Simpsons.S08.DVDRip.XviD-TOPAZ/The.Simpsons.S08E25.INTERNAL.DVDRip.XviD-TOPAZ.avi". Orsak: "The.Simpsons.S00-19.MiXeD.XviD-TeamMTT file_open (/media/storage2tb/data/bagheera/files/Torrent/Downloading/The.Simpsons.S00-19.MiXeD.XviD-TeamMTT/The.Simpsons.S08.DVDRip.XviD-TOPAZ/The.Simpsons.S08E25.INTERNAL.DVDRip.XviD-TOPAZ.avi) error: Permission denied"
(W) 2023-08-26T22:33:50 - Filfelvarning. Torrent: "Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264". Fil: "/media/storage2tb/data/bagheera/files/Torrent/Done/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264.mkv". Orsak: "Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264 file_open (/media/storage2tb/data/bagheera/files/Torrent/Done/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264.mkv) error: Permission denied"
(W) 2023-08-26T22:43:28 - Filfelvarning. Torrent: "The.Simpsons.S00-19.MiXeD.XviD-TeamMTT". Fil: "/media/storage2tb/data/bagheera/files/Torrent/Downloading/The.Simpsons.S00-19.MiXeD.XviD-TeamMTT/The.Simpsons.S08.DVDRip.XviD-TOPAZ/The.Simpsons.S08E25.INTERNAL.DVDRip.XviD-TOPAZ.avi". Orsak: "The.Simpsons.S00-19.MiXeD.XviD-TeamMTT file_open (/media/storage2tb/data/bagheera/files/Torrent/Downloading/The.Simpsons.S00-19.MiXeD.XviD-TeamMTT/The.Simpsons.S08.DVDRip.XviD-TOPAZ/The.Simpsons.S08E25.INTERNAL.DVDRip.XviD-TOPAZ.avi) error: Permission denied"
(W) 2023-08-26T22:43:50 - Filfelvarning. Torrent: "Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264". Fil: "/media/storage2tb/data/bagheera/files/Torrent/Done/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264.mkv". Orsak: "Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264 file_open (/media/storage2tb/data/bagheera/files/Torrent/Done/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264.mkv) error: Permission denied"
(W) 2023-08-26T22:53:29 - Filfelvarning. Torrent: "The.Simpsons.S00-19.MiXeD.XviD-TeamMTT". Fil: "/media/storage2tb/data/bagheera/files/Torrent/Downloading/The.Simpsons.S00-19.MiXeD.XviD-TeamMTT/The.Simpsons.S08.DVDRip.XviD-TOPAZ/The.Simpsons.S08E25.INTERNAL.DVDRip.XviD-TOPAZ.avi". Orsak: "The.Simpsons.S00-19.MiXeD.XviD-TeamMTT file_open (/media/storage2tb/data/bagheera/files/Torrent/Downloading/The.Simpsons.S00-19.MiXeD.XviD-TeamMTT/The.Simpsons.S08.DVDRip.XviD-TOPAZ/The.Simpsons.S08E25.INTERNAL.DVDRip.XviD-TOPAZ.avi) error: Permission denied"
(W) 2023-08-26T22:53:51 - Filfelvarning. Torrent: "Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264". Fil: "/media/storage2tb/data/bagheera/files/Torrent/Done/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264.mkv". Orsak: "Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264 file_open (/media/storage2tb/data/bagheera/files/Torrent/Done/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264.mkv) error: Permission denied"
(W) 2023-08-26T23:03:29 - Filfelvarning. Torrent: "The.Simpsons.S00-19.MiXeD.XviD-TeamMTT". Fil: "/media/storage2tb/data/bagheera/files/Torrent/Downloading/The.Simpsons.S00-19.MiXeD.XviD-TeamMTT/The.Simpsons.S08.DVDRip.XviD-TOPAZ/The.Simpsons.S08E25.INTERNAL.DVDRip.XviD-TOPAZ.avi". Orsak: "The.Simpsons.S00-19.MiXeD.XviD-TeamMTT file_open (/media/storage2tb/data/bagheera/files/Torrent/Downloading/The.Simpsons.S00-19.MiXeD.XviD-TeamMTT/The.Simpsons.S08.DVDRip.XviD-TOPAZ/The.Simpsons.S08E25.INTERNAL.DVDRip.XviD-TOPAZ.avi) error: Permission denied"
(W) 2023-08-26T23:03:51 - Filfelvarning. Torrent: "Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264". Fil: "/media/storage2tb/data/bagheera/files/Torrent/Done/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264.mkv". Orsak: "Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264 file_open (/media/storage2tb/data/bagheera/files/Torrent/Done/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264.mkv) error: Permission denied"
(W) 2023-08-26T23:13:29 - Filfelvarning. Torrent: "The.Simpsons.S00-19.MiXeD.XviD-TeamMTT". Fil: "/media/storage2tb/data/bagheera/files/Torrent/Downloading/The.Simpsons.S00-19.MiXeD.XviD-TeamMTT/The.Simpsons.S08.DVDRip.XviD-TOPAZ/The.Simpsons.S08E25.INTERNAL.DVDRip.XviD-TOPAZ.avi". Orsak: "The.Simpsons.S00-19.MiXeD.XviD-TeamMTT file_open (/media/storage2tb/data/bagheera/files/Torrent/Downloading/The.Simpsons.S00-19.MiXeD.XviD-TeamMTT/The.Simpsons.S08.DVDRip.XviD-TOPAZ/The.Simpsons.S08E25.INTERNAL.DVDRip.XviD-TOPAZ.avi) error: Permission denied"
(W) 2023-08-26T23:13:51 - Filfelvarning. Torrent: "Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264". Fil: "/media/storage2tb/data/bagheera/files/Torrent/Done/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264.mkv". Orsak: "Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264 file_open (/media/storage2tb/data/bagheera/files/Torrent/Done/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264.mkv) error: Permission denied"
(W) 2023-08-26T23:23:29 - Filfelvarning. Torrent: "The.Simpsons.S00-19.MiXeD.XviD-TeamMTT". Fil: "/media/storage2tb/data/bagheera/files/Torrent/Downloading/The.Simpsons.S00-19.MiXeD.XviD-TeamMTT/The.Simpsons.S08.DVDRip.XviD-TOPAZ/The.Simpsons.S08E25.INTERNAL.DVDRip.XviD-TOPAZ.avi". Orsak: "The.Simpsons.S00-19.MiXeD.XviD-TeamMTT file_open (/media/storage2tb/data/bagheera/files/Torrent/Downloading/The.Simpsons.S00-19.MiXeD.XviD-TeamMTT/The.Simpsons.S08.DVDRip.XviD-TOPAZ/The.Simpsons.S08E25.INTERNAL.DVDRip.XviD-TOPAZ.avi) error: Permission denied"
(W) 2023-08-26T23:23:51 - Filfelvarning. Torrent: "Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264". Fil: "/media/storage2tb/data/bagheera/files/Torrent/Done/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264.mkv". Orsak: "Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264 file_open (/media/storage2tb/data/bagheera/files/Torrent/Done/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264.mkv) error: Permission denied"
(W) 2023-08-26T23:33:29 - Filfelvarning. Torrent: "The.Simpsons.S00-19.MiXeD.XviD-TeamMTT". Fil: "/media/storage2tb/data/bagheera/files/Torrent/Downloading/The.Simpsons.S00-19.MiXeD.XviD-TeamMTT/The.Simpsons.S08.DVDRip.XviD-TOPAZ/The.Simpsons.S08E25.INTERNAL.DVDRip.XviD-TOPAZ.avi". Orsak: "The.Simpsons.S00-19.MiXeD.XviD-TeamMTT file_open (/media/storage2tb/data/bagheera/files/Torrent/Downloading/The.Simpsons.S00-19.MiXeD.XviD-TeamMTT/The.Simpsons.S08.DVDRip.XviD-TOPAZ/The.Simpsons.S08E25.INTERNAL.DVDRip.XviD-TOPAZ.avi) error: Permission denied"
(W) 2023-08-26T23:33:51 - Filfelvarning. Torrent: "Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264". Fil: "/media/storage2tb/data/bagheera/files/Torrent/Done/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264.mkv". Orsak: "Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264 file_open (/media/storage2tb/data/bagheera/files/Torrent/Done/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264.mkv) error: Permission denied"
(W) 2023-08-26T23:43:29 - Filfelvarning. Torrent: "The.Simpsons.S00-19.MiXeD.XviD-TeamMTT". Fil: "/media/storage2tb/data/bagheera/files/Torrent/Downloading/The.Simpsons.S00-19.MiXeD.XviD-TeamMTT/The.Simpsons.S08.DVDRip.XviD-TOPAZ/The.Simpsons.S08E25.INTERNAL.DVDRip.XviD-TOPAZ.avi". Orsak: "The.Simpsons.S00-19.MiXeD.XviD-TeamMTT file_open (/media/storage2tb/data/bagheera/files/Torrent/Downloading/The.Simpsons.S00-19.MiXeD.XviD-TeamMTT/The.Simpsons.S08.DVDRip.XviD-TOPAZ/The.Simpsons.S08E25.INTERNAL.DVDRip.XviD-TOPAZ.avi) error: Permission denied"
(W) 2023-08-26T23:43:51 - Filfelvarning. Torrent: "Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264". Fil: "/media/storage2tb/data/bagheera/files/Torrent/Done/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264.mkv". Orsak: "Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264 file_open (/media/storage2tb/data/bagheera/files/Torrent/Done/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264.mkv) error: Permission denied"
(W) 2023-08-26T23:53:29 - Filfelvarning. Torrent: "The.Simpsons.S00-19.MiXeD.XviD-TeamMTT". Fil: "/media/storage2tb/data/bagheera/files/Torrent/Downloading/The.Simpsons.S00-19.MiXeD.XviD-TeamMTT/The.Simpsons.S08.DVDRip.XviD-TOPAZ/The.Simpsons.S08E25.INTERNAL.DVDRip.XviD-TOPAZ.avi". Orsak: "The.Simpsons.S00-19.MiXeD.XviD-TeamMTT file_open (/media/storage2tb/data/bagheera/files/Torrent/Downloading/The.Simpsons.S00-19.MiXeD.XviD-TeamMTT/The.Simpsons.S08.DVDRip.XviD-TOPAZ/The.Simpsons.S08E25.INTERNAL.DVDRip.XviD-TOPAZ.avi) error: Permission denied"
(W) 2023-08-26T23:53:51 - Filfelvarning. Torrent: "Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264". Fil: "/media/storage2tb/data/bagheera/files/Torrent/Done/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264.mkv". Orsak: "Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264 file_open (/media/storage2tb/data/bagheera/files/Torrent/Done/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264.mkv) error: Permission denied"
(W) 2023-08-27T00:03:30 - Filfelvarning. Torrent: "The.Simpsons.S00-19.MiXeD.XviD-TeamMTT". Fil: "/media/storage2tb/data/bagheera/files/Torrent/Downloading/The.Simpsons.S00-19.MiXeD.XviD-TeamMTT/The.Simpsons.S08.DVDRip.XviD-TOPAZ/The.Simpsons.S08E25.INTERNAL.DVDRip.XviD-TOPAZ.avi". Orsak: "The.Simpsons.S00-19.MiXeD.XviD-TeamMTT file_open (/media/storage2tb/data/bagheera/files/Torrent/Downloading/The.Simpsons.S00-19.MiXeD.XviD-TeamMTT/The.Simpsons.S08.DVDRip.XviD-TOPAZ/The.Simpsons.S08E25.INTERNAL.DVDRip.XviD-TOPAZ.avi) error: Permission denied"
(W) 2023-08-27T00:03:52 - Filfelvarning. Torrent: "Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264". Fil: "/media/storage2tb/data/bagheera/files/Torrent/Done/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264.mkv". Orsak: "Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264 file_open (/media/storage2tb/data/bagheera/files/Torrent/Done/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264/Avatar 2010 Extended Collectors Edition 720p BRRip AC3 x264.mkv) error: Permission denied"
UnconditionalLoop commented 1 year ago

A torrent is completed based on your ratio and timeout settings.

UnconditionalLoop commented 1 year ago

Did your script work on the previous versions? Did you fix your file permission issue?

glassez commented 1 year ago

Just noticed you want to run shell script. It isn't really executable. You should run it under some shell.

Bagh33r4 commented 1 year ago

I do believe my script has run in the past, but I could be mistaken, don't remember the circumstances then. I have tried downloading a torrent with a ratio when it should finish, but that has not worked, the script never runs.

A torrent is completed based on your ratio and timeout settings.

Is there a way to run a script when a torrent is finished downloading?

Did your script work on the previous versions? Did you fix your file permission issue?

I am not sure, I have not been able to get a consistent result anyway. I haven't bothered about the permission issue, I don't see it as important enough to deal with it.

Just noticed you want to run shell script. It isn't really executable. You should run it under some shell.

I have seen other run .sh files, or I am mistaken? Also, I am not experienced with Linux, this is my first Linux computer for maybe 10 years, I don't understand what you mean with "You should run it under some shell."