Closed DigitalJosee closed 7 years ago
log.execute = (cat, (cfg.logs), "execute.log")
I got this:
---
sh -c /usr/bin/id -u ; /usr/bin/id -G ; echo ~
---
Captured output:
1000
1000 4 24 27 30 46 116 117
/home/digitaljose
--- Success ---
---
sh -c /usr/bin/id -u ; /usr/bin/id -G ; echo ~
---
Captured output:
1000
1000 4 24 27 30 46 116 117
/home/digitaljose
--- Success ---
---
sh /var/www/rutorrent/php/test.sh ffmpeg /var/www/rutorrent/share/users/digitaljose/settings/641360112
---
--- Success ---
---
sh /var/www/rutorrent/php/test.sh php /var/www/rutorrent/share/users/digitaljose/settings/1131130550 /usr/bin/php
---
--- Success ---
---
sh /var/www/rutorrent/php/test.sh curl /var/www/rutorrent/share/users/digitaljose/settings/1466790400 /usr/bin/curl
---
--- Success ---
---
sh /var/www/rutorrent/php/test.sh pgrep /var/www/rutorrent/share/users/digitaljose/settings/2136758841
---
--- Success ---
---
sh /var/www/rutorrent/php/test.sh mediainfo /var/www/rutorrent/share/users/digitaljose/settings/483822488
---
--- Success ---
---
sh /var/www/rutorrent/php/test.sh unzip /var/www/rutorrent/share/users/digitaljose/settings/240340266
---
--- Success ---
---
sh /var/www/rutorrent/php/test.sh unrar /var/www/rutorrent/share/users/digitaljose/settings/1605150409
---
--- Success ---
---
sh -c '/usr/bin/php' '/var/www/rutorrent/plugins/erasedata/update.php' 'digitaljose' &
---
--- Success ---
---
date +%s
---
Captured output:
1496179498
--- Success ---
---
sh -c '/usr/bin/php' '/var/www/rutorrent/plugins/erasedata/update.php' 'digitaljose' &
---
--- Success ---
---
date +%s
---
Captured output:
1496179512
--- Success ---
---
/home/rtorrent/torrent.sh XXX digitaljose/rtorrent/download/[Nadine-J] - 2017-05-07 - Lexy & Luna - Milky Workout [1280x720][MP4].mp4 [Nadine-J] - 2017-05-07 - Lexy & Luna - Milky Workout [1280x720][MP4].mp4
---
--- Error ---
---
sh -c '/usr/bin/php' '/var/www/rutorrent/plugins/erasedata/update.php' 'digitaljose' &
---
--- Success ---
---
sh -c '/usr/bin/php' '/var/www/rutorrent/plugins/erasedata/update.php' 'digitaljose' &
---
--- Success ---
---
sh -c '/usr/bin/php' '/var/www/rutorrent/plugins/erasedata/update.php' 'digitaljose' &
---
--- Success ---
---
sh -c '/usr/bin/php' '/var/www/rutorrent/plugins/erasedata/update.php' 'digitaljose' &
---
--- Success ---
---
sh -c '/usr/bin/php' '/var/www/rutorrent/plugins/erasedata/update.php' 'digitaljose' &
---
--- Success ---
Seems like rTorrent is calling my script, but I don't see any change on test.txt.
Managed to fix it.
Was a problem with user and user permissions, thx for your replay pyroscope!
Hello,
I just installed rTorrent/libTorrent on my new box and I'm trying to make it call my script (I'm sure that this script is fine, I use it on my other rTorrent setup and everything works fine). But every time a download complete, I get:
Event 'event.download.finished' failed: Bad return code
.I have tried numerous configs and scripts, but my script isn't being called at all (I just put one echo "$1 $2 $3" >> /home/test.txt at the top to test).
Any idea of what is causing this?
My .rtorrent.rc: