Novik / ruTorrent

Yet another web front-end for rTorrent
Other
2.03k stars 410 forks source link

Plugins not working automatically but no errors #1301

Closed bobokun closed 8 years ago

bobokun commented 8 years ago

When going to the logs I'm not seeing any errors. I only see WebUI started. All plugins say Loaded and Enabled.

However history isn't getting updated, traffic isn't getting updated. RSS is not updating automatically but when I right click and press "Update Feed" then it will fetch the latest list and then the rules will be applied and it would start downloading the file. Autotools is not hardlinking or autolabeling when adding the torrent.

www-data:www-data is the owner of rutorrent and all subdirectories. My download/watch directory is set to 777 permission and the user running rtorrent is also added in the www-data group. I've tried to re-install the plugins from scratch and still the same thing.

image image

Novik commented 8 years ago

What about rtorrent and ruTorrent versions?

bobokun commented 8 years ago

I'm using rtorrent version 0.9.6/ 0.13.6 and rutorrent version 3.7

Novik commented 8 years ago

1) Read this - https://github.com/Novik/ruTorrent/wiki/Plugins#starting-plugins-with-rtorrent 2) Try to use github version of ruTorrent core and plugins. 3) Check web-server and ruTorrent (/tmp/errors.log by default) log files. 4) Add to the begin of .rtorrent.rc command log.execute=/tmp/exec.log restart rtorrent, reload ruTorrent, add some torrent and check log contents.

bobokun commented 8 years ago

I installed a fresh install of ruTorrent core and plugins using git clone. I'm still getting the same issues as before, the history isn't updating, traffic is updating, rss doesnt update automatically but works if manually executed.

I enabled the log.execute in the .rtorrent.rc and this is what I see `---

^@sh -c /usr/bin/id -u ; /usr/bin/id -G ; echo ~

^@Captured output: ^@1000 1000 33 /home/rutorrent

--- Success ---

^@

^@sh /var/www/rutorrent/php/test.sh php /var/www/rutorrent/share/users/trainx/settings/583014036 /usr/bin/php

^@ --- Success ---

^@

^@sh /var/www/rutorrent/php/test.sh curl /var/www/rutorrent/share/users/trainx/settings/1320852672 /usr/bin/curl

^@ --- Success ---

^@

^@sh -c '/usr/bin/php' '/var/www/rutorrent/plugins/erasedata/update.php' 'trainx' &

^@ --- Success --- ^@PHP Warning: require_once(): open_basedir restriction in effect. File(/var/www/rutorrent/php/util.php) is not within the allowed path(s): (/usr/bin) in /var/www/rutorrent/plugins/erasedata/update.php on line 6 PHP Warning: require_once(/var/www/rutorrent/php/util.php): failed to open stream: Operation not permitted in /var/www/rutorrent/plugins/erasedata/update.php on line 6 PHP Fatal error: require_once(): Failed opening required '/var/www/rutorrent/plugins/erasedata/../../php/util.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/rutorrent/plugins/erasedata/update.php on line 6


^@sh -c '/usr/bin/php' '/var/www/rutorrent/plugins/erasedata/update.php' 'trainx' &

^@ --- Success --- ^@PHP Warning: require_once(): open_basedir restriction in effect. File(/var/www/rutorrent/php/util.php) is not within the allowed path(s): (/usr/bin) in /var/www/rutorrent/plugins/erasedata/update.php on line 6 PHP Warning: require_once(/var/www/rutorrent/php/util.php): failed to open stream: Operation not permitted in /var/www/rutorrent/plugins/erasedata/update.php on line 6 PHP Fatal error: require_once(): Failed opening required '/var/www/rutorrent/plugins/erasedata/../../php/util.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/rutorrent/plugins/erasedata/update.php on line 6

`

Novik commented 8 years ago

You got answer - "Warning: require_once(): open_basedir restriction in effect." Use google next.