[SOLVED] Can't login after upgrade from 3.2.0 to 3.4.0

After upgrade mattermost from 3.2.0 to 3.4.0 can’t login to MM:
[2016/09/19 10:35:22 EEST] [EROR] /api/v3/users/login:SqlUserStore.GetForLogin code=400 rid=pjpfgtpipbgfm8j935bk8ztzte uid= ip=71.200.62.186 We couldn’t find an existing account matching your credentials. This team may require an invite from the team owner to join. [details: gorp: no fields [themeprops] in type User]

When trying to reset password:
[2016/09/19 10:35:55 EEST] [EROR] /api/v3/users/send_password_reset:sendPasswordReset code=500 rid=ramx8ispgfnimriyz8qw5hcwzc uid= ip=71.200.62.186 We couldn’t find an account with that address. [details: email=vasyapupkin@gmail.com]

./platform -version
Version: 3.4.0
Build Number: 3.4.0
Build Date: Wed Sep 14 13:19:13 UTC 2016
Build Hash: 57f25fa59c71821cc38fd220b133aa6a40815e12
Build Enterprise Ready: false
DB Version: 3.4.0

DB and the credentials are OK.

Hey @Ivan_ya,

We’ve investigated the issue and it’s caused by the ThemeProps migration code not being ran properly when upgrading from Mattermost 3.2 --> 3.4

There are two workarounds that should help resolve the problem:

  1. Upgrade from 3.2 to 3.3 and then from 3.3 to 3.4
  2. If you’ve upgraded from 3.2 to 3.4, run the following SQL query to make Mattermost rerun upgrade steps that were not properly completed
UPDATE Systems SET Value = '3.1.0' WHERE Name = 'Version';

Please let us know if the above help resolve the problem.

HI @jasonblais,
thank you very much.
I restored 3.2.0 version. Then upgraded to 3.3.0 and then to 3.4.0. And it works.