Closed tuxayo closed 7 years ago
It doesn't happen when Rtorrent has been recently started. I just reproduced that issue, restarted Rtorrent and couldn't reproduce.
That behavior already happened so I should be able to reproduce again just by waiting few days/weeks.
I confirm that I could reproduce the issue by just waiting two days. And that restarting rtorrent allows the erasedata plugin to work again.
Try to check contents of ruTorrent log file (by default - /tmp/errors.log, but this path may be overwritten in config.php)
Sorry, I included logs in the initial post but the link expired. Here are logs that I just gathered.
---
sh -c 'php' '/usr/share/webapps/rutorrent/plugins/erasedata/update.php' 'ub' &
---
--- Success ---
PHP Warning: Module 'apcu' already loaded in Unknown on line 0
---
/usr/share/webapps/rutorrent/plugins/erasedata/cat.sh /usr/share/webapps/rutorrent/share/settings/erasedata 9179 /home/torrent/download/korora-24-x86_64-gnome.iso
---
--- Success ---
---
/usr/share/webapps/rutorrent/plugins/erasedata/cat.sh /usr/share/webapps/rutorrent/share/users/twix/settings/erasedata 9179 /home/torrent/download/korora-24-x86_64-gnome.iso
---
--- Success ---
---
/usr/share/webapps/rutorrent/plugins/erasedata/cat.sh /usr/share/webapps/rutorrent/share/users/ub/settings/erasedata 9179 /home/torrent/download/korora-24-x86_64-gnome.iso
---
--- Success ---
---
/usr/share/webapps/rutorrent/plugins/erasedata/fin.sh /usr/share/webapps/rutorrent/share/settings/erasedata 9179 C045B9C45691AD5636C33AF9F332C47E9F826FC8 /home/torrent/download/korora-24-x8$
_64-gnome.iso 0 1
---
--- Success ---
---
/usr/share/webapps/rutorrent/plugins/erasedata/fin.sh /usr/share/webapps/rutorrent/share/users/twix/settings/erasedata 9179 C045B9C45691AD5636C33AF9F332C47E9F826FC8 /home/torrent/download/k$
rora-24-x86_64-gnome.iso 0 1
---
--- Success ---
---
/usr/share/webapps/rutorrent/plugins/erasedata/fin.sh /usr/share/webapps/rutorrent/share/users/ub/settings/erasedata 9179 C045B9C45691AD5636C33AF9F332C47E9F826FC8 /home/torrent/download/koro
ra-24-x86_64-gnome.iso 0 1
---
--- Success ---
---
php /usr/share/webapps/rutorrent/plugins/history/update.php 3 korora-24-x86_64-gnome.iso 2168455168 2168455168 14429308214 6654 1468937627 1469467265
1469467470
http://linuxtracker.org:2710/8c96fdec1c86838508143e3e939e669f/announce#
---
PHP Warning: Module 'apcu' already loaded in Unknown on line 0
--- Success ---
---
php /usr/share/webapps/rutorrent/plugins/history/update.php 3 korora-24-x86_64-gnome.iso 2168455168 2168455168 14429308214 6654 1468937627 1469467265
1469467470
http://linuxtracker.org:2710/8c96fdec1c86838508143e3e939e669f/announce# twix
---
PHP Warning: Module 'apcu' already loaded in Unknown on line 0
--- Success ---
---
php /usr/share/webapps/rutorrent/plugins/history/update.php 3 korora-24-x86_64-gnome.iso 2168455168 2168455168 14429308214 6654 1468937627 1469467265
1469467470
http://linuxtracker.org:2710/8c96fdec1c86838508143e3e939e669f/announce# ub
---
PHP Warning: Module 'apcu' already loaded in Unknown on line 0
--- Success ---
I can't reproduce the issue anymore even though there were no update to rtorrent and rutorrent
I could finally reproduce and solve this issue, see #1451
The action was "Remove and delete data"
Rtorrent log tend to show that everything went fine: https://0bin.net/paste/K4XG8DO4ZhR765k0#3bJxNHcWCuCm5ftC1QsRY-fE0Ic04Cx9nY7a4ayMDaS
system log and webserver log show no error
But the file is still here.
Any user can write
/usr/share/webapps/rutorrent/share/users/ub/settings/erasedata
Any user can delete the downloaded file.What else can I do to find the cause of the issue?
rutorrent 3.7-4 rtorrent 0.9.6-3