torrentwatch-x configured and ready to use

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

torrentwatch-x configured and ready to use

Postby ax0r7ag0z » Tue Mar 01, 2011 9:48 pm

I admit defeat and come to you for help.
Someone more experienced than me in configuring web servers please make
a package for torrentwatch-x or write a tutorial on how to config it.
It seems to be much more lightweight than flexget, so long as someone
can make it work...

Here is the site:
http://code.google.com/p/torrentwatch-x/

Here is a working demo:
http://torrentwatch.wiebel.nl/
ax0r7ag0z
 
Posts: 38
Joined: Mon Aug 30, 2010 8:59 pm

Re: torrentwatch-x configured and ready to use

Postby ax0r7ag0z » Wed Mar 02, 2011 9:08 am

It doesn't need compiling, it's written in php.
I have trouble configuring the webserver...
ax0r7ag0z
 
Posts: 38
Joined: Mon Aug 30, 2010 8:59 pm

Re: torrentwatch-x configured and ready to use

Postby pepedog » Wed Mar 02, 2011 10:07 am

It needs php-iconv which doesn't exist
I got it semi-running, will look when I got time.
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 » Wed Mar 02, 2011 10:47 am

I only seem to get it semi-workin myself, it just loads the page but no buttons work.
The PKGBUILD for php has --with-iconv=shared so doesn't that mean it's enabled?
Also enabling the extension in php.ini doesn't give a warning when restarting php.
ax0r7ag0z
 
Posts: 38
Joined: Mon Aug 30, 2010 8:59 pm

Re: torrentwatch-x configured and ready to use

Postby pepedog » Wed Mar 02, 2011 1:33 pm

looks like it's built in, there is an so file. also for json
php-cgi does not like you snooping or writing in /etc so I moved it into /srv/http
I also tried the two directories as world writable (

OK, got it working by looking at /var/log/everything
Wouldn't like to package because it meeds so much php meddling, you need php-cgi package BTW
Here is the bottom of my php.ini file
$this->bbcode_second_pass_code('', '; available extensions
;
extension=bcmath.so
extension=bz2.so
extension=calendar.so
extension=curl.so
;extension=dba.so
;extension=dbase.so
extension=exif.so
extension=ftp.so
extension=gd.so
extension=gettext.so
extension=gmp.so
extension=iconv.so
extension=imap.so
extension=json.so
;extension=ldap.so
extension=mcrypt.so
;extension=mhash.so
;extension=mime_magic.so
extension=mysql.so
extension=mysqli.so
;extension=ncurses.so
extension=odbc.so
extension=openssl.so
;extension=pdo.so
extension=pdo_mysql.so
;extension=pdo_odbc.so
;extension=pdo_pgsql.so
extension=pdo_sqlite.so
;extension=pgsql.so
extension=posix.so
extension=pspell.so
;extension=session.so
;extension=shmop.so
;extension=snmp.so
extension=soap.so
extension=sockets.so
extension=sqlite.so
;extension=sysvmsg.so
;extension=sysvsem.so
;extension=sysvshm.so
extension=tidy.so
extension=xmlrpc.so
extension=xsl.so
extension=zip.so
;extension=zlib.so
')
Here are my installed php packages
$this->bbcode_second_pass_code('', 'php 5.3.5-1
php-apache 5.3.5-1
php-cgi 5.3.5-1
php-curl 5.3.5-1
php-embed 5.3.5-1
php-gd 5.3.5-1
php-gmp 5.3.5-1
php-intl 5.3.5-1
php-ldap 5.3.5-1
php-mcrypt 5.3.5-1
php-mssql 5.3.5-1
php-odbc 5.3.5-1
php-pgsql 5.3.5-1
php-pspell 5.3.5-1
php-snmp 5.3.5-1
php-sqlite 5.3.5-1
php-suhosin 0.9.32.1-1
php-tidy 5.3.5-1
php-xsl 5.3.5-1
')
My php/config.php
$this->bbcode_second_pass_code('', '<?php
require_once("config_lib.php");

// You may change these defaults to fit your personal situation.

//Config File Loaction.
function platform_getConfigDir() {
return "/srv/http/tr/torrentwatch/";
}

//TorrentWatch-X install directory, uncomment if you want to overrule the automatic get_base_dir function.

function get_base_dir() {
return "/srv/http/tr";
}

//Transmission session-id cache file
function get_tr_sessionIdFile() {
global $platform;
return '/tmp/.Transmission-Session-Id';
}

?>
')
Note where all my files are "/srv/http/tr"
Ald it all works
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 » Wed Mar 02, 2011 2:17 pm

Thanks for your help!!
I managed to get a bit further, now it loads the page, shows some html in the
middle of the page, shows the initial wizard, then does nothing...


It seems to work now :)

EDIT

Trying to nail down the details, i get download folder not writable and i get an error while trying to download a
torrent from a feed

EDIT2

I can't get it to work properly. Can't configure "Download Dir: " for torrentwatch. When I set it to
where transmission is downloading it gives me an access denied error. When I set it and transmission
to a folder inside the http folder i get a "Something went wrong while adding this torrent" error.
When I add a torrent to favorites it breaks the hole thing and i have to delete torrentwatch.config...
ax0r7ag0z
 
Posts: 38
Joined: Mon Aug 30, 2010 8:59 pm

Re: torrentwatch-x configured and ready to use

Postby ax0r7ag0z » Wed Mar 02, 2011 10:41 pm

could you please make a package pepedog just for testing's sake?
ax0r7ag0z
 
Posts: 38
Joined: Mon Aug 30, 2010 8:59 pm

Re: torrentwatch-x configured and ready to use

Postby pepedog » Wed Mar 02, 2011 11:05 pm

There is so many variables to config, I think it might be a waste?
Like where do the files go. Oh, change that folder permissions to be group and everyone writeable, and in php.ini Kaye that place ok for php to snoop in (just like /srv/http is now)
Maybe I will have a go at the package?
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 » Wed Mar 02, 2011 11:14 pm

I wouldn't like for you to waste your time and skills on this so please only bother if you can spare the time.
ax0r7ag0z
 
Posts: 38
Joined: Mon Aug 30, 2010 8:59 pm

Re: torrentwatch-x configured and ready to use

Postby BinaryJay » Thu Mar 03, 2011 12:55 am

The last time I tried to mess with PHP on the plug I found the plug too slow to bother with most PHP apps... perhaps this one is simple enough.

It was particularly bad when they insisted on using mysql backends.
BinaryJay
 
Posts: 87
Joined: Mon Dec 06, 2010 10:27 pm

Next

Return to Package Requests

Who is online

Users browsing this forum: No registered users and 7 guests