Nextcloud version (eg, 20.0.5): 23.0.0.10
Operating system and version (eg, Ubuntu 20.04): Ubuntu 20.04
Apache or nginx version (eg, Apache 2.4.25): nginx version: nginx/1.18.0 (Ubuntu)
PHP version (eg, 7.4): PHP 8.0.14 (cli) (built: Dec 20 2021 21:22:57) ( NTS )
The issue you are facing:
Evey time I try and login it won’t allow me due to a Internal Server error
it says something about brute force, but there is nothing in the Brutefoce DB table
Is this the first time you’ve seen this error? (Y/N):
Y
Steps to replicate it:
- Don’t know
The output of your Nextcloud log in Admin > Logging:
Error index Exception: unpack(): Argument #2 ($string) must be of type string, null given in file 2021-12-23T17:17:52+00:00
'/home/cloud/public_html/lib/private/Security/Normalizer/IpAddress.php' line 89 at lib/private/AppFramework/Http/Dispatcher.php line 158
0. lib/private/AppFramework/App.php line 157
OC\AppFramework\Http\Dispatcher->dispatch(
)
1. lib/private/Route/Router.php line 302
OC\AppFramework\App::main(
)
2. lib/base.php line 1006
OC\Route\Router->match(
)
3. index.php line 36
OC::handleRequest(
)
Caused by TypeError: unpack(): Argument #2 ($string) must be of type string, null given at lib/private/Security/Normalizer/IpAddress.php line 89
0. lib/private/Security/Normalizer/IpAddress.php line 89
unpack(
)
1. lib/private/Security/Normalizer/IpAddress.php line 150
OC\Security\Normalizer\IpAddress->getIPv6Subnet(
)
2. lib/private/Security/Bruteforce/Throttler.php line 305
OC\Security\Normalizer\IpAddress->getSubnet(
)
3. lib/base.php line 809
OC\Security\Bruteforce\Throttler->resetDelay(
)
4. <<closure>>
OC::{closure}("*** sensitive parameters replaced ***")
5. lib/private/Hooks/EmitterTrait.php line 106
call_user_func_array(
)
6. lib/private/Hooks/PublicEmitter.php line 40
OC\Hooks\BasicEmitter->emit(
)
7. lib/private/User/Session.php line 411
OC\Hooks\PublicEmitter->emit(
)
8. lib/private/Authentication/Login/CompleteLoginCommand.php line 44
OC\User\Session->completeLogin("*** sensitive parameters replaced ***")
9. lib/private/Authentication/Login/ALoginCommand.php line 40
OC\Authentication\Login\CompleteLoginCommand->process(
)
10. lib/private/Authentication/Login/LoggedInCheckCommand.php line 60
OC\Authentication\Login\ALoginCommand->processNextOrFinishSuccessfully(
)
11. lib/private/Authentication/Login/ALoginCommand.php line 40
OC\Authentication\Login\LoggedInCheckCommand->process(
)
12. lib/private/Authentication/Login/EmailLoginCommand.php line 58
OC\Authentication\Login\ALoginCommand->processNextOrFinishSuccessfully(
)
13. lib/private/Authentication/Login/ALoginCommand.php line 40
OC\Authentication\Login\EmailLoginCommand->process(
)
14. lib/private/Authentication/Login/UidLoginCommand.php line 54
OC\Authentication\Login\ALoginCommand->processNextOrFinishSuccessfully(
)
15. lib/private/Authentication/Login/ALoginCommand.php line 40
OC\Authentication\Login\UidLoginCommand->process(
)
16. .../private/Authentication/Login/UserDisabledCheckCommand.php line 58
OC\Authentication\Login\ALoginCommand->processNextOrFinishSuccessfully(
)
17. lib/private/Authentication/Login/ALoginCommand.php line 40
OC\Authentication\Login\UserDisabledCheckCommand->process(
)
18. lib/private/Authentication/Login/PreLoginHookCommand.php line 53
OC\Authentication\Login\ALoginCommand->processNextOrFinishSuccessfully(
)
19. lib/private/Authentication/Login/Chain.php line 108
OC\Authentication\Login\PreLoginHookCommand->process(
)
20. core/Controller/LoginController.php line 329
OC\Authentication\Login\Chain->process(
)
21. lib/private/AppFramework/Http/Dispatcher.php line 217
OC\Core\Controller\LoginController->tryLogin("*** sensitive parameters replaced ***")
22. lib/private/AppFramework/Http/Dispatcher.php line 126
OC\AppFramework\Http\Dispatcher->executeController(
)
23. lib/private/AppFramework/App.php line 157
OC\AppFramework\Http\Dispatcher->dispatch(
)
24. lib/private/Route/Router.php line 302
OC\AppFramework\App::main(
)
25. lib/base.php line 1006
OC\Route\Router->match(
)
26. index.php line 36
OC::handleRequest(
)
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => '**',
'passwordsalt' => '**',
'secret' => '**',
'trusted_domains' =>
array (
0 => '***',
),
'datadirectory' => '**',
'dbtype' => 'mysql',
'version' => '23.0.0.10',
'overwrite.cli.url' => ***',
'dbname' => '***',
'dbhost' => 'localhost',
'htaccess.RewriteBase' => '/',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => '***',
'dbpassword' => '***',
'installed' => true,
'app_install_overwrite' =>
array (
0 => 'documentserver_community',
1 => 'timetracker',
),
'maintenance' => false,
);
The output of your Apache/nginx/system log in /var/log/____
:
Nothing