I'm really getting fed up with Nextcloud (and that's putting it mildly), The first time Nexcloud bit me was application specific passwords (necessray if you use 2FA, besides that, quite useful). When you change your master password (the one used logging in and secured by 2FA), all application specific passwords were invalid.
Of course Nextcloud didn't issue a warning after changing the password :angry:
The latest stroke of genius: I've updated Nextcloud from 14 to 15. Unfortunately both 2FA providers that I use (u2f and totp) are incompatbile to 15.x and were deactiveted during the upgrade process. Well, this has happened before and resulted in temporarily disabling 2FA. But not in this case, oh no: 2FA remained active, but I was unable to login because there was no valid 2FA provider, and I didn't have any backup codes near by. Furthermore, I was unable to disable 2FA using the console. What finally worked:
php occ app:update twofactor_totp
php occ app:update twofactor_u2f
php occ app:enable twofactor_totp
php occ app:enable twofactor_u2f
Which is quite a relief to those who haven't got shell access to their instance :smirk:
What the hell, Nextcloud? This is the second time in a row you botched up 2FA! I'm really losing confidence in your ability to provide a stable environment - if you can't do 2FA right, don't provide it!
#
nextcloud #
rant #
nextcloudsucks