-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2fa TOTP stopped working on Nextcloud 12 #5391
Comments
try removing the 2fa app and reinstalling it |
This looks strange. Did you somehow remove/delete the backup codes app? As in are there any files in |
First I checked inside apps/twofactor_backupcodes and I have Then in admin page I have deactivated twofactor app, and then delete it. After installing it again I still have my problem. |
Thanks. That does actually look good. Still, I have the feeling that a file could be missing. Could you please run |
Did you update recently? Maybe the opcache was not cleared and old code is executed. Would make sense to restart your webserver once in that case. |
Thanks for your support I had restarted Nginx (and complete server) several times since my problem without effect on my bug. Edit : Sorry I can't remember when I made my upgrade, maybe some days after the release of Nextcloud 12. I have upgraded following this guide https://docs.nextcloud.com/server/12/admin_manual/maintenance/manual_upgrade.html |
Thanks for checking. No output from the integrity check means that all files have passed the check. Thus the file/class reported as missing should be available on the file system. Maybe it helps to triple check This is just a wild guess, but did you maybe copy over a previous version of the backup codes app during your update? Or maybe you've not replaced it properly by the new code? |
The problem is solved, you were right about a version problem during the update ! So I have copy/paste my old twofactor_backupcodes to my new install... My mistake ! Thank you very much for your time and your support, and my apologize for my mistake. |
Great! 😄 I'm closing this ticket now that the issues is resolved. |
2fa TOTP was working correctly, and then stopped to work. I have to disable 2fa totp to be able to login again.
Bug report from advice @ChristophWurst
Steps to reproduce
2.Try to login
Expected behaviour
Should pop the twofactor challenge, then I should enter my 6 digits code and finally login to Nextcloud.
Actual behaviour
Error message from Nginx
`
`
Server configuration
Operating system: Debian Jessie
Web server: Nginx 1.13.1
Database: Mysql Ver 14.14
PHP version: PHP 5.6.30
Nextcloud version: 12.0.0
Updated from an older Nextcloud/ownCloud or fresh install: Updated from Nextcloud 11
Where did you install Nextcloud from: Manual install with zip file.
Signing status:
Signing status
List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: one local smb
Are you using encryption: no
Are you using an external user-backend, if yes which one: No
Client configuration
Browser: Firefox 53.0.3 (64 bits)
Operating system: Linux Mint 18 64bit
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
The text was updated successfully, but these errors were encountered: