torrentwatch-x configured and ready to use

Request a package to be made here. Make sure you have searched before requesting.

Re: torrentwatch-x configured and ready to use

Postby pepedog » Thu Mar 03, 2011 1:25 am

Speed is pretty good with this, cron part seems good too. Lots of java in it.
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: torrentwatch-x configured and ready to use

Postby ax0r7ag0z » Thu Mar 03, 2011 8:31 am

Javascript not java. If it had java I wouldn't bother.
ax0r7ag0z
 
Posts: 38
Joined: Mon Aug 30, 2010 8:59 pm

Re: torrentwatch-x configured and ready to use

Postby ax0r7ag0z » Fri Mar 04, 2011 12:42 am

Sorry to bother you again pepedog but I am just about to give up altogether with this crap,
did you manage to set it up properly, get it to load AND get it to pass torrents to transmission
from an RSS feed? I've managed to get it to run up to the point of adding a torrent, it doesn't
give me an error anymore, it seems to add a torrent, displays a progress bar but hangs there.
It doesn't pass the torrent to transmission and if I press refresh it forgets the whole thing...

Either it's my configuration or there's something wrong with the php code...
ax0r7ag0z
 
Posts: 38
Joined: Mon Aug 30, 2010 8:59 pm

Re: torrentwatch-x configured and ready to use

Postby pepedog » Fri Mar 04, 2011 1:05 am

As you say, it "seems" to function.
I couldn't get it to talk to transmission, so I thought I would at least get it to save the .torrent file, it didn't work. Folder permissions were good and php was good as torrentwatch could save it's config.
I might have one more go, but flexget is just messing with a config file and suits me.
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: torrentwatch-x configured and ready to use

Postby pepedog » Fri Mar 04, 2011 3:23 pm

I got something to work
In /etc/php/php.ini look for open_basedir and take out /srv/http
The server can only write things that are owned by http, so that controls where config file can go, and torrent file saves (you can then get transmission to watch that directory)
The cron job then downloads the files, but you can manually do this
php-cgi -q /srv/http/tr/rss_dl.php
(where /srv/http/tr is where I installed torrentwatch)
Will look at transmission communication now.
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: torrentwatch-x configured and ready to use

Postby ax0r7ag0z » Fri Mar 04, 2011 4:18 pm

It does connect to transmission, i can start and stop torrents already added, but i can't pass
new torrents to it from feeds... If I run php-cgi -q /srv/http/rss_dl.php , i have it in the root of the http folder,
i get errors like this one:

$this->bbcode_second_pass_code('', 'PHP Warning: curl_setopt_array(): CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /srv/http/php/tor_client.php on line 218')


I don't have safe mode on in php.ini
The downloader seem to choke on something about the torrent's hash, it doesn't process it correctly...
ax0r7ag0z
 
Posts: 38
Joined: Mon Aug 30, 2010 8:59 pm

Re: torrentwatch-x configured and ready to use

Postby pepedog » Fri Mar 04, 2011 5:37 pm

In /etc/php/php.ini look for open_basedir and take out /srv/http out of that line.
Restart http after.
That error will go away.
If you can connect to transmission, perhaps you can look at the torrentwatch config file and post part about transmission here.
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: torrentwatch-x configured and ready to use

Postby ax0r7ag0z » Fri Mar 04, 2011 6:25 pm

Have you added any torrents to your "favorites"? if you do and run rss_dl again you'll see things lighting up...
I can't remove /srv/http from my php.ini because then i get a:


$this->bbcode_second_pass_code('', 'PHP Warning: require_once(): open_basedir restriction in effect. File(/srv/http/php/rss_dl_utils.php) is not within the allowed path(s): (/home/Downloads:/tmp/:/usr/share/pear/:/etc/init_nmt) in /srv/http/rss_dl.php on line 13
PHP Warning: require_once(/srv/http/php/rss_dl_utils.php): failed to open stream: Operation not permitted in /srv/http/rss_dl.php on line 13
')

Here is my torrentwatch.config
$this->bbcode_second_pass_code('', ';;
;; torrentwatch config file
;;

[Settings]
Transmission Login =
Transmission Password =
Transmission Host = localhost
Transmission Port = 9091
Transmission URI = /transmission/rpc
Watch Dir =
Download Dir = /home/Downloads
Cache Dir = /srv/http/rss_cache/
Save Torrents =
Run Torrentwatch = True
Client = Transmission
Verify Episode = 1
Only Newer = 1
Download Proper =
Default Feed All =
Deep Directories = 0
Combine Feeds =
Require Episode Info =
Disable Hide List =
History = /srv/http/rss_cache/rss_dl.history
MatchStyle = regexp
FirstRun =
Extension = torrent
verbosity = 0
Default Seed Ratio = -1
Script =
Email Notifications =
SMTP Server = localhost
TimeZone = UTC
Email Address =
Hide Donate Button =


[Feeds]
0[] = Link => http://ezrss.it/feed/
0[] = Type => RSS
0[] = seedRatio => -1
0[] = Name => ezRSS - Latest torrent releases


')
ax0r7ag0z
 
Posts: 38
Joined: Mon Aug 30, 2010 8:59 pm

Re: torrentwatch-x configured and ready to use

Postby pepedog » Fri Mar 04, 2011 7:09 pm

Comment out the open_basedir line and try again, after redrafting httpd
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: torrentwatch-x configured and ready to use

Postby ax0r7ag0z » Fri Mar 04, 2011 7:26 pm

O_o Did it just work?
Can you explain why???

Gonna make a wiki article...
ax0r7ag0z
 
Posts: 38
Joined: Mon Aug 30, 2010 8:59 pm

PreviousNext

Return to Package Requests

Who is online

Users browsing this forum: No registered users and 20 guests