Author Topic: nZEDash - a port of newzdash for nZEDb  (Read 19198 times)

Offline NZBmets

  • Prolific Indexer
  • ****
  • Posts: 260
  • Helpful: +11/-0
nZEDash - a port of newzdash for nZEDb
« on: 2014-06-12, 05:12:06 PM »
Terribly early in the port process, but I thought a couple of folks might find this interesting.
I've started to port newzdash to work with our beloved nZEDb here:
https://github.com/NZBmets/nZEDash

I don't think it fair to even call this Alpha atm, it is more of a dirty hack.
Please feel free to fork and help the process if interested.

d3athsd00r

  • Guest
Re: nZEDash - a port of newzdash for nZEDb
« Reply #1 on: 2014-06-12, 07:16:02 PM »
Sweet. Never heard of newzdash before since I've only used nZEDb, but if you can get it to work well it should be pretty cool :D

Offline david_ritterhous

  • Prolific Indexer
  • ****
  • Posts: 240
  • Helpful: +6/-0
Re: nZEDash - a port of newzdash for nZEDb
« Reply #2 on: 2014-06-13, 04:04:05 AM »
I dont get it, what does it do?  Thanks

Offline NZBmets

  • Prolific Indexer
  • ****
  • Posts: 260
  • Helpful: +11/-0
Re: nZEDash - a port of newzdash for nZEDb
« Reply #3 on: 2014-06-13, 04:29:10 AM »
It is an HTML dashboard that will give you some status of ZED.
Scroll to the bottom and look at the screenshots from the original.

https://github.com/tssgery/newzdash
(A screenshot has been added to the github repo of nZEDash)

I find the main page most useful as it gives an idea of near-time status, for example, is an update available?, etc.
As I run on a headless server it is a quick way I can get information without SSH'ing in and attaching to tmux.
« Last Edit: 2014-08-01, 06:30:43 PM by NZBmets »

Offline bobtongue

  • Prolific Indexer
  • ****
  • Posts: 109
  • Helpful: +7/-0
  • Wherever you go, There you are!
Re: nZEDash - a port of newzdash for nZEDb
« Reply #4 on: 2014-06-13, 06:22:43 AM »
NZBmets!
This is better than the original. I like it a LOT!. Good work.

Offline NZBmets

  • Prolific Indexer
  • ****
  • Posts: 260
  • Helpful: +11/-0
Re: nZEDash - a port of newzdash for nZEDb
« Reply #5 on: 2014-06-13, 09:26:14 AM »
While I'd like to take some credit, I've done little at this point but I'm hopeful to get it to be ZED ported.

Offline NZBmets

  • Prolific Indexer
  • ****
  • Posts: 260
  • Helpful: +11/-0
Re: nZEDash - a port of newzdash for nZEDb
« Reply #6 on: 2014-06-13, 05:22:32 PM »
A picture of the work-in-progress.
You can see the notification of the available update [bottom left]. Other sections with values are working.
Those with a 0 or ERROR are being recoded.


« Last Edit: 2014-06-21, 02:01:24 PM by NZBmets »

crzykidd

  • Guest
Re: nZEDash - a port of newzdash for nZEDb
« Reply #7 on: 2014-06-14, 02:25:17 PM »
This looks really cool.  However I am having one issue.

I am installed at http://server:81   
I can load the index.php after I did the install, however if I click any links on the side "dashboard", "statistics", etc.  I get an error:
Code: [Select]
Not Found

The requested URL /nZEDash/index.php was not found on this server.

I am sure it is something with my config, but not sure, since I can hit the index.php directly.

Offline NZBmets

  • Prolific Indexer
  • ****
  • Posts: 260
  • Helpful: +11/-0
Re: nZEDash - a port of newzdash for nZEDb
« Reply #8 on: 2014-06-14, 04:45:30 PM »
Sounds like you need to ...
Quote
Alter .htaccess RewriteBase as necessary for your install (.e.g 'RewriteBase /')

crzykidd

  • Guest
Re: nZEDash - a port of newzdash for nZEDb
« Reply #9 on: 2014-06-14, 05:49:24 PM »
DOH!.    Thanks, I looked at that file like 5 times, and just spaced right over the default /nZEDash/

Couple of other config questions.
1. I can't get the TMUX integration to work.  The only default.sh file I have is in the Powerline theme directory.  So where do I create the deault.sh file an add:
Code: [Select]
define('TMUX_SHARED_SECRET', 'XXXXXXXXXXXXXXXXXX');
2.  Nothing shows up in recently added section.
3.  No pending releases are shown in statistics.

I am running on Percona 5.6 with table groups enabled if that matters?

Thanks again,

Offline NZBmets

  • Prolific Indexer
  • ****
  • Posts: 260
  • Helpful: +11/-0
Re: nZEDash - a port of newzdash for nZEDb
« Reply #10 on: 2014-06-14, 05:54:02 PM »
None of the tmux bridge has been looked at yet. It is still pre-alpha and really early in the process.
My reason for putting the status (initiative) here in the forums is in hopes of a couple people with coding skills helping the process along.

Restated, expect many things not to function properly if at all until much later.

crzykidd

  • Guest
Re: nZEDash - a port of newzdash for nZEDb
« Reply #11 on: 2014-06-14, 06:02:59 PM »
No worries.  Happy to test if you need that when you are ready :)

Offline censor

  • Junior Indexer
  • **
  • Posts: 22
  • Helpful: +3/-0
Re: nZEDash - a port of newzdash for nZEDb
« Reply #12 on: 2014-07-22, 11:58:19 AM »
This is great! I've been waiting for someone to pick up where we left off and port it to nZEDb, i'll give it a spin right away =)

Offline NZBmets

  • Prolific Indexer
  • ****
  • Posts: 260
  • Helpful: +11/-0
Re: nZEDash - a port of newzdash for nZEDb
« Reply #13 on: 2014-07-22, 12:05:21 PM »
This is great! I've been waiting for someone to pick up where we left off and port it to nZEDb, i'll give it a spin right away =)

Thanks for the positive feedback. I haven't had the time to continue to work on it recently (although it is currently functional) but I'm hopeful to take further advantage of the recent changes on the dev branch and reuse counts where it can.  So much to do ... so little time ...

Offline bobtongue

  • Prolific Indexer
  • ****
  • Posts: 109
  • Helpful: +7/-0
  • Wherever you go, There you are!
Re: nZEDash - a port of newzdash for nZEDb
« Reply #14 on: 2014-07-23, 06:06:50 AM »
I had this installed when you first posted and it worked fine. I decided to start from scratch with it since I havent updated in a while and now I can't seem to get it installed. I keep getting an error on step 3 of the install. the error is:
Errors Exist:
Unable to locate config.php in /var/www/XXXXXXXX.com/htdocs/nZEDb/www.

The file is in that directory, so I am not quite sure what it is looking for. Can you help?
« Last Edit: 2014-07-23, 06:25:30 AM by bobtongue »