Home : Linux : Software : Nzbget : PPWeb :

Download

If you can use Subversion (svn) for the download, updating your install can be done with a single click. To do a Subversion install, do a svn checkout to the desired DocumentRoot or host sub-directory (e.g. /ppweb).

   svn checkout http://ppweb.googlecode.com/svn/trunk /your/doc_root/ppweb

It's seldom up to date, but you can also install PPWeb by downloading a tarball.

Note: The repository has changed from davelers to googlecode.

See the README.1st file for initial setup instructions (also in the parent directory). I highly recommend that you follow the readme and leave the default settings alone until you have PPWeb working. PPWeb is not an add-on, it is a complete self-configuring and self-contained package. Let PPWeb configure and set itself up before making any configuration changes.

To update an svn install to the latest version, just click the "u" link in the "PPWeb (u)" menu heading.
To update a manual install, download the latest revision and manually replace all or changed files before clicking the "u".

While I try to keep things functional for others, PPWeb has a lot of features I don't use. If something doesn't work as expected, you have to let me know. If you have problems or questions please post them to the Questions topic in the How-to category.

See also: How-to, New, svn web interface and change log.

Comments [ new ]

Daemon start link doesn't work
Posted by Dave on Thursday, 08-Oct-2009

Sorry lymphatik, the server seems to be having issues and the comment script isn't smart enough, I had to restore this page from backup.

Try adding the nzbget path - 'path/to/nzbget -D -c /path/to/ppweb/conf/nzbget.conf'. Also try replacing the -D with -L, -Q, -h, -v etc. You say you don't get any error messages, what messages do you get? Is there anything in the server error log?

Try copying your nzbget binary to the PPWeb cgi-bin, run update and then try the daemon start/stop links again.

[ reply | link ] to this. Go to [ topic | top ]
Re: Daemon start link doesn't work
Posted by Lymp on Friday, 09-Oct-2009

Sorry to hear that our conversation put your server under some pressure :). I am glad that you put so much effort into helping me with this issue.

So I tried to move nzbget bin to the cgi-bin of ppweb and after updating the different conf files. I also tried to replace -D to -v or wathever was available as option for nzbget.

And I did not get any messages at all. Even with redirecting the ouput of nzbget to a file

path/to/nzbget -D -c /path/to/ppweb/conf/nzbget.conf > test.txt

And when I checked the ppweb.log and nzbget.log nothing was written at all and I am pretty sure of that because I wiped clean all the log files.

If you want to have a look at the output of update : [link]

But anyway that is not a real issue because I could start nzbget with daemon quite easily. And I am actually doing it.

The only thing that I want to know is how is do I need to update nzbmatrix pages to get watchlist working or is done automatically.

[ reply | link ] to this. Go to [ parent | topic | top ]
Re: Daemon start link doesn't work
Posted by Dave on Friday, 09-Oct-2009

Like I said, something basic is wrong. PPWeb and NzbgetWeb need to be able to communicate with nzbget for everything to work - daemon start/stop, watchlist, etc.

...Didn't you say something about a server sleeping message? Before you start the daemon, the web interface should have a "ERROR: NZBGetWeb could not connect to NZBGet-Server" message at the top.

From one of my posts on the NZBGet forum:
The 'server sleeping' message was a separate issue. While the server logs show 'Invalid value for option "rpc_api"' and other PHP warnings, the web interface provides no direct indication that something might be wrong with the NzbgtWeb setup. It took me a while to realize that I didn't have PHP 5.2 and needed to install php-xmlrpc [because I am running an older version of PHP].

The watchlist nzb site check default is twice a day. It can be changed by going to Configure : Scheduler. Scheduler is a NZBGet function, i.e. communication required :).

[ reply | link ] to this. Go to [ parent | OP | topic | top ]
Re: Daemon start link doesn't work
Posted by Lymp on Tuesday, 13-Oct-2009

Sorry for the late reply

So I tried ppweb without nzbget server started and I did not get the error you were talking about in ppweb

And about rpc_api not installed I double verified that with php info and I also have php 5.3

--with-xmlrpc=shared

About the watchlist it seems to work actually because I get this in my log

Completed scheduled process-script wfnzb.cgi

But anyway I discover your post about ppweb on nzbget forum and I think it will be easier to continue this on a real forum [link]

[ reply | link ] to this. Go to [ parent | OP | topic | top ]
Re: Download
Posted by Joost on Tuesday, 21-Jul-2009

Looks like a great piece of work. I'm installing it in a subdirectory (ie. [link]) and that is resulting in many problems that need fixing on several places:

- Code fix needed in 'ppweb_paths.cgi': $DocRoot = $DocRoot."/nzbget";
- "Host" variable, which is not good because for external access I use a different hostname
- "HomeUrl" variable needs setting also
- Another code fix needed to link to stylesheets correctly, eg. "[link] has the stylesheet set to "/style.css", which is incorrect when installing into a subdirectory, and this is hardcoded.

These are my findings after playing around an hour or so. I really like the control options through the web interface, but it does need to work in a subdirectory.

[ reply | link ] to this. Go to [ topic | top ]
Re: Download
Posted by Dave on Tuesday, 21-Jul-2009

I've added support for host subdirectory installs (r58). Auto configuration requires using a browser that's not blocking the referrer header... (referrer no longer required, directory now set in ppweb_update.cgi)

[ reply | link ] to this. Go to [ parent | topic | top ]
PPWeb on a NAS
Posted by Ricardo on Sunday, 14-Jun-2009

Just a heads up for CH3SNAS and DNS323 users. Nzbget and PPWeb run perfectly on those small boxes. I have mine with a fully working watchlist and, thanks to a small adaptation to the scripts, it sends me an email everytime a job is finished. :)

Thanks again to Dave for this fine piece of work. And keep new releases coming, please! :)

Cheers,

Ricardo

[ reply | link ] to this. Go to [ topic | top ]
Downnload this!
Posted by SuperGills on Thursday, 18-Jun-2009

Can't but echo Ricardo's comments.

Great piece of work, which is progressing at an alarming rate.

Can't recommend it enough to people.

On the day I get svn going on my machine for MediaBrowser, I find out the code updates are here on svn too.

Apart from 30 children coming to my house for my son's birthday party in 2 days time, life can't get any sweeter!

[ reply | link ] to this. Go to [ parent | topic | top ]
Running PPWeb on Lighttpd
Posted by DigiGuru on Friday, 15-Aug-2008

Do you know if it is possible to run the script on Lighttpd?

NZBGetWeb runs here ok, but the pre-processing parts do not.

If I try to run any of the pre-processing scripts, the CGI file just gives this output:

[INFO] Script compiles. Got 0 args, need 5 to do anything

Any ideas?

[ reply | link ] to this. Go to [ topic | top ]
Re: Running PPWeb on Lighttpd
Posted by Dave on Friday, 15-Aug-2008

If you execute the script from the command line, that's the message you should get. I don't know how clicking on a PPWeb link (NZBGetWeb) could generate that message. When/where are you seeing that output?

I'd think that the script should work on any 'nix (not a clue about windows) webserver (when run as the same user/group that's running nzbget) but I have zero experience with Lighttpd.

8/16: You'll get that message any time the script receives no arguments. All the PPWeb interface script calls have GET or POST arguments. If you manually enter the script URL (no arguments), you will get a 500 error that includes that message. That oversight has been fixed for the next release.

[ reply | link ] to this. Go to [ parent | topic | top ]
Re: Running PPWeb on Lighttpd
Posted by DigiGuru on Tuesday, 19-Aug-2008

I'll have a look into it a little bit more and check to see I can run other CGI scripts ok.

The actual script itself fires from NZBGet, just not the web interface, so I don't get the pre-processing, which is a shame.

[ reply | link ] to this. Go to [ parent | OP | topic | top ]
Re: Running PPWeb on Lighttpd
Posted by Dave on Tuesday, 19-Aug-2008

With today's version you could try putting a copy of the script in a cgi-bin (owned by the user running nzbget) and point the index.php links there. Running the script outside of a designated script directory could be to blame.

[ reply | link ] to this. Go to [ parent | OP | topic | top ]
Re: Running PPWeb on Lighttpd
Posted by DigiGuru on Tuesday, 26-Aug-2008

OK...

Got it running by enabling mod_cgi and setting mod_cgi to parse all .cgi and .pl files.

The only problem I have now is that it is not picking up NZB files within subdirectories...

Any ideas why this might be?

Both the web server and nzbget and running under root

[ reply | link ] to this. Go to [ parent | OP | topic | top ]
Re: Running PPWeb on Lighttpd
Posted by Dave on Tuesday, 26-Aug-2008

NZBGet category auto queue (0.5.0 testing) or PPWeb categories?

The NZBGet automatic category queueing isn't working for me (...worked in r193, broken in r204, fixed in r212), but that has nothing to do with PPWeb.

With PPWeb you need to hit the "queue" link unless you upload nzbs/zips with the PPWeb upload function (or save nzbs/zips to the $NZBGet/hold directory and categorize/queue from there). PPWeb "queue" will only look for nzbs/zips in $NZBGet/nzb(/$Subdir) directories.

[ reply | link ] to this. Go to [ parent | OP | topic | top ]

Back to: PPWeb