# \[SOLVED\] How to Check Currently Installed Mattermost Server Version?

**URL:** https://forum.mattermost.com/t/solved-how-to-check-currently-installed-mattermost-server-version/3543
**Category:** Troubleshooting
**Created:** [July 20, 2017, 1:01pm UTC](https://forum.mattermost.com/t/solved-how-to-check-currently-installed-mattermost-server-version/3543 "2017-07-20T13:01:36Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![andrewblue](https://avatars.discourse-cdn.com/v4/letter/a/c68b51/32.png) [@andrewblue](https://forum.mattermost.com/u/andrewblue)
#### Post date: [July 20, 2017, 1:01pm UTC](https://forum.mattermost.com/t/solved-how-to-check-currently-installed-mattermost-server-version/3543/1 "2017-07-20T13:01:36Z")

</div>

Neither `mattermost version` nor `platform version` is working for me.

Just wanted to check if my mattermost server update/upgrade is successful

EDIT:  
For additional context, I’m upgrading my mattermost server from 3.7.x (I think) to version 4.0.1

---

<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: [July 20, 2017, 1:33pm UTC](https://forum.mattermost.com/t/solved-how-to-check-currently-installed-mattermost-server-version/3543/2 "2017-07-20T13:33:51Z")

</div>

Thanks @andrewblue, would the documentation here be useful? There’s an example on how to check the Mattermost server version [https://docs.mattermost.com/administration/command-line-tools.html#using-the-cli](https://docs.mattermost.com/administration/command-line-tools.html#using-the-cli)

You can also check the version by going to

- Main Menu right of your profile (in top left corner)
- selecting “About Mattermost”

---

<div class="post-metadata">

### Author: ![andrewblue](https://avatars.discourse-cdn.com/v4/letter/a/c68b51/32.png) [@andrewblue](https://forum.mattermost.com/u/andrewblue)
#### Post date: [July 20, 2017, 1:40pm UTC](https://forum.mattermost.com/t/solved-how-to-check-currently-installed-mattermost-server-version/3543/3 "2017-07-20T13:40:58Z")

</div>

Following the documentation, when i run `sudo ./platform version`, I will get the following

```auto
[EROR] Failed to ping DB retrying in 10 seconds err=dial tcp: lookup dockerhost on IP-ADDRESS: no such host

```

---

<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: [July 20, 2017, 1:57pm UTC](https://forum.mattermost.com/t/solved-how-to-check-currently-installed-mattermost-server-version/3543/4 "2017-07-20T13:57:23Z")

</div>

Hmm okay, and everything else appears to work on your Mattermost instance? No other errors in the server logs (System Console \> Logs)

---

<div class="post-metadata">

### Author: ![andrewblue](https://avatars.discourse-cdn.com/v4/letter/a/c68b51/32.png) [@andrewblue](https://forum.mattermost.com/u/andrewblue)
#### Post date: [July 20, 2017, 2:50pm UTC](https://forum.mattermost.com/t/solved-how-to-check-currently-installed-mattermost-server-version/3543/5 "2017-07-20T14:50:48Z")

</div>

It shows this in the “System Console Server Logs”

```auto
[2017/07/20 12:34:25 UTC] [INFO] Current version is 3.7.0 (3.7.3/Wed Mar 22...

```

and it shows this in the file `/logs/mattermost.log` (default path)

```auto
[2017/07/20 11:46:52 UTC] [INFO] Current version is 4.0.0 (4.0.1/Wed Jul 19...

```

Inside the System Console Server Logs, I also have plenty of /api/v3/user errors (e.g. id wrong, expired sessions, no invite, etc…)

Oh but i’m unable to use the new Android App to log into the server (it says need server needs to upgrade)

---

<div class="post-metadata">

### Author: ![andrewblue](https://avatars.discourse-cdn.com/v4/letter/a/c68b51/32.png) [@andrewblue](https://forum.mattermost.com/u/andrewblue)
#### Post date: [July 21, 2017, 7:29am UTC](https://forum.mattermost.com/t/solved-how-to-check-currently-installed-mattermost-server-version/3543/6 "2017-07-21T07:29:20Z")

</div>

Ok this is sad but i fixed this - I was upgrading the wrong folder.

I had a “test” or development folder and another for production. (Hence the difference in log versions)

---

<div class="post-metadata">

### Author: ![lindy65](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/lindy65/32/1811_2.png) [@lindy65](https://forum.mattermost.com/u/lindy65)
#### Post date: [July 24, 2017, 8:24am UTC](https://forum.mattermost.com/t/solved-how-to-check-currently-installed-mattermost-server-version/3543/7 "2017-07-24T08:24:40Z")

</div>

Glad you’ve resolved your issue @andrewblue 🙂

---

<div class="post-metadata">

### Author: ![nazari](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/nazari/32/9108_2.png) [@nazari](https://forum.mattermost.com/u/nazari)
#### Post date: [August 10, 2025, 4:49am UTC](https://forum.mattermost.com/t/solved-how-to-check-currently-installed-mattermost-server-version/3543/8 "2025-08-10T04:49:27Z")

</div>

For those like me which end up in this page; the short way is using the following command if your have access to the server; in my case I have self hosted server.

fist login to your server CLI by using remote desktop or SSH then:

[To get the Mattermost version on a default installation of Mattermost:](https://docs.mattermost.com/administration-guide/manage/command-line-tools.html#use-the-cli)

```bash
cd /opt/mattermost/
sudo -u mattermost bin/mattermost version

```

The out put will be like this:

```bash
Version: 10.1.1 
Build Number: 11162711545
Build Date: Thu Oct 3 13:20:30 UTC 2024
Build Hash: b16e2e1dacb2ec44961573dc6a5d55ca47f77510
Build Enterprise Ready: true

```
