Trafic plugin zero data

shwetha17

Member
May 24, 2018
785
0
16
I have two users using rutorrent, each user has their own instance of rtorrent running and everything works fine, except for the trafic tab and the ratios per day/week/month for user1

They are configured exactly the same, infact the user2 has configuration cloned from user1 with paths and post changed to reflect the respective rtorrent instance and the users home directory.

All permissions of user folders match the user.

Here's a video capture of all my torrents with main ratio fine but per day/week/month all zero
http://www51.zippyshare.com/v/31734102/file.html

Traffic Tab
http://www51.zippyshare.com/v/75699585/file.html
http://www51.zippyshare.com/v/92391731/file.html


Here is a screen cap from user2 where all the ratios are fine
http://www51.zippyshare.com/v/74248524/file.html

and the trafic tabs for user 2 lots of data
http://www51.zippyshare.com/v/73732447/file.html
http://www51.zippyshare.com/v/45888854/file.html

Help appreciated.
Thanks
 

shwetha17

Member
May 24, 2018
785
0
16
I've noticed that there are the following directories that appear to contain data for traffic

/var/www/rutorrent/share/users/user1/settings/trafic
/var/www/rutorrent/share/users/user2/settings/trafic

And there is another im guessing default when not using multiuser setup here:
/var/www/rutorrent/share/settings/trafic

This seems to have what looks like valid data and it's owned by user1 is there a config somewhere that's telling the trafic plugin to use this location to store data for user1 but it's not being picked up by the GUI?
 

jith45

Member
May 25, 2018
960
0
16
Check initplugins.php parameters in the rtorrent.rc of rtorrent instance for user user1. Last parameter must be a user name (user1 in your case).
 

shwetha17

Member
May 24, 2018
785
0
16
Hello,
I have the following in the user's .rtorrent.rc files

User1:
execute = {sh,-c,/usr/bin/php /var/www/rutorrent/php/initplugins.php user1 &}

User2:
execute = {sh,-c,/usr/bin/php /var/www/rutorrent/php/initplugins.php user2 &}