nZEDb

nZEDb => Guides => Topic started by: slydetector on 2016-11-14, 09:23:20 AM

Title: Announcing simply-nzedb (Defunct)
Post by: slydetector on 2016-11-14, 09:23:20 AM
I'm in the process of converting from NN+ to nZEDb. As many of you know, getting things setup properly can be a formidable barrier to entry. Anyway, I've started a project  to make a new nZEDb install as simple and easy as possible. I've been through it a few times and was able to get a working setup in < 30 mins.  This is for Linux only and is based on Docker.

Try it out, you only have 30 mins to lose :-)

https://github.com/slydetector/simply-nzedb

Please report issues on Github directly:

https://github.com/slydetector/simply-nzedb/issues

As always, the more information you give me, the better I'll be able to help you.
Title: Re: Announcing simply-nzedb
Post by: ebro on 2016-11-15, 01:42:14 AM
I am up for helping with this in some way of possible. Only issue is I would like to install on a Synology NAS. I have Docker  / Python / Git installed, and I can retrieve images etc, but am falling at having virtualenv installed. Any suggestions?

Update. I found virtualenv in "/volume1/@appstore/python/bin/virtualenv".

Update. I had to run "./venv/bin/docker-compose build --pull --force-rm "$@"" as sudo as there is no Docker group on my Synology.
Title: Re: Announcing simply-nzedb
Post by: ebro on 2016-11-15, 07:01:03 AM
OK, am up to bin/start_nzedb and get the following.

sudo venv/bin/docker-compose up -d
WARNING: The PWD variable is not set. Defaulting to a blank string.
Creating network "nzedb_default" with the default driver
Pulling adminer (clue/adminer:latest)...
latest: Pulling from clue/adminer
c02c7df4a131: Pull complete
a3ed95caeb02: Pull complete
bb0fa26d97bb: Pull complete
518c300041b3: Pull complete
93ec8e11265d: Pull complete
d4786dceebc8: Pull complete
7d567bf6b87b: Pull complete
34ab4e90e8cc: Pull complete
cbeb7eed8263: Pull complete
f159bb6a2c50: Pull complete
b5075b8e42e3: Pull complete
ffcee4e4f013: Pull complete
bdb5893c1bbf: Pull complete
Digest: sha256:47a888a40a1b24c8a49a34169ee4ef618e5a013076fb61424e4ce20629170a66
Status: Downloaded newer image for clue/adminer:latest
Creating nzedb_database_1

ERROR: for database  Cannot start service database: stat /data/var_lib_mysql: no such file or directory
ERROR: Encountered errors while bringing up the project."

Any suggestions?
Title: Re: Announcing simply-nzedb
Post by: slydetector on 2016-11-15, 08:38:17 AM
Responded here: https://github.com/slydetector/simply-nzedb/issues/4#issuecomment-260687530
Title: Re: Announcing simply-nzedb
Post by: fableman on 2016-12-27, 02:09:02 AM
Thank alot for this install help!!!
Title: Re: Announcing simply-nzedb
Post by: zen0n on 2017-01-02, 10:41:43 PM
idiot first time docker use question,  everything seemed to install great.  But it's behind some internal docker nat network it seems.  Any quick way to change the docker container to grab an ip from the dhcp server on the LAN?
Title: Re: Announcing simply-nzedb
Post by: dildo_baggins on 2017-01-04, 12:42:35 PM
you did an AMAZING JOB!!  kudos dude!
Title: Re: Announcing simply-nzedb
Post by: slydetector on 2017-01-05, 03:22:47 PM
idiot first time docker use question,  everything seemed to install great.  But it's behind some internal docker nat network it seems.  Any quick way to change the docker container to grab an ip from the dhcp server on the LAN?

The way docker containers work, they don't get their ip addresses from an external dhcp server. Docker networking is pretty complicated with all the things you can configure and options. The way this is set up, it only exposes the the tcp port for the web interface and proxyies that to your externally visible interface (usually eth0).  Maybe if you explain what you're trying to do, I could be a bit more helpful :-)
Title: Re: Announcing simply-nzedb
Post by: adr3nal1n on 2017-01-26, 07:14:11 AM
Hi,

Thank you @slydetector for your work on this,

Just tested this docker setup on my arch linux file server,

I noticed after setup was complete that the web interface did not show the "Other" drop down menu.

I had to run this sql query to get it to show up on the web interface:

Code: [Select]
UPDATE categories SET id='0' WHERE id='1000001';


Title: Re: Announcing simply-nzedb
Post by: trev on 2017-01-31, 10:42:29 AM
I've been out of the loop on this project for a very long time but I come back here to see how things are progressing.  I have used this docker image (new to docker images) and love how easy it is to setup.  I installed it in Virtualbox with no problem, however I have a question.  If I shutdown tmux, how do I start tmux/nzedb again?
Title: Re: Announcing simply-nzedb
Post by: vanbrabant on 2017-03-21, 12:22:49 PM
I get ircscraper connection refused, any ideas?
Title: Re: Announcing simply-nzedb
Post by: blindguy on 2017-06-11, 04:57:53 PM
I just got this going and it looks awesome but I do have a couple of questions.

1 - A lot of stuff seems disabled/terminated, how do I start them up?
      for instance postprocessing additional, non_amazon and amazon are all disabled and Pane is dead.

2 - on ICR screper IO get php_network_getaddress: getaddrinfo failed: name dopes not resolvee

3 - On Monitor page it says that there is only one group backfilling but it says it has hit the maximum we can backfill but in the config i set the backfill for 5 groups to yes and set them to 10 days but no backfill

4 - it does not seem to be finding anythign in the groups I'm scanning - I have zero releases when looking in the web gui
Title: Re: Announcing simply-nzedb
Post by: WyldWolf on 2017-09-19, 07:20:52 AM
LOL I love that reply.....it "looks awesome" and "works great" except.......friggin EVERYTHING doesn't work.  It's not just you - I too can't get pretty much anything but the base service running after this setup script, which then really defeats the purpose of a helper setup script/system if it doesn't actually configure anything.  It doesn't help that literally 90% of all the docs on NZEDB are either incomplete or for some reason just incorrect.  I've literally had to set much of this up from reading actual source code and reverse engineering it to then figure out what the heck it's expecting in the config files, etc.

I love the idea of this docker build file and scripts, but it needs more work to enable what really is needed and not what the incorrect docs state (like leaving all the irc stuff blank and expecting it to just magically work).  If I get some time I may try to add in what is missing etc. but I have yet to see NZEDB running with everything like ircscraper and all the plugins working properly in a Docker container.  Would love it if someone could show me a working Dockerfile to prove to me it's even possible.



I just got this going and it looks awesome but I do have a couple of questions.

1 - A lot of stuff seems disabled/terminated, how do I start them up?
      for instance postprocessing additional, non_amazon and amazon are all disabled and Pane is dead.

2 - on ICR screper IO get php_network_getaddress: getaddrinfo failed: name dopes not resolvee

3 - On Monitor page it says that there is only one group backfilling but it says it has hit the maximum we can backfill but in the config i set the backfill for 5 groups to yes and set them to 10 days but no backfill

4 - it does not seem to be finding anythign in the groups I'm scanning - I have zero releases when looking in the web gui
Title: Re: Announcing simply-nzedb
Post by: kaibosh on 2017-09-19, 11:51:08 PM
Please read the first post. There OP provides a link for reporting issues with the docker image.
Title: Re: Announcing simply-nzedb (Defunct)
Post by: noobg on 2018-11-18, 08:31:45 PM
I've been tinkering on an update to this apparently "defunct" docker container.  It is working for me, all bells and whistles right up to the latest dev branch (although the container itself is currently set to 0.8.12.0.  If someone wants to give it a shot, please let me know what isn't working out of the box and I'll tweak it.  You do need to follow the directions and i've likely forgotten a couple necessary ones so some beta testers would be appreciated.
I've sent a pull request to the original repository, but if they aren't interested in merging it you can find my fork at https://github.com/pl77/simply-nzedb