My phone crashed today and I lost access to my authenticator and hence my admin account. Unfortunately I did not have backup codes generated for the admin account. I did have them for my user account and was able to recover it. I have nextcloud hosted on dreamhost shared hosting and don’t have root access and can’t get OCC to run. Is there a way I can disable totp for my admin account with phpmyadmin? Or what do I need to do to get OCC working on shared hosting?
What version of Nextcloud are you using?
You could try disabling the app via the database entry.
select * from oc_appconfig where appid='twofactor_totp';
+----------------+-------------------+-------------+
| appid | configkey | configvalue |
+----------------+-------------------+-------------+
| twofactor_totp | enabled | no |
| twofactor_totp | installed_version | 1.5.0 |
| twofactor_totp | types | |
+----------------+-------------------+-------------+
So, setting enabled
to no
as shown above. With Nextcloud 14 you have to adjust another table’s row.
1 Like
I was able to just delete the app folder from the server and log in. Thanks.
1 Like