the output of occ twofactureauth:state ORIGINALUSER
sudo -u apache php occ twofactorauth:state ORIGINALUSER
Two-factor authentication is enabled for user ORIGINALUSER
Originally I had totp and backup_codes enabled. TOTP got disable and enabling it doesn’t change anything, I get the same page.
I tried installing email with the new admin user I created but I can’t set the email up in the command line.
Any help would be appreciated as I don’t even know where to start debugging this.
Nextcloud is up with Apache and Behind an Nginx reverse proxy
totp is a shipped app since NC25 so it definitely works with NC27. It should have upgraded automatically during the upgrade.
Not sure exactly where/how you ended up at this point, but the entry in your nextcloud.log file associated with that Request ID should provide a clue as to what is going on. Feel free to post it if it seems indecipherable.
I would also suggest - if you haven’t already - authenticating from another browser (preferably one with all cookies associated with your NC url removed) since there could be some stale session state causing weird issues.
From the sounds of it, either Spreed (Talk) didn’t update fully (which can happen with web updates/upgrades; triggering updates and running upgrades from the command-line are typically more reliable/robust). Spreed is a larger app (~200MB) so it’s probably more likely to hit problems like this (and hard to predict since everyone’s network conditions and compute environment is unique).
Also may have been an OPcache issue. The easiest resolution would be to restart your PHP environment (Apache in your case; FPM if one uses it) after an NC upgrade or app update (at least if weird issues crop up).