-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Description
Description:
The new version 3.6.0 is working fine when i update an existing instance. But i am not able to start new ones. I am running automated scripts to build up my docker container whenever i want to. But it fails since 2FA is forced (if i understand it right) it fails at the point, where i want to change things like SiteURL or Admin user
https://rocket.chat/all-aboard-rocket-chat-3-6-is-here/
"If you’re changing an important setting on your Admin panel or resetting an E2E Key, our system will now ask you for a 2-Factor Authentication code to proceed with the changes."
This breaks the whole automatism thing... Correct me if i am wrong.
Steps to reproduce:
- Start RC in 3.6
- try to create Admin user or reset settings like SiteURL
- enjoy TOTP errors
Expected behavior:
No 2FA forced - because i think a lot of people are using automated setups, you can't use 2FA that way ...
Actual behavior:
RC does not start.
Server Setup Information:
- Version of Rocket.Chat Server: 3.6.0
- Operating System: node:12.18-slim docker
- Deployment Method: docker
- Number of Running Instances: >10
- DB Replicaset Oplog:
- NodeJS Version: 12.18
- MongoDB Version: v3.6.13
Relevant logs:
infos of customer-admin:
rocketchat_1 | {"user":{"_id":"XXXXXXXXX","createdAt":"2020-09-08T08:41:14.283Z","name":"Administrator","username":"admin","status":"offline","utcOffset":0,"active":true,"emails":[{"address":"example@mail.de","verified":false}],"type":"user","services":{},"roles":["admin"]},"success":true}
update customer-admin:
rocketchat_1 | {"success":false,"error":"TOTP Required [totp-required]","errorType":"totp-required","details":{"method":"password","codeGenerated":false,"availableMethods":[]}}
infos of general channel:
rocketchat_1 | {"channel":{"_id":"GENERAL","ts":"2020-09-08T08:41:13.861Z","t":"c","name":"general","usernames":[],"msgs":0,"usersCount":0,"default":true,"_updatedAt":"2020-09-08T08:41:13.861Z"},"success":true}
invite admin to general channel:
rocketchat_1 | {"channel":{"_id":"GENERAL","ts":"2020-09-08T08:41:13.861Z","t":"c","name":"general","usernames":[],"msgs":1,"usersCount":1,"default":true,"_updatedAt":"2020-09-08T08:41:20.709Z"},"success":true}
reset Site_Url:
rocketchat_1 | {"success":false,"error":"TOTP Required [totp-required]","errorType":"totp-required","details":{"method":"password","codeGenerated":false,"availableMethods":[]}}
rocketchat_1 | Customer admin could not be created - Aborting!