datadir plugin

shwetha17

Member
May 24, 2018
785
0
16
Hello!

I have a problem with a datadir plugin. Nor 2.8 release not 3.0 beta work. sad.gif
I use 'rtorrent', default mode. Dialog box opened, i checked "Move files" and nothing happened. sad.gif
In version 3.0, i changed mode to 'webserver' and got an error: JS error: [http://.../rutorrent/js/objects.js : 313] a.attr is not a function
 

shwetha17

Member
May 24, 2018
785
0
16
Oh, "error: JS error: [http://.../rutorrent/js/objects.js : 313] a.attr is not a function" is because the interface was not loaded completely. this error shown when clicking right mouse button on the torrent. I just waited a little and this error gone. But datadir is still does not work. Now i have "DataDir plugin: Operation fail" in webserver mode. In rtorrent mode nothing happens.
 

somus1735

Member
May 25, 2018
833
0
16
I'm by no means an expert but I'm guessing it's a permissions issue. The files / directories would need to be accessible by the web server user (usually apache or http).
 

shwetha17

Member
May 24, 2018
785
0
16
First, I had a look to apache log file and found the error: File does not exist: /usr/local/apache/htdocs/rtorrent/plugins/datadir/images/edit16.gif then I've checked, there was no datadir/images/edit16.gif file there, I took it from the new version of he plugin (svn for rutorrent 3.0b). But still datadir plugin did not work. Then I changed the mode for datadir plugin (in the config file) from default 'rtorrent' to 'webserver' and it started to work.
 

das329717

Member
May 25, 2018
928
0
16
It does work in the build I've downloaded yesterday. So, the problem is fixed. Thank you.