My reliable NC 19.0.3 VM did another auto-update to 19/4. What I have found is that I can no longer log in using a web browser. I get the attached screenshot. I have tried to use one of my codes but that too gets rejected.
I have been using 2FA for a long time without any issuesā¦
The mobile and desktop apps all work fine, in fact, any app that used a Nextcloud account to login works, however any app that requires a password setup in settings/security no longer works?
Iāve always found that OCC thing tricky to useā¦
Can anyone please give some guidance? I have rebooted a couple of times with no change. Also, my instance uses āSplashā but that has also gone away to a nextcloud blue background.
If you donāt provide a path to the occ command, how should your server know where the program is located? The program is usually being located in the Nextcloud document root directory
BTW, do you know the nice little search function of this forum in the upper right corner of the screen? It provides many answers, especially on this kind of question
The command is incomplete, because you havenāt entered the provider_id which is essential to disable it. Use the :state command to get all active ids displayed fo a user.
find out enabled twofactorauthproviders for your root user by running sudo -i nextcloud_occ twofactorauth:state root
This command should return the name of enabled twofactorauthproviders
Then you can take one enabled twofactorauthprovider and disable it by running sudo -i nextcloud_occ twofactorauth:disable root twofactorauthprovider
Pleae donāt forget to substitute twofactorauthprovider with the correct name that you got from the first command.
In ProviderManager.php line 53:
The provider ātotpā does not existā
twofactorauth:disable [āoutput [OUTPUT]] [ā] <provider_id>
I replaced username with the correct username on the system
and the non existant provider was replaced with the providers name from the :state command.
using OCC I added a redundant user to the admins group who I know did not have 2FA. Once in as an admin user I found that the upgrade from 19.3 to 19.4 has removed all of my installed apps except the Nextcloud default ones!!! This means that 2FA is no longer available. My NEWS, RADIO, MAPS, DECK, NOTES everything has gone! So now Iām stuck.
Thanks, guys though for your help so far. I appreciate it. Looks like I have to put all my apps back, reinstall 2FA, generate new codes, etc, and see how I go.
I though that something odd was going on when I went to my instance and saw that there were no Splash backgrounds.
I have had to reinstall the Two-Factor Authentication via Nextcloud notification app as the new admin user from my previous post here and now all is well again however the update has certainly fried all of my apps!!! They are no longer thereā¦!!
I have a list of apps that I had installed so I have done a ādownload and enableā on them. Fortunately, the config files for the apps are still intact so they all work as before. Whew!!
I think Iāll turn off Auto-update for a whileā¦
Again thanks for your time. I have learnt some more stuff today!
Another one: before embarking on a major update make a backup/snapshot.
Rolling back to a snapshot on VMware takes minutes, even on ancient hardwareā¦
I understand how blah-blah-blah this advice feels.
To everyone except the ones that paid the price of lost dataā¦