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

**URL:** <https://forum.mattermost.com/t/solved-cant-login-after-upgrade-from-3-2-0-to-3-4-0/2240>\
**Category:** Troubleshooting\
**Created:** [September 19, 2016, 7:58am UTC](https://forum.mattermost.com/t/solved-cant-login-after-upgrade-from-3-2-0-to-3-4-0/2240 "2016-09-19T07:58:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ivan\_ya](https://avatars.discourse-cdn.com/v4/letter/i/7ab992/32.png) [@Ivan\_ya](https://forum.mattermost.com/u/Ivan_ya)\
**Post date:** [September 19, 2016, 7:58am UTC](https://forum.mattermost.com/t/solved-cant-login-after-upgrade-from-3-2-0-to-3-4-0/2240/1 "2016-09-19T07:58:48Z")

</div>

**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](mailto: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.

---

<div class="post-metadata">

**Author:** ![jasonblais](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/jasonblais/32/720_2.png) [@jasonblais](https://forum.mattermost.com/u/jasonblais)\
**Post date:** [September 20, 2016, 9:04pm UTC](https://forum.mattermost.com/t/solved-cant-login-after-upgrade-from-3-2-0-to-3-4-0/2240/2 "2016-09-20T21:04:04Z")

</div>

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

```auto
UPDATE Systems SET Value = '3.1.0' WHERE Name = 'Version';

```

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

---

<div class="post-metadata">

**Author:** ![Ivan\_ya](https://avatars.discourse-cdn.com/v4/letter/i/7ab992/32.png) [@Ivan\_ya](https://forum.mattermost.com/u/Ivan_ya)\
**Post date:** [September 22, 2016, 4:31am UTC](https://forum.mattermost.com/t/solved-cant-login-after-upgrade-from-3-2-0-to-3-4-0/2240/3 "2016-09-22T04:31:34Z")

</div>

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.
