# Mattermost marking users "offline" when they are "away"

**URL:** <https://forum.mattermost.com/t/mattermost-marking-users-offline-when-they-are-away/3964>\
**Category:** Troubleshooting\
**Created:** [October 16, 2017, 11:19am UTC](https://forum.mattermost.com/t/mattermost-marking-users-offline-when-they-are-away/3964 "2017-10-16T11:19:07Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![cpc](https://avatars.discourse-cdn.com/v4/letter/c/58f4c7/32.png) [@cpc](https://forum.mattermost.com/u/cpc)\
**Post date:** [October 16, 2017, 11:19am UTC](https://forum.mattermost.com/t/mattermost-marking-users-offline-when-they-are-away/3964/1 "2017-10-16T11:19:07Z")

</div>

Mattermost server instead of mark users away when they are idle, its marking the users as offline.  
Any ideia how to solve this?

Thanks

---

<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:** [October 18, 2017, 8:36am UTC](https://forum.mattermost.com/t/mattermost-marking-users-offline-when-they-are-away/3964/2 "2017-10-18T08:36:02Z")

</div>

Hi @cpc,

Thanks for your feedback,

Could you share which version of Mattermost you have installed? And also whether you’re using browser or desktop app? If browser, which one?

Mattermost v4.3 shipped on October 16th - you can try upgrading to the [latest version](https://about.mattermost.com/download/) to see whether this solves your issue?

---

<div class="post-metadata">

**Author:** ![cpc](https://avatars.discourse-cdn.com/v4/letter/c/58f4c7/32.png) [@cpc](https://forum.mattermost.com/u/cpc)\
**Post date:** [October 18, 2017, 6:39pm UTC](https://forum.mattermost.com/t/mattermost-marking-users-offline-when-they-are-away/3964/3 "2017-10-18T18:39:23Z")

</div>

Hi @lindy65,

Version: 4.3.0 and I use both desktop app and browser, Chrome or Firefox, and all have the same issue.

Thanks for helping.

---

<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:** [October 19, 2017, 7:37am UTC](https://forum.mattermost.com/t/mattermost-marking-users-offline-when-they-are-away/3964/4 "2017-10-19T07:37:23Z")

</div>

Hi @cpc,

Thanks for the additional information,

One more question, when you say `users are idle`, is the mattermost window in view on your screen or in the background? Then when you click on the window, does it show you as `offline`?

I’m battling to reproduce your issue on our nightly build server running the latest master so I’m thinking the issue is either fixed or reproduces intermittently.

---

<div class="post-metadata">

**Author:** ![cpc](https://avatars.discourse-cdn.com/v4/letter/c/58f4c7/32.png) [@cpc](https://forum.mattermost.com/u/cpc)\
**Post date:** [October 19, 2017, 8:13am UTC](https://forum.mattermost.com/t/mattermost-marking-users-offline-when-they-are-away/3964/5 "2017-10-19T08:13:42Z")

</div>

Hi @lindy65

Not like that.  
The problem is only on the left sidebar icons where is the list of the users for “Direct Messages”. The icon before the name should change for orange when away(idle) but instead it changes to grey with an x(offline).

No problems with the user state itself. Just the icon that i mention above changing for the incorrect state.

![Screenshot_162](https://us1.discourse-cdn.com/flex020/uploads/mattermost/original/2X/0/0f176ca8ae6186a4bc8c5302572b45108f676910.png)

---

<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:** [October 19, 2017, 8:38am UTC](https://forum.mattermost.com/t/mattermost-marking-users-offline-when-they-are-away/3964/6 "2017-10-19T08:38:55Z")

</div>

Hi @cpc,

Ah, ok, I gotcha… This could be something to do with the theme you’re using and the colours selected for the icons.

Could you try changing to one of the standard themes (e.g. Mattermost) and let me know if the issue still reproduces? If it is fixed for you when using `Mattermost` theme, you could try selecting the colours you’d like to see for the statuses of users in DM messages.

---

<div class="post-metadata">

**Author:** ![cpc](https://avatars.discourse-cdn.com/v4/letter/c/58f4c7/32.png) [@cpc](https://forum.mattermost.com/u/cpc)\
**Post date:** [October 19, 2017, 9:12am UTC](https://forum.mattermost.com/t/mattermost-marking-users-offline-when-they-are-away/3964/7 "2017-10-19T09:12:53Z")

</div>

Yes, we have a couple of users with different themes including the standard one but all of them have the same issue.

I don’t think that is the problem because when we set manually ‘/away’ it updates the icon as expected like image below.

![Screenshot_164](https://us1.discourse-cdn.com/flex020/uploads/mattermost/original/2X/3/3d9b2db15b4095b9058606e01b46abd763899299.png)

---

<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:** [October 19, 2017, 10:23am UTC](https://forum.mattermost.com/t/mattermost-marking-users-offline-when-they-are-away/3964/8 "2017-10-19T10:23:52Z")

</div>

Ok, thanks @cpc,

I’ll post this to the team and see if they can help troubleshoot further.

I’m not able to reproduce this so I’m a little baffled…

---

<div class="post-metadata">

**Author:** ![cpc](https://avatars.discourse-cdn.com/v4/letter/c/58f4c7/32.png) [@cpc](https://forum.mattermost.com/u/cpc)\
**Post date:** [October 19, 2017, 10:45am UTC](https://forum.mattermost.com/t/mattermost-marking-users-offline-when-they-are-away/3964/9 "2017-10-19T10:45:44Z")

</div>

Ok,

If you need further information, just let me know.

Thanks @lindy65

---

<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:** [October 19, 2017, 6:58pm UTC](https://forum.mattermost.com/t/mattermost-marking-users-offline-when-they-are-away/3964/10 "2017-10-19T18:58:11Z")

</div>

Hi @cpc,

I’ve created a [Jira ticket](https://mattermost.atlassian.net/browse/PLT-7937) so our devs can investigate the issue.

You can follow the progress there 🙂

---

<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:** [October 24, 2017, 5:27pm UTC](https://forum.mattermost.com/t/mattermost-marking-users-offline-when-they-are-away/3964/11 "2017-10-24T17:27:32Z")

</div>

@cpc Wondering if you have consistent reproduction steps. Our team has been unable to replicate your issue.

Moreover:

1. Have you noticed this issue following a server restart, or at anytime?
2. How many users does this reproduce with?
3. Do you use a loadbalancer or a proxy like NGINX?

---

<div class="post-metadata">

**Author:** ![cpc](https://avatars.discourse-cdn.com/v4/letter/c/58f4c7/32.png) [@cpc](https://forum.mattermost.com/u/cpc)\
**Post date:** [October 24, 2017, 5:54pm UTC](https://forum.mattermost.com/t/mattermost-marking-users-offline-when-they-are-away/3964/12 "2017-10-24T17:54:33Z")

</div>

@jasonblais,

1. Since installation. And i even installed on a different VM and still does the same.
2. All users (51) have the same problem.
3. I use NGINX as proxy

Just to remember we receive the message and notifications correctly. The only thing is the icon changing for the wrong status, in this case to offline icon when should be away icon.

---

<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:** [October 27, 2017, 7:17am UTC](https://forum.mattermost.com/t/mattermost-marking-users-offline-when-they-are-away/3964/13 "2017-10-27T07:17:35Z")

</div>

Hi @cpc,

We’ve created [this Jira ticket](https://mattermost.atlassian.net/browse/PLT-7937) to investigate the issue.

---

<div class="post-metadata">

**Author:** ![cpc](https://avatars.discourse-cdn.com/v4/letter/c/58f4c7/32.png) [@cpc](https://forum.mattermost.com/u/cpc)\
**Post date:** [November 2, 2017, 12:32pm UTC](https://forum.mattermost.com/t/mattermost-marking-users-offline-when-they-are-away/3964/14 "2017-11-02T12:32:46Z")

</div>

Today i noticed that 2 of the 50+ users were with correct icon (orange one) when idle. No changes was made on server or client. But when idle again, the offline icon appears again. Can’t really understand what triggers this…

This is a fresh instalation as i told before but forgot to mention that the database is a dump from a older version of mattermost. Forgot to mention that.

---

<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:** [November 2, 2017, 6:55pm UTC](https://forum.mattermost.com/t/mattermost-marking-users-offline-when-they-are-away/3964/15 "2017-11-02T18:55:48Z")

</div>

Thanks for the update @cpc 🙂

I’ve added your note to the ticket…

---

<div class="post-metadata">

**Author:** ![Ju\_St](https://avatars.discourse-cdn.com/v4/letter/j/35a633/32.png) [@Ju\_St](https://forum.mattermost.com/u/Ju_St)\
**Post date:** [March 13, 2018, 10:23am UTC](https://forum.mattermost.com/t/mattermost-marking-users-offline-when-they-are-away/3964/16 "2018-03-13T10:23:37Z")

</div>

We’re having exactly the same issue. People only appear offline in the sidebar (as well as the main channel next to their name), but are actually away. Server Version 4.7.1, Desktop App 4.0.0

---

<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:** [March 15, 2018, 11:08am UTC](https://forum.mattermost.com/t/mattermost-marking-users-offline-when-they-are-away/3964/17 "2018-03-15T11:08:38Z")

</div>

Hi @Ju_St,

Thanks for your feedback,

Is there any new information regarding set-up you can add to this issue to help our engineers troubleshoot?

We have [this ticket](https://mattermost.atlassian.net/browse/MM-7569) open to investigate the issue.

---

<div class="post-metadata">

**Author:** ![Ju\_St](https://avatars.discourse-cdn.com/v4/letter/j/35a633/32.png) [@Ju\_St](https://forum.mattermost.com/u/Ju_St)\
**Post date:** [March 15, 2018, 11:19am UTC](https://forum.mattermost.com/t/mattermost-marking-users-offline-when-they-are-away/3964/18 "2018-03-15T11:19:14Z")

</div>

Hello lindy,

we’re using Debian 9 with postgresql and nginx.

The issue is easily reproducible on our side. if Mattermost is not the active window, the user status next to the profile image wil dissapear (showing as offline to others, but there’s actually no status icon in the desktop app). The status can be set to online and changes immediately. Writing in Mattermost also sets the status to online. One thing to note is that I’m using a custom theme (but only customized within the Mattermost Theme settings). Maybe that’s causing the issue. I can check if other users with the default theme have the same issue and report back.

Let me know if there are any log files I could share that could be helpful.

---

<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:** [March 16, 2018, 8:34am UTC](https://forum.mattermost.com/t/mattermost-marking-users-offline-when-they-are-away/3964/19 "2018-03-16T08:34:00Z")

</div>

Thanks @Ju_St,

If you could check whether other users using the default theme have the same issue that would be a great starting point.

Once I’ve heard back from you, we can troubleshoot further…

---

<div class="post-metadata">

**Author:** ![Ju\_St](https://avatars.discourse-cdn.com/v4/letter/j/35a633/32.png) [@Ju\_St](https://forum.mattermost.com/u/Ju_St)\
**Post date:** [March 16, 2018, 9:01am UTC](https://forum.mattermost.com/t/mattermost-marking-users-offline-when-they-are-away/3964/20 "2018-03-16T09:01:41Z")

</div>

Hello @lindy65  
I just checked with my colleagues and most of them don’t seem to have this issue. Might really be the custom template. I’m using this:

{“sidebarBg”:"#3e99b9",“sidebarText”:"#ffffff",“sidebarUnreadText”:"#e88e6b",“sidebarTextHoverBg”:"#61a7bf",“sidebarTextActiveBorder”:"#4cffff",“sidebarTextActiveColor”:"#000000",“sidebarHeaderBg”:"#50a4c1",“sidebarHeaderTextColor”:"#ffffff",“onlineIndicator”:"#78ce48",“awayIndicator”:"#f7c65b",“dndIndicator”:"#f74343",“mentionBj”:"#ffffff",“mentionColor”:"#ffffff",“centerChannelBg”:"#ffffff",“centerChannelColor”:"#444444",“newMessageSeparator”:"#f2777a",“linkColor”:"#3dadad",“buttonBg”:"#66cccc",“buttonColor”:"#ffffff",“errorTextColor”:"#fd5960",“mentionHighlightBg”:"#3dadad",“mentionHighlightLink”:"#ffffff",“codeTheme”:“solarized-dark”,“mentionBg”:"#66CCCC"}

Let me check with some other users who might have changed the display style, to see if they face the same issues. I’ll report back

[Next page](https://forum.mattermost.com/t/mattermost-marking-users-offline-when-they-are-away/3964.md?page=2)
