Recent Posts

Pages: [1] 2 3 ... 10
1
Support / Re: Can't run Install
« Last post by Wally73 on 2021-01-05, 08:47:19 am »
2
Support / [Solved] Can't run Install
« Last post by genebeck on 2021-01-03, 06:07:19 pm »
I have a new build on Ubuntu 18.04.  Everything work up to the point of http/xxx/install.   I get a http 500 error.  After digging into the error logs I find it is complaining about Lithium not being found.  I checked the libraries folder and it is empty.

The question is, have I messed up a step or has the git clone failed?  Here is the log:

Quote
[Sun Jan 03 14:25:55.923581 2021] [php7:warn] [pid 10130] [client 192.168.0.50:63701] PHP Warning:  include_once(/var/www/nZEDb/libraries/lithium/core/Libraries.php): failed to open stream: No such file or directory in /var/www/nZEDb/app/config/bootstrap/libraries.php on line 74
[Sun Jan 03 14:25:55.923648 2021] [php7:warn] [pid 10130] [client 192.168.0.50:63701] PHP Warning:  include_once(): Failed opening '/var/www/nZEDb/libraries/lithium/core/Libraries.php' for inclusion (include_path='.:/usr/share/php') in /var/www/nZEDb/app/config/bootstrap/libraries.php on line 74
[Sun Jan 03 14:25:55.923737 2021] [php7:error] [pid 10130] [client 192.168.0.50:63701] PHP Fatal error:  Uncaught ErrorException: Lithium core could not be found.  Check the value of LITHIUM_LIBRARY_PATH in /var/www/nZEDb/app/config/bootstrap/libraries.php.  It should point to the directory containing your /libraries directory. in /var/www/nZEDb/app/config/bootstrap/libraries.php:78\nStack trace:\n#0 /var/www/nZEDb/app/config/bootstrap.php(39): require_once()\n#1 /var/www/nZEDb/www/smarty.php(22): require_once('/var/www/nZEDb/...')\n#2 /var/www/nZEDb/www/install/index.php(7): require_once('/var/www/nZEDb/...')\n#3 {main}\n  thrown in /var/www/nZEDb/app/config/bootstrap/libraries.php on line 78
 

After some much need help this issue was resolved.  I will share what I missed in case somebody else runs into this problem.

There are actually 2 issues.  The first was I did not run the compose install command to download the rest of the code.  The 2nd problem was that I had composer v2 NOT v1.   There is a direct download at the bottom of the compose download for manual download of the latest version 1.  I copied the link then in putty used wget to save the composer phar file into the nZEDb root folder and then run the app.  I opted not to make composer global.

Quote
wget https://getcomposer.org/composer-1.phar
php composer-1.php install --prefer-source
3
New install, new git pull, can not get any releases from: a.b.multimedia.anime.highspeed
Configuration is:
Minimum Files To Form Release: 1
Minimum File Size to Make a Release: 1
When it tries to create a release I get:
Process Releases -> Delete collections smaller/larger than minimum size/file count from group/site setting.
Deleted 447924 collections:
0 smaller than, 0 bigger than, 447924 with less files than site/group settings in: 4 second(s)
Debug: [13/Oct/2020 20:29] [ERROR]  [0.15,0.09,0.09] [00H:00M:00S] [MEM:~~~6MB] [USR: 00H:00M:00S SYS: 00H:00M:00S FAULTS: 0 SWAPS: 0] [PID:95104] [nzedb\Regexes.nzedb\Regexes::_matchRegex] [Regex match failed - table: release_naming_regexes, regex: /^[[(]d+/d+[])] - " ?(?P<match0>.+?) ?[. ](7z|avi|md5|mkv|mp4|nzb|par|vol)t?d+.+yEnc$/]

None basically nothing is added, I get a few random (and junk release), but nothing to speak of I have an old build of nZEDb from January on an old server and this one has no issues with getting releases, so I'm lost as to what is wrong.  Other groups work, and what really gets me is:"447924 with less files than site/group settings", but files is set to 1.

ERIC
4
General Talk / knock knock....
« Last post by breedingh8 on 2020-05-17, 09:47:20 pm »
knock, herro anyrun horme!?

this damn thing on..


yea as figured 500 error!.. lol
5
General Talk / Re: Request - Upload obfuscated NZB via API
« Last post by brumsky on 2020-02-24, 08:44:51 am »
@Wally73

Yes you're correct, I meant to say NZBs. 

It is to protect that which is posted.

Thanks for the reply.  :)
6
General Talk / Re: Request - Upload obfuscated NZB via API
« Last post by Wally73 on 2020-02-19, 02:51:46 am »
1. nzedb has nothing to do with torrents

2. it sounds like its promoting to post which is most likely illegal
7
General Talk / Re: Request - Upload obfuscated NZB via API
« Last post by brumsky on 2020-02-18, 07:42:29 am »
Any thoughts on this?

The idea is to try and limit or reduce the chance the torrent NZBs is taken down. 

EDIT:
I meant NZBs not torrents!   ;)
8
General Talk / Request - Upload obfuscated NZB via API
« Last post by brumsky on 2020-02-12, 04:00:58 pm »
I know of an indexer that allows you to upload a NZB that has been obfuscated.

This is from their config file for the uploader someone built to use that API.

# API url that is used to notify the indexer of an obfuscated release.
# The following two parameters will be replaced:
#   {0} by the obfuscated name of the file/folder
#   {1} by the original name of the file/folder
#   optionally ${ApiKey} will be replaced by the value entered above
ObfuscatedNotificationUrl=https://api.apiserver.com/api?hash={0}&name={1}&apikey=${ApiKey}

This way the NZB file has a GUID, while the indexer knows what it is.  Would it be possible to implement something like this??  That would be huge!
9
did you check the db on errors??

i'm guessing releases tables are crashed

ps if  you use mysql sock leave DB_HOST and DB_PORT empty
10
Support / Crash recovery, mysql cmd and phpmyadmin work fine, but nZEDb
« Last post by egandt on 2020-01-18, 04:59:24 am »
Crash recovery, mysql cmd and phpmyadmin work fine, but  nZEDb

Code: [Select]
[18-Jan-2020 07:54:00 America/New_York] PHP Fatal error:  Uncaught PDOException: SQLSTATE[HY000] [2002] Connection refused in /websites/nZEDb17a/nzedb/db/DB.php:1343
Stack trace:
#0 /websites/nZEDb17a/nzedb/db/DB.php(1343): PDO->__construct('mysql:host=0;po...', 'DBNAME', 'PASSWORD', Array)
#1 /websites/nZEDb17a/nzedb/db/DB.php(212): nzedb\db\DB->connect(Array)
#2 /websites/nZEDb17a/nzedb/SphinxSearch.php(31): nzedb\db\DB->__construct(Array)
#3 /websites/nZEDb17a/nzedb/Releases.php(66): nzedb\SphinxSearch->__construct()
#4 /websites/nZEDb17a/www/pages/browse.php(10): nzedb\Releases->__construct(Array)
#5 /websites/nZEDb17a/www/index.php(89): require_once('/websites/nZEDb...')
#6 {main}
  thrown in /websites/nZEDb17a/nzedb/db/DB.php on line 1343

So if I can manualy connect using this login/password and myphpadmin works, why is nZEDb unable to connect?  I tried with and without the socket connection enabled same errrors.

Code: [Select]
//=========================
// Config you must change - updated by installer.
//=========================
define('DB_SYSTEM', 'mysql');
define('DB_HOST', '127.0.0.1');
define('DB_PORT', '3306');
define('DB_SOCKET', '/var/run/mysqld/mysqld.sock');
define('DB_USER', 'DBUSER');
define('DB_PASSWORD', 'PASSWWORD');
define('DB_NAME', 'DBNAME');
define('DB_PCONNECT', false);

the exact same information works via mysql -u DBUSER -p DBNAME
which also uses the socket so why is nZEDb throwing connections issues and how to debug this?  as I see no independent way to verify the connection beyond what I'm doing.

Example of mysql working:
Code: [Select]
root@vmware_nzdb:/# mysql -u DBUSER -p DBNAME
Enter password: <PASSWORD>
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 2730
Server version: 10.0.38-MariaDB-0ubuntu0.16.04.1 Ubuntu 16.04

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [nzedb17a]> show tables;
+--------------------------+
| Tables_in_nzedb17a       |
+--------------------------+
| allgroups                |
| anidb_episodes           |
| anidb_info               |
| anidb_titles             |
| audio_data               |
| binaries                 |
| binaries_1               |
| binaries_1000001         |
| binaries_1000002         |
| binaries_1000003         |
| binaries_1000004         |
| binaries_1000021         |
| binaries_1000025         |
....

ERIC
Pages: [1] 2 3 ... 10