-
Notifications
You must be signed in to change notification settings - Fork 189
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
Password hash mismatch after upgrade docker community server from 10.0.4 to 12.5 #206
Comments
Hello @tsaijian Please describe in more detail how you installed Onlyoffice and updated it? All portal users cannot log in? Have you tried resetting your password via email? |
Hi @Carazyda Thanks for your response. Upgrade steps as below:
Things to check: Q: Have you tried resetting your password via email? Q: Check mysql data |
Did you copy |
@Carazyda I checked old container and the new container, core.machinekey is same value. Is there any other info needed? |
And from the length of pwdhash store in database, i guessing the old version is using base64 encode md5 string. Because the result length of base64 encode any type of sha algorithm is longer than base64 encode md5. One of pwdhash store in old database: yIUJb/sQ9PZQzkUC7nL7Vs3ED2QRwwJU63FGhYR0x0M= The pwdhash update in new version: dLat64t2EwmppdcZjG3u4bDzux/c70+n91REuwwVWSlDDQDvezQwwMnlJ306AiEwWzY9xyAIt46/S4+eN/gyvw== |
We examined our code and in version 12.0.0 we disabled password rewriting with a new hash. For the first step, you need to update version 10.0.4 to 11.6.0. After that, update to the current version 12.5.2. |
It is also necessary for all users to be logged in to version 11.6.0 to rewrite the password hash. |
Hi! The same happened with me, all my users had to reset their passwords. |
Hi all
The text was updated successfully, but these errors were encountered: