I’ve just tried to restore the previous backup of onlyoffice, which has 2FA enabled. We are unable to login the restored version anymore. Tried the “Forgot password” function with no luck, it will ask for the Google Authenticator code, but the GA code does not work anymore. We’ve also lost the backup code.
Anything we could do to get back to our onlyoffice?
Dumped everything but moved the backup tar ball BAK-01 to another location.
Reinstall OnlyOffice with the same version of docker images
Setup the newly installed OnlyOffice with the same owner account and password as previous
Get into the portal backup page, and do a backup in temp location, i.e. BAK-02
Overwrite the BAK-02 with BAK-01
Get into the portal restore page, and restore the BAK-02, which is actually BAK-01
After the restore, I cannot use the owner name and password to login the portal, neither other admins.
Click on the “Forget Password”, I can get the email, and follow the reset password link, it will redirect me to the portal, asking for the Authenticator Code
Input the code shown in my Authenticator App of my mobile, invalid.
Your mistake was in the core.machinekey when you reinstalled WorkSpace.
You didn’t specify (core.machinekey from the previous portal) in the file:
(docker) /app/onlyoffice/CommunityServer/data/.private/machinekey
Could you please clarify if you have the ability to find the core.machinekey of the portal to which “BAK-01” belonged?
User maxbon described how he dealt with his situation.