Update failed, user can't login

config

I am on debian
using docker, nginx, letsencrypt, mariadb

What did I?

I tried to upgrade nextcloud, but directly from 18 to 20… so it fails…

I have been able to recover by re doing a brand new install under nextcloud 18 (btw, i have created a new account with the same login and password)

Then i put the old sql database in the new.

Then i updated it correctly.

And everything seems to work correctly…

…Until another user tried to login and got:

Internal Server Error

The server was unable to complete your request.
If this happens again, please send the technical details below to the server administrator.
More details can be found in the server log.

Technical details

* Remote Address: 172.21.0.3
* Request ID:

Every other user than me can’t connect.

with my acount (admin) a can see all users but :
I can’t modify other user password.
If I delete a user, it’s impossible to recreate a new one with the same username.
I can disable and re-enable a user, but it doesn’t help.

detail of error in loggs
Error index Exception: HMAC does not match.

/var/www/html/lib/private/Security/CredentialsManager.php - line 101:

OC\Security\Crypto->decrypt("*** sensiti ... *")

/var/www/html/apps/files_external/lib/Listener/StorePasswordListener.php - line 53:

OC\Security\CredentialsManager->retrieve("*** sensiti ... *", "password::l ... s")

/var/www/html/lib/private/EventDispatcher/ServiceEventListener.php - line 76:

OCA\Files_External\Listener\StorePasswordListener->handle(OCP\User\Eve ... {})

/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php - line 251:

OC\EventDispatcher\ServiceEventListener->__invoke(OCP\User\Eve ... {}, "OCP\\User\\ ... t", Symfony\Comp ... {})

/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php - line 73:

Symfony\Component\EventDispatcher\EventDispatcher->callListeners([ Closure {},Closure {}], "OCP\\User\\ ... t", OCP\User\Eve ... {})

/var/www/html/lib/private/EventDispatcher/EventDispatcher.php - line 86:

Symfony\Component\EventDispatcher\EventDispatcher->dispatch(OCP\User\Eve ... {}, "OCP\\User\\ ... t")

/var/www/html/lib/private/EventDispatcher/EventDispatcher.php - line 98:

OC\EventDispatcher\EventDispatcher->dispatch("OCP\\User\\ ... t", OCP\User\Eve ... {})

/var/www/html/lib/private/Server.php - line 572:

OC\EventDispatcher\EventDispatcher->dispatchTyped(OCP\User\Eve ... {})

<>

OC\Server->OC\{closure}("*** sensiti ... *")

/var/www/html/lib/private/Hooks/EmitterTrait.php - line 101:

call_user_func_array(Closure {}, [ "*** sensi ... "])

/var/www/html/lib/private/Hooks/PublicEmitter.php - line 40:

OC\Hooks\BasicEmitter->emit("\\OC\\User", "postLogin", [ "*** sensi ... "])

/var/www/html/lib/private/User/Session.php - line 412:

OC\Hooks\PublicEmitter->emit("\\OC\\User", "postLogin", [ "*** sensi ... "])

/var/www/html/lib/private/Authentication/Login/CompleteLoginCommand.php - line 44:

OC\User\Session->completeLogin("*** sensiti ... *")

/var/www/html/lib/private/Authentication/Login/ALoginCommand.php - line 40:

OC\Authentication\Login\CompleteLoginCommand->process(OC\Authentic ... {})

/var/www/html/lib/private/Authentication/Login/LoggedInCheckCommand.php - line 61:

OC\Authentication\Login\ALoginCommand->processNextOrFinishSuccessfully(OC\Authentic ... {})

/var/www/html/lib/private/Authentication/Login/ALoginCommand.php - line 40:

OC\Authentication\Login\LoggedInCheckCommand->process(OC\Authentic ... {})

/var/www/html/lib/private/Authentication/Login/EmailLoginCommand.php - line 58:

OC\Authentication\Login\ALoginCommand->processNextOrFinishSuccessfully(OC\Authentic ... {})

/var/www/html/lib/private/Authentication/Login/ALoginCommand.php - line 40:

OC\Authentication\Login\EmailLoginCommand->process(OC\Authentic ... {})

/var/www/html/lib/private/Authentication/Login/UidLoginCommand.php - line 54:

OC\Authentication\Login\ALoginCommand->processNextOrFinishSuccessfully(OC\Authentic ... {})

/var/www/html/lib/private/Authentication/Login/ALoginCommand.php - line 40:

OC\Authentication\Login\UidLoginCommand->process(OC\Authentic ... {})

/var/www/html/lib/private/Authentication/Login/UserDisabledCheckCommand.php - line 57:

OC\Authentication\Login\ALoginCommand->processNextOrFinishSuccessfully(OC\Authentic ... {})

/var/www/html/lib/private/Authentication/Login/ALoginCommand.php - line 40:

OC\Authentication\Login\UserDisabledCheckCommand->process(OC\Authentic ... {})

/var/www/html/lib/private/Authentication/Login/PreLoginHookCommand.php - line 53:

OC\Authentication\Login\ALoginCommand->processNextOrFinishSuccessfully(OC\Authentic ... {})

/var/www/html/lib/private/Authentication/Login/Chain.php - line 108:

OC\Authentication\Login\PreLoginHookCommand->process(OC\Authentic ... {})

/var/www/html/core/Controller/LoginController.php - line 307:

OC\Authentication\Login\Chain->process(OC\Authentic ... {})

/var/www/html/lib/private/AppFramework/Http/Dispatcher.php - line 169:

OC\Core\Controller\LoginController->tryLogin("*** sensiti ... *")

/var/www/html/lib/private/AppFramework/Http/Dispatcher.php - line 100:

OC\AppFramework\Http\Dispatcher->executeController(OC\Core\Cont ... {}, "tryLogin")

/var/www/html/lib/private/AppFramework/App.php - line 152:

OC\AppFramework\Http\Dispatcher->dispatch(OC\Core\Cont ... {}, "tryLogin")

/var/www/html/lib/private/Route/Router.php - line 308:

OC\AppFramework\App::main("OC\\Core\\C ... r", "tryLogin", OC\AppFramew ... {}, { action: "* ... "})

/var/www/html/lib/base.php - line 1008:

OC\Route\Router->match("/login")

/var/www/html/index.php - line 37:

OC::handleRequest()

do you know how to recover all users ??

Thanks very much

Did you ever get an answer, I have the same problem after a whole system update