Giter VIP home page Giter VIP logo

nzedbetter's Introduction

Please visit the official nZEDbetter Wiki at http://nzedbetter.org The original nZEDb is available here: https://github.com/nZEDb/nZEDb


Bad News - MusicBrainz Integration Delayed Again :(

Unfortunately, my dev server is officially dust. I have had to rebuild it from the OS up three times in the last week, and have finally narrowed it down to the crappy RAID card I was using. Fortunately, the wife agreed to me buying some new hardware, which will be here on Tuesday. The bad part is I was in the middle of working on the MB integration and as such, have lost the nice big database I was working with. So, come Tuesday, we start from scratch with a new server and new database, and thus start the backfill process from scratch... again.

All of that begin said, I have spent more time trying to recover databases and files than actually writing any code this past week. I now expect to have a preliminary release of the MB integration done by 12/16.


New, Vastly Improved, Setup Script

With all the reinstalls I did over the past week due to the aforementioned server failures, I did make some dramatic improvements to the setup script. It now does the following:

  • You are prompted if you want to install optional features (such as the long ffmpeg compile process)
  • The script automatically updates the date.timezone setting in both php.ini files
  • A my.cnf file is automatically generated now that is customized based on the total RAM of the server. This my.cnf file also has some additional settings in it that are not included in the base my.cnf that is generated by the Percona website.
  • A log of the installation is created automatically. If you have any problems, open an issue on Github and attach the log file. The log file is called nzedbetter_setup.log and is located whereever you ran the setup script from.

Here is the direct download link for the script: http://nzedbetter.org/download/setup.tar.gz


Version 0.6 Released

Version 0.6 is now in the master branch. If you are an existing user, you should be able to use the misc/autopatcher.php script to update. If you haven't used nZEDbetter before, you can visit the nZEDbetter Wiki for an easy to use setup script that will install everything you need to get a base Ubuntu 12 or 13 system up and running.

Speaking of Ubuntu, I have been testing non-stop on 13.10 without any issues. This means that nZEDbetter now supports 13.04 and 13.10, 64-bit. I have also been using PHP 5.5 for all testing for about a month with no issues, so consider it blessed as well.

This latest version incorporates some bug fixes and a few enhancements. For the full list, please visit the changelog on the wiki.

Lastly, the MusicBrainz integration is coming along nicely. So far, I'm seeing a fairly decent increase in proper identification compared with the Amazon look-ups. I plan to have the first version with MB integration completed and released by December 2nd.


11/4 Update - New Feature Added To Keep Parts DB Small

Three major fixes/additions:

  1. Fixed autopatcher.php and patchmysql.php to work correctly now. Future changes to the database schema will be posted in the nZEDbetter/db/patches directory. Like with nZEDb, your current database version will be tracked within the site table, so the script will know which patch(es) need to be applied. The autopatcher.php script needs to be run with sudo to have the proper permissions to update the directories (i.e. run sudo php ./autopatcher.php from the misc/testing/DB_scripts directory). There are a couple of things to note though. First, in order to use the updated autopatcher in the future, you will need to manually update by typing sudo git pull from the /var/www/nZEDbetter directory. This will only work if you haven't changed any files though. If you get any errors, try typing sudo git fetch --all && sudo git reset --hard origin/master from the /var/www/nZEDbetter directory. Secondly, autopatcher will also automatically run patchmysql, so you don't need to do that separately. Lastly, with the new DB patch I committed today, the patch will probably take quite a while to complete if you have a large parts database. This is because I realized over the weekend I mistakenly left a couple of indexes in place that serve no purpose other than to waste space. I apologize for that.

  2. I added a pretty major enhancement over the weekend. nZEDbetter will now automatically purge or convert to releases collections that have had no activity within 6 hours of either the newsgroups first post or last post. This is pretty significant enhancement that should help prevent the parts table from growing excessively large due to incomplete binaries. The decision as to whether to purge a collection or convert it to a release is based on an estimated percentage of how complete the collection is. The percentage is determined by the setting in site settings for what percentage of completion to keep releases. In other words, if you have the system set to keep releases above 95% (the default), the purge script will only convert a collection to a release if 95% of the parts are available. Since this check is performed once an hour by the purge thread script, you may see a fairly dramatic reduction in the size of the parts table due to collections that never complete. Right now, the only thing that can be adjusted is the site percentage setting, however, I plan to make the whole process optional, and allow you to define the number of hours to allow collections to be inactive. I'll have that done tonight or tomorrow.

  3. I fixed a couple of minor things with the backfill_predb script. It should now work just fine. I cloned Johnnyboys predb repository, and hope to try and update it every so often. I also made a change to the manual predb backfill files that will allow you to run them even if there are already entries in your predb table. The backfill_predb script can be run any time regardless of whether there are entries in the predb table or not. My version of the repo is available at https://github.com/KurzonDax/pre-info

I plan to officially begin the MusicBrainz integration module tomorrow. I had to let my development server, which just got rebuilt last week, backfill for a while to give me a big bunch of music binaries to test against. Hopefully, I'll have the integration complete in about 2-3 weeks. Stay tuned for more details...

To see screenshots of the new newsgroups section, look at #29

My next major tasks are outlined below:

  • Finish MusicBrainz Integrtion (2-3 weeks to complete)
  • Test with Ubuntu 13.10, Apache 2.4, and PHP 5.5 - Completed, all are now supported
  • Get this repo moved so it's an actual fork of @nZEDb (see help request below)
  • Develop Sphinx integration (unknown dev time, probably a month)
  • Update search options on web front-end (1-2 weeks)

HELP!!

I need some help. I freely admit that I'm a github newb and would rather be coding than learning how to use it properly. That being said, I really would like to move this repo to be a true fork of the original nZEDb project. The catch is, I don't want to lose my history. I've done some research and it seems doable, but I didn't really find a consistent method. Anyone have any ideas? If so, please create an issue in the Issues section with your thoughts on the best way to go about it. I will forever be in your debt.


Latest Changes

Some of the things I've added most recently:

  • Admin seciton has a new look. It isn't complete yet, but the groups administration section is done.
  • Some minor bug fixes with the front end templates
  • Added optional ability to capture Amazon rating for books, console, and music.
  • Auto-suggestions for Authors, Genres, and Publishers in eBook search (soon to be added to search fields in Console, Music, and maybe movies also)
  • Ability to filter search results based on Amazon customer ratings
  • Moved the collection/binary/parts purging to a separate process from the Update Releases.
  • Some major purging functions (like old releases, parts out of retention, etc.) now happen only on a user selectable schedule.
  • Drastic changes to the movie identification process. Should see much less mismatched movies when browsing the database.
  • A number of fixes to the part repair process, including ability to run the part repair process manually.
  • New "Hashed Releases" category under "Other", along with a number of regexes to automatically move releases there.
  • Includes ability now to set a separate retention time for hashed releases
  • Improved the NZB import process to ensure that once an NZB is imported from a directory, it won't be imported again if you need to stop and restart the import process.
  • Ability to limit the number of inital posts retrieved for a group when using the date option for new groups.
    This is handy for extremely prolific groups like alt.binaries.boneless
  • Option to automatically initiate a new group by the "posts" value, IF there aren't any posts within the number of days specified for new groups.
    Good for groups that you want to index, but don't see updates that often.
  • Numerous other bug fixes and improvements

Info

nZEDbetter is based completely on the amazing work of @johnnyboy, @sinfuljosh, and the rest of the nZEDb team. This application would not have been possible without me standing on the shoulders of those giants.

The original nZEDb project can be found here: https://github.com/nZEDb/nZEDb. If you have some spare change to donate, send it their way as a thanks for all of their hard work.

This project will remain open sourced, and open for user contributions.

nzedbetter's People

Contributors

kurzondax avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

nzedbetter's Issues

JPG samples being cut off or corrupted

Frequently seeing "premature end of jpeg" messages in post processing. I think this may have to do with not automatically getting the next part for the binary so the rest of the jpeg is pulled down.

Getting an error....

When I run the autopatcher script I get the following error:
kurt@Office:/var/www$ cd /var/www/nZEDbetter/misc/testing/DB_scripts
kurt@Office:/var/www/nZEDbetter/misc/testing/DB_scripts$ php autopatcher.php true
PHP Warning: mysqli::mysqli(): Headers and client library minor version mismatch. Headers:50534 Library:50614 in /var/www/nZEDbetter/www/lib/framework/db.php on line 27
PHP Stack trace:
PHP 1. {main}() /var/www/nZEDbetter/misc/testing/DB_scripts/autopatcher.php:0
PHP 2. DB->DB() /var/www/nZEDbetter/misc/testing/DB_scripts/autopatcher.php:7
PHP 3. mysqli->mysqli() /var/www/nZEDbetter/www/lib/framework/db.php:27
Already up-to-date.
Nothing to remove from /var/www/nZEDbetter/www/lib/smarty/templates_c/
Patching database - nzedbetter
PHP Warning: mysqli::mysqli(): Headers and client library minor version mismatch. Headers:50534 Library:50614 in /var/www/nZEDbetter/www/lib/framework/db.php on line 27
PHP Stack trace:
PHP 1. {main}() /var/www/nZEDbetter/misc/testing/DB_scripts/patchmysql.php:0
PHP 2. Sites->get() /var/www/nZEDbetter/misc/testing/DB_scripts/patchmysql.php:72
PHP 3. DB->DB() /var/www/nZEDbetter/www/lib/site.php:66
PHP 4. mysqli->mysqli() /var/www/nZEDbetter/www/lib/framework/db.php:27
ERROR: Have you changed the path to the patches folder, or do you have the right permissions?

Have done chmod -R 0777 nZEDbetter on folder so permissions are ok?
Also when I run start.php im seeing a lot of Headers and client library minor version mismatch. Headers:50534 Library:50614 errors in all panes.

What am i doing wrong?

removeCrapReleases does not go back far enough to handle when post-processing is way behind

When running removeCrapReleases as a part of the tmux scripts, it only goes back two hours based on when the release was added. However, if post processing is pretty far behind, such as when backfilling extremely groups, this doesn't catch everything, especially when removing executables. Need to add tmux option to adjust number of hours, or allow for "full" option that would check all releases.

Pre-info help please

Hi,
Could you give me a step by step guide to importing the pre-info into the database please. I'm useless at all this stuff!!
How's the musicbrainz stuff coming along? Any ETA?

Manual Part Repair

I am on Ubuntu 13.10 and I would like to know how to manually run part repair after setting the option in the backend. Can someone please help with this?

Thanks

Slow admin page loads

Did fresh install on ubuntu 13.04 using the install script. All went well. Have noticed that whenever I click on any of the admin pages the load times are in excess of 30 seconds. If I wait for the page to load and click home the homepage appears instantly. I didn't have this problem the last time I installed nzedbetter. Is there a simple fix?

Musicbrainz server documentation

Hi ,
Would it be possible for you to share your documentation for installing a local musicbrainz server with me? I have tried to use the official install instructions but they are worse than useless! Very much looking forward to the release of nzbetter, is 15th still expected release date?
Thanx.

[email protected]

Musicbrainz script

Hi Kurzon,

Is it safe to install the script yet? I've used it on a test machine and everything seemed ok. Just want to verify its good before putting it on my file server.

Cheers Kurt.

Cart functionality not working when using check boxes

When marking NZB's via checkboxes, the Add to Cart functionality reports that the release(s) have been added to the cart. However, when looking at My Cart, they are not there. Also, check of database indicates that the usercart table was not updated. pNotify does pop up though.

Why?

Why a new git instead of a fork or even better contribute to nZEDb? We would appreciate the help!!

Percona not starting.

After using the Easy Install script it seems Percona is actually not starting. Your documentation says that just incase it does not start use sudo tail -f /var/lib/mysql/mysql-error.log and to look for [Note] /usr/sbin/mysqld: ready for connections.

My log shows the following:
2014-01-30 19:46:38 26053 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.6.15-63.0-log' socket: '/var/lib/mysql/mysql.sock' port: 3306 Percona Server (GPL), Release 63.0

I decided to see if it could be restarted manually and received the following:
test@ubuntu:~$ sqlstop

  • Stopping MySQL (Percona Server) mysqld [fail]

test@ubuntu:~$ sqlstart

  • Starting MySQL (Percona Server) database server mysqld [fail]

I went ahead and restarted the entire project using the Hard Installation method. Percona installed fine, manually restarted fine and ran fine up until I copied and created the my.cnf file. Once this was created based off your recommend settings, Percona would start to act up like the Easy Installation method. Service could not be stopped or started properly. This also prevents phpmyadmin from being installed, think its because the Percona (mysql) is not started.

Please look into this and let me know if I did something wrong or something needs to be changed.

Testing was done on:
Vmware on an Alienware Laptop 16 gigs of ram i7. Ubuntu 13.10 up to date via apt.

Really hope you continue on this project cause its quite nice.

Preflight checks error

I installed with the easy script, everything is fine but when i reach the 2 part of the /install i have this error:

ERROR!
The following error occurred while submitting your request:
error
You should refresh the page and start the install wizard again.

Im using Ubuntu 13.10 64 bit, a clean install

Errors inserting binaries, parts, or collections

The most likely reason for this is due to deadlocks. It seems the latest version of Percona Server may be less graceful in dealing with deadlocks than previous versions. The somewhat quick solution to this is to add the following two lines to your MySQL my.cnf file. It will make the database just slightly less fault tolerant, but should prevent deadlocks due to index locking:

transaction_isolation = READ-COMMITTED
binlog_format = ROW

You will have to restart Percona (sudo service mysql restart). It may take a while for it to come back up, depending on the size of your binlogs. Don't get nervous if the restart appears to fail. It's almost certainly due to the binlog conversion from statement format to row format is taking a while to complete.

Just do sudo tail -f /var/lib/mysql/mysql-error.log and watch for a line saying it's ready for connections.

setup.sh DOS formatted

I had to convert setup.sh with dos2unix in order to get setup.sh to run. Wouldnt run otherwise. Just a heads up.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.