after updating the nextcloud version I have a problem with the website registration.
After entering my access data I get this message:
**Couldn’t load one of your two-factor authentication methods. Contact your administrator **
**Two-factor authentication is enforced but has not been configured for your account. Use one of your backup codes to log in, or contact your administrator for assistance.
Unfortunately I don’t have a working backup code :roll:
But I still have ssh access and wanted to ask if there is the possibility to activate the appropriate apps or to create a backup code via the console.
I found a command on the net that should create a code.
sudo -u www-data php occ twofactorauth:admin:generate-code Username
But I always get this message:
There are no commands defined in the “twofactorauth:admin” namespace.
Can anyone help me here ?