Closed boppen closed 5 years ago
Just fill in a valid e-mail, @ isn't valid
Also a user and password is required, otherwise you can't login.
They were filled in, I just forgot about markdown so they looked empty, edited :)
It's actually a problem with observer and how user is created, not install itself. Will fix later today.
same problem here
Ubuntu 18.04, PHP 7.3.2, Apache, MariaDB 10.2.22
Followed the installation guide, copied .env.example to .env and filled in the fields that the guide told me to. When running php artisan nntmux:install it fails with the following error:
Address in mailbox given [] does not comply with RFC 2822, 3.6.2.Unable to add admin user! NNTmux installation failed. Fix reported problems and try again
Admin user settings in env: ADMIN_USER=
ADMIN_PASS= ADMIN_EMAIL=name>@<domain Looked in the user table and the user is actually inserted (with the correct email). Unfortunatly I don't know enough PHP to debug and track down the problem but hopefully the information given should be enough.
how did u fix it>?
This has been fixed in commit https://github.com/NNTmux/newznab-tmux/commit/e6b4bc5a6e774ab51c7bb0a88dcad4e25a66442f as stated above.
It is in dev branch. I am closing this.
i have used the commited file however still same error any ideas?
reddid everything clean install same error :(
Same error.
Check admin email address in your .env file.
Thanks. Did. Doesn’t seem to be the problem. Bazaar thing: I can access all admin functionality directly via http://localhost/admin/, but I can’t login as a user/admin via the login page. I even added a new admin, to no avail. Added a “user” and localhost/login throws the error below. Could this have something to do with it? Maybe not. (Have to get some sleep now. I’ll check back tomorrow).
Illuminate\Contracts\Container\BindingResolutionException
Target class [PragmaRX\Firewall\Middleware\FirewallBlacklist] does not exist.
/var/www/NNTmux/
Telescope
Illuminate\Contracts\Container\BindingResolutionException
Target class [PragmaRX\Firewall\Middleware\FirewallBlacklist] does not exist.
45
vendor/laravel/framework/src/Illuminate/Container/Container.php
Illuminate\Container\Container
:805
1
public/index.php
:7
Illuminate\Container\Container::build
vendor/laravel/framework/src/Illuminate/Container/Container.php:805
*
* @throws \Illuminate\Contracts\Container\BindingResolutionException
*/
public function build($concrete)
{
// If the concrete type is actually a Closure, we will just execute it and
// hand back the results of the functions, which allows functions to be
// used as resolvers for more fine-tuned resolution of these objects.
if ($concrete instanceof Closure) {
return $concrete($this, $this->getLastParameterOverride());
}
try {
$reflector = new ReflectionClass($concrete);
} catch (ReflectionException $e) {
throw new BindingResolutionException("Target class [$concrete] does not exist.", 0, $e);
}
// If the type is not instantiable, the developer is attempting to resolve
// an abstract type such as an Interface or Abstract Class and there is
// no binding registered for the abstractions so we need to bail out.
if (! $reflector->isInstantiable()) {
return $this->notInstantiable($concrete);
}
$this->buildStack[] = $concrete;
$constructor = $reflector->getConstructor();
// If there are no constructors, that means there are no dependencies then
// we can just resolve the instances of the objects right away, without
From: DariusIII [mailto:notifications@github.com] Sent: Sunday, April 12, 2020 9:24 PM To: NNTmux/newznab-tmux Cc: DrakeJones; Comment Subject: Re: [NNTmux/newznab-tmux] New install fails with error 'Unable to add admin user!' (#928)
Check admin email address in your .env file.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/NNTmux/newznab-tmux/issues/928#issuecomment-612663929 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPYFGAQK3U2G45TARJC54LRMIILXANCNFSM4G4U3ITQ . https://github.com/notifications/beacon/ABPYFGHNQCJXQUCEY7545DLRMIILXA5CNFSM4G4U3IT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOESCIE6I.gif
Update to latest version, that firewall issue has been fixed.
No joy. Still can’t login. Selecting “Contact” Button using Chrome throws the error shown immediately below, but oddly enough, Firefox throws a different error (shown further down). I’m using Debian Buster, by the way. Could I have misconfigured something?
CHROME ERROR
/var/www/NNTmux/
Telescope
Illuminate\Contracts\Container\BindingResolutionException
Target class [PragmaRX\Firewall\Middleware\FirewallBlacklist] does not exist.
http://192.168.10.9/contact-us
45
vendor/laravel/framework/src/Illuminate/Container/Container.php
Illuminate\Container\Container
:805
1
public/index.php
:7
Illuminate\Container\Container::build
vendor/laravel/framework/src/Illuminate/Container/Container.php:805
*
* @throws \Illuminate\Contracts\Container\BindingResolutionException
*/
public function build($concrete)
{
// If the concrete type is actually a Closure, we will just execute it and
// hand back the results of the functions, which allows functions to be
// used as resolvers for more fine-tuned resolution of these objects.
if ($concrete instanceof Closure) {
return $concrete($this, $this->getLastParameterOverride());
}
try {
$reflector = new ReflectionClass($concrete);
} catch (ReflectionException $e) {
throw new BindingResolutionException("Target class [$concrete] does not exist.", 0, $e);
}
// If the type is not instantiable, the developer is attempting to resolve
// an abstract type such as an Interface or Abstract Class and there is
// no binding registered for the abstractions so we need to bail out.
if (! $reflector->isInstantiable()) {
return $this->notInstantiable($concrete);
}
$this->buildStack[] = $concrete;
$constructor = $reflector->getConstructor();
// If there are no constructors, that means there are no dependencies then
// we can just resolve the instances of the objects right away, without
FIREFOX ERROR
Illuminate\Contracts\Container\BindingResolutionException: Target class [PragmaRX\Firewall\Middleware\FirewallBlacklist] does not exist. in file /var/www/NNTmux/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 805
From: DariusIII [mailto:notifications@github.com] Sent: Sunday, April 12, 2020 9:48 PM To: NNTmux/newznab-tmux Cc: DrakeJones; Comment Subject: Re: [NNTmux/newznab-tmux] New install fails with error 'Unable to add admin user!' (#928)
Update to latest version, that firewall issue has been fixed.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/NNTmux/newznab-tmux/issues/928#issuecomment-612666873 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPYFGEVI56YXMQYQEALFQTRMILHNANCNFSM4G4U3ITQ . https://github.com/notifications/beacon/ABPYFGC6VYL3OZPL37ADIE3RMILHNA5CNFSM4G4U3IT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOESCI36I.gif
Target class [PragmaRX\Firewall\Middleware\FirewallBlacklist] does not exist.
Try running the dev branch.
The “Contact” button is working now, but I still can’t log in. I must have misconfigured db permissions. Any suggestions on where else to look?
From: Fossil [mailto:notifications@github.com] Sent: Monday, April 13, 2020 10:18 AM To: NNTmux/newznab-tmux Cc: DrakeJones; Comment Subject: Re: [NNTmux/newznab-tmux] New install fails with error 'Unable to add admin user!' (#928)
Target class [PragmaRX\Firewall\Middleware\FirewallBlacklist] does not exist.
Try running the dev branch.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/NNTmux/newznab-tmux/issues/928#issuecomment-612802661 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPYFGDWVV547NDYLIUAC3TRMLDE7ANCNFSM4G4U3ITQ . https://github.com/notifications/beacon/ABPYFGGSUT4XBRBYH6HA323RMLDE7A5CNFSM4G4U3IT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOESDKAZI.gif
Post logs from storage/logs to https://kopy.io
Horizon.log https://kopy.io/g63zX
Laravel log https://kopy.io/VZUS5
From: Fossil [mailto:notifications@github.com] Sent: Monday, April 13, 2020 11:14 AM To: NNTmux/newznab-tmux Cc: DrakeJones; Comment Subject: Re: [NNTmux/newznab-tmux] New install fails with error 'Unable to add admin user!' (#928)
Post logs from storage/logs to https://kopy.io
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/NNTmux/newznab-tmux/issues/928#issuecomment-612821907 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPYFGEGDXP6USFDGNURKKLRMLJWJANCNFSM4G4U3ITQ . https://github.com/notifications/beacon/ABPYFGAYARJVMT6IL7UHYQDRMLJWJA5CNFSM4G4U3IT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOESDOXEY.gif
The logs explain itself:
UnexpectedValueException : The stream or file "/var/www/NNTmux/storage/logs/laravel-2020-04-13.log" could not be opened: chmod(): Operation not permitted
Permissions error.
Connection refused at /var/www/NNTmux/vendor/laravel/framework/src/Illuminate/Redis/Connectors/PhpRedisConnector.php:130)
Either Redis is not running or the config is wrong.
Yes indeedy. Thank you. I reconfigured Redis (status shown below). It’s up and running but still not connecting. What are the proper permissions? And, would that prevent login in to NNTmux?
redis-server.service - Advanced key-value store
Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor preset:
Active: activating (start) since Mon 2020-04-13 15:09:57 CEST; 50s ago
Docs: http://redis.io/documentation,
man:redis-server(1)
Cntrl PID: 3132 (redis-server)
Tasks: 4 (limit: 4661)
Memory: 7.1M
CGroup: /system.slice/redis-server.service
└─3132 /usr/bin/redis-server *:6379
Apr 13 15:09:57 pino systemd[1]: Starting Advanced key-value store...
Apr 13 15:09:57 pino redis-server[3132]: 3132:C 13 Apr 2020 15:09:57.891 # oO0OoO0OoO
Apr 13 15:09:57 pino redis-server[3132]: 3132:C 13 Apr 2020 15:09:57.891 # Redis vers
Apr 13 15:09:57 pino redis-server[3132]: 3132:C 13 Apr 2020 15:09:57.891 # Configurat
Apr 13 15:09:57 pino redis-server[3132]: 3132:M 13 Apr 2020 15:09:57.893 * Running mo
Apr 13 15:09:57 pino redis-server[3132]: 3132:M 13 Apr 2020 15:09:57.893 # Server ini
Apr 13 15:09:57 pino redis-server[3132]: 3132:M 13 Apr 2020 15:09:57.893 # WARNING ov
Apr 13 15:09:57 pino redis-server[3132]: 3132:M 13 Apr 2020 15:09:57.893 # WARNING yo
Apr 13 15:09:57 pino redis-server[3132]: 3132:M 13 Apr 2020 15:09:57.893 * Ready to a
~
From: Fossil [mailto:notifications@github.com] Sent: Monday, April 13, 2020 11:39 AM To: NNTmux/newznab-tmux Cc: DrakeJones; Comment Subject: Re: [NNTmux/newznab-tmux] New install fails with error 'Unable to add admin user!' (#928)
The logs explain itself:
UnexpectedValueException : The stream or file "/var/www/NNTmux/storage/logs/laravel-2020-04-13.log" could not be opened: chmod(): Operation not permitted
Permissions error.
Connection refused at /var/www/NNTmux/vendor/laravel/framework/src/Illuminate/Redis/Connectors/PhpRedisConnector.php:130)
Either Redis is not running or the config is wrong.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/NNTmux/newznab-tmux/issues/928#issuecomment-612829938 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPYFGEPUVHNK742E6NOOJTRMLMTHANCNFSM4G4U3ITQ . https://github.com/notifications/beacon/ABPYFGE6WJ4IPJ2XL25KYI3RMLMTHA5CNFSM4G4U3IT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOESDQV4Q.gif
Post logs. Dont use e-mail, it's shit.
Got it. https://kopy.io/pXTn4 Running nZEDb at the moment. It's stable and an amazing thing, but I'm not overjoyed with it at the moment.
Your Redis install or config is still wrong. Try following the Installation guide again.
I'll reinstall. It's learning experience. Thank you for your time
Ubuntu 18.04, PHP 7.3.2, Apache, MariaDB 10.2.22
Followed the installation guide, copied .env.example to .env and filled in the fields that the guide told me to. When running php artisan nntmux:install it fails with the following error:
Address in mailbox given [] does not comply with RFC 2822, 3.6.2.Unable to add admin user! NNTmux installation failed. Fix reported problems and try again
Admin user settings in env: ADMIN_USER=\<username> ADMIN_PASS=\<password> ADMIN_EMAIL=\name\>@\<domain\
Looked in the user table and the user is actually inserted (with the correct email). Unfortunatly I don't know enough PHP to debug and track down the problem but hopefully the information given should be enough.