This means that the administrator (= me) requested two-factor authentication but my account is not set with 2FA and that I should use a recovery key. This is surprising as it was on 2FA but I vaguely recall that I was moving from one 2FA app to another and got interrupted.
Anyway - my problem is that I do not have the recovery keys (yes, I do not know why either).
My question: how can I bypass this authentication, knowing that I have full access to Nextcloud.
Ideally, that would mean to manually reconfigure my user NOT to use 2FA so that I can log in with my password and manually set it up.
Thank you for your help. There seems however that this does not work for docker based installations?
~ # docker exec -it nextcloud bash
root@68270011f5e0:/var/www/html# /usr/src/nextcloud/occ config:list
Nextcloud is not installed - only a limited number of commands are available
There are no commands defined in the "config" namespace.