I enabled datadir logging in /var/www/rutorrent/plugins/datadir/conf.php
When trying to Save to... this doesn't work (meaning nothing is saved to another location) and no logging appears in the Log tab, in fact no log at all comes in this tab except the [08.11.2012 16:43:01] WebUI started.
I think this is permission related but can't find where I have a mistake to be honest.
sudo tail /var/log/nginx/rutorrent.error.log -f
Code:
2012/11/08 16:59:04 [error] 2578#0: *16318 FastCGI sent in stderr: "PHP message: PHP Warning: fopen(/home/rtorrent/logs/rtorrent.log): failed to open stream: Permission denied in /var/www/rutorrent/php/util.php on line 185
ok so I check my log folder :
ls -la /home/rtorrent/logs/*g
Code:
-rwxrwx--x 1 rtorrent rtorrent 24034 Nov 8 16:59 /home/rtorrent/logs/rtorrent.log
-rwxrwx--x 1 rtorrent rtorrent 9301 Nov 8 16:59 /home/rtorrent/logs/torrent.log
-rwxrwx--x 1 rtorrent rtorrent 26475 Nov 8 16:53 /home/rtorrent/logs/tracker.log
my /var/www/rutorrent belongs recursively to www-data:www-data
in /var/www/rutorrent/conf/config.php I got :
Code:
$do_diagnostic = true;
$log_file = '/home/rtorrent/logs/rtorrent.log'; // path to log file (comment or leave blank to disable logging)the .rtorrent.rc part is the following :
Code:
log.open_file = "rtorrent", /home/rtorrent/logs/rtorrent.log
log.add_output = "debug", "rtorrent"
log.open_file = "torrent", /home/rtorrent/logs/torrent.log
log.add_output = "torrent_debug", "torrent"
log.open_file = "tracker", /home/rtorrent/logs/tracker.log
log.add_output = "tracker_debug", "tracker"
seems like I'm lost, any pointer is really appreciated
When trying to Save to... this doesn't work (meaning nothing is saved to another location) and no logging appears in the Log tab, in fact no log at all comes in this tab except the [08.11.2012 16:43:01] WebUI started.
I think this is permission related but can't find where I have a mistake to be honest.
sudo tail /var/log/nginx/rutorrent.error.log -f
Code:
2012/11/08 16:59:04 [error] 2578#0: *16318 FastCGI sent in stderr: "PHP message: PHP Warning: fopen(/home/rtorrent/logs/rtorrent.log): failed to open stream: Permission denied in /var/www/rutorrent/php/util.php on line 185
ok so I check my log folder :
ls -la /home/rtorrent/logs/*g
Code:
-rwxrwx--x 1 rtorrent rtorrent 24034 Nov 8 16:59 /home/rtorrent/logs/rtorrent.log
-rwxrwx--x 1 rtorrent rtorrent 9301 Nov 8 16:59 /home/rtorrent/logs/torrent.log
-rwxrwx--x 1 rtorrent rtorrent 26475 Nov 8 16:53 /home/rtorrent/logs/tracker.log
my /var/www/rutorrent belongs recursively to www-data:www-data
in /var/www/rutorrent/conf/config.php I got :
Code:
$do_diagnostic = true;
$log_file = '/home/rtorrent/logs/rtorrent.log'; // path to log file (comment or leave blank to disable logging)the .rtorrent.rc part is the following :
Code:
log.open_file = "rtorrent", /home/rtorrent/logs/rtorrent.log
log.add_output = "debug", "rtorrent"
log.open_file = "torrent", /home/rtorrent/logs/torrent.log
log.add_output = "torrent_debug", "torrent"
log.open_file = "tracker", /home/rtorrent/logs/tracker.log
log.add_output = "tracker_debug", "tracker"
seems like I'm lost, any pointer is really appreciated