You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating to 22.10.2, Accounts with TOTP can't log in anymore, but accounts without TOTP can still log in.
I tried to put my backup back from the night before the update and manually choose the docker image version to the previous one but the error is still there after logging in with TOTP.
TOTP is forced for admin account (and every admin account can't log).
Is there a way to disable TOTP for every account (and disabling it for admin) if it happends to be the problem ?
Edit : I tried :
sudo docker exec -it <container_name> bash
php artisan bookstack:reset-mfa --email=myemail@exemple.com
Could not open input file: artisan
I still don't know why TOTP gets buggy when updating.
TOTP can usually get buggy due to the following reasons:
The clock time of the host becomes incorrect or drifts too far from common UTC.
The key used for TOTP encryption is changed.
Looking at your logs, I'd say it's 2 in your case. BookStack uses the APP_KEY value to encrypt MFA values, so if this changes then it can't decrypt them again when validating. From when I last checked, the linuxserver.io container image (I'm assuming that's what you're using based on paths) did have steps to ensure this is retained as part of the /config volume mount.
Attempted Debugging
Searched GitHub Issues
Describe the Scenario
Hey, sorry for my poor english,
After updating to 22.10.2, Accounts with TOTP can't log in anymore, but accounts without TOTP can still log in.
I tried to put my backup back from the night before the update and manually choose the docker image version to the previous one but the error is still there after logging in with TOTP.
TOTP is forced for admin account (and every admin account can't log).
Is there a way to disable TOTP for every account (and disabling it for admin) if it happends to be the problem ?
Edit : I tried :
Exact BookStack Version
22.10.2
Log Content
PHP Version
No response
Hosting Environment
Docker 20.10.3-1308 on Synology NAS DSM 7.1
The text was updated successfully, but these errors were encountered: