Hi guys, so I have setup a mattermost server using a google compute engine image from bitnami (available in marketplace). I created a few test users initially that I now want to remove but I can only deactivate them from the system console area on desktop. I checked the documentation and it says that users can only be fully deleted by the CLI but I can’t seem to find how do I open this CLI. I tried to ssh the virtual machine I created in google compute but that didn’t work. I’m not a developer so whatever I am doing is either by exactly following documentations or by google. Please help!
Newbie needs helps: How to access Mattermost CLI in a bitnami google compute engine setup
Unread messages badge in taskbar icon in linux
Hi, @lohfu
Indeed. While that is the current behavior of the Linux desktop client, I would say that it will be better to actually have an unread message counter so users will know that they need to start going through their channels to keep up on whats going on. Thanks for keeping yourself in the loop of the feature request.
Limitation about Pinned message and Flagging messages
@amy.blais
How many messages can I store per channel?
Thanks for reply.
Email with lost messages switch
Hello, did you solve this problem? It is annoying when users are receiving emails for everything.
Disabling user email notifications by default
Hi, did you solve this problem? Is it possible to turn off email notifications?
Disabling user email notifications by default
Hi, @skole9299
If you are referring to turning off email notifications per profile, you should be able to do it through Account Settings >> Notifications >> Email >> set the Send email notifications to Never.
Unless you are referring to a different method to switch off the email notifications, are you alluding about the ability to completely disable email notification during user creation as per the question by @ryantm?
Disabling user email notifications by default
First, thanks for the response!
I am talking about the ability to completely disable email notification during user creation. Is there a way to do that?
Also, even though I set email notifications ( Account Settings > Notifications > Email) on never - but I still receive email notifications.
P.S. We created an app based on mattermost - https://itunes.apple.com/ua/app/86d/id1441434894?mt=8
Disabling user email notifications by default
Hi, @skole9299
You are most welcome! As of now, I believe that there is no feature available that allow admins to set that flag during user creation so far. Do you have any specific use case that you can share to us in regards to the need of having it? Maybe something similar to @ryantm where emails are not really important?
Also, even though I set email notifications ( Account Settings > Notifications > Email) on never - but I still receive email notifications.
Can you confirm what kind of email notifications that you are still getting? Are you referring to mentions and direct messages or something else? Also, can you confirm that you click on Save after you make the changes as well? Thanks.
Disabling user email notifications by default
Yes, I am referring to DM and mentions. Having push notifications is enough, we do not need an email for every DM or mention. Just imagine that for every WhatsApp message you get an email, no one needs that.
Essentially, I am wondering if there any way we can disable email notifications for all users?
Regarding you question - “confirm that you click on Save after you make the changes as well”?
- On our app we do not have an option to click on save. We have a check mark next to an option you choose. Even though I choose to never receive an email, I am still getting them.
Do you think that the problem is on our end or that is just how mattermost works at the moment(I really believe that there is no way mattermost would allow behavior where after every DM or mention you get an email)?
Thanks for the help!
Email with lost messages switch
Hi @skole9299,
You can turn off email notifications by going to “Account Settings” -> “Notifications” -> “Email Notifications” -> “Never”. Does this help?
Disabling user email notifications by default
Hi @skole9299,
Do you have email notifications turned off both on webapp and mobile app?
Unrecognised volume spec running preview docker image on Windows
@cpanato Are you more familiar with docker-preview
image to look at this, or do you know someone on our team who is most familiar with it?
Newbie needs helps: How to access Mattermost CLI in a bitnami google compute engine setup
Hi @Rizwan_Mujtaba,
Have you already taken a look at this section in our docs and it wasn’t helpful: https://docs.mattermost.com/administration/command-line-tools.html#using-the-cli?
No more notifications on my android phone since the update to 5.8
For feature requests, please see: http://www.mattermost.org/feature-requests/.
For troubleshooting questions, please post in the following format:
Summary
No more notifications on my android phone since the update to 5.8
Steps to reproduce
Self-hosted server with version 5.8
Observed behavior
Since the upgrade to version 5.8 (before no problem) I no longer receive a message notification on my android phone with the official application. I have looked in the attached options at the push part of my server
Does anyone encounter this problem and how to solve it?
Thank you.
N.B.
I found this :
{“level”:“error”,“ts”:1551115964.1171994,“caller”:“app/notification_push.go:285”,“msg”:“Device push reported as error for UserId=umpbq7usfprr9fyfi86c7m919w SessionId=yxq53cimyirh9dkamp7jug9iir message=Post https://push-test.mattermost.com/api/v1/send_push: dial tcp: i/o timeout”,“user_id”:“umpbq7usfprr9fyfi86c7m919w”}
and i changed my server on the same day (ip adress and device)
No more notifications on my android phone since the update to 5.8
Hi @gudbes,
We have a ticket open here to investigate issues with push notifications: https://mattermost.atlassian.net/browse/MM-14041.
Please also make sure that you are on the latest mobile app version (v1.16.1) (if not already).
No more notifications on my android phone since the update to 5.8
Thank you for your answer (my version is the laster mobile app)
No trigger_id from custom slash commands?
Response from our team:
This is just an oversight in the documentation. trigger_id
should be sent when a slash command is executed. You can see everything is send here: https://github.com/mattermost/mattermost-server/blob/master/model/command_args.go (only the fields without json:"-"
).
Doc PR was opened here to make edits: https://github.com/mattermost/mattermost-developer-documentation/pull/243
Disabling user email notifications by default
Hello, @skole9299
Thank you for providing the details. In regards to the statement here:
Having push notifications is enough, we do not need an email for every DM or mention. Just imagine that for every WhatsApp message you get an email, no one needs that.
Definitely. Hence, that is the reason why you are allowed to tailor the email notification according to your preference on the client preference and the mails will only be sent when you are offline / away from Mattermost for more than 5 minutes. Else, it will be too spammy.
On our app we do not have an option to click on save
This is an interesting point. Can you please confirm on the environment that you are running on?
- OS version
- Mattermost version
- Client version (desktop & mobile)
The reason why I want to go through these points is because I checked through the Mac & Linux client (as well as web client) and verified that there should be a button available to Save the preference you set.
On the mobile side, this is how it looks like on the iOS client:
Perhaps you are referring to the mobile client here? May I know if you are able to share the screen shot of what you are seeing on your end?
Additionally, I would like to see if we can poke the database for more information on the notification preference. Can you run the following SQL command and share the output here?
SELECT NotifyProps FROM Users WHERE email = "<email_address>";
For comparison, I will share the example that I have when I have the toggle set to each option:
Immediately
mysql> SELECT NotifyProps FROM Users WHERE email = "<email_address>";
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| NotifyProps |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| {"channel":"true","comments":"never","desktop":"mention","desktop_sound":"true","email":"true","first_name":"false","mention_keys":"adanial,@adanial","push":"mention","push_status":"away"} |
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
Never
mysql> SELECT NotifyProps FROM Users WHERE email = "<email_address>";
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| NotifyProps |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| {"auto_responder_active":"false","auto_responder_message":"Hello, I am out of office and unable to respond to messages.","channel":"true","comments":"never","desktop":"mention","desktop_sound":"true","email":"false","first_name":"false","mention_keys":"adanial","push":"mention","push_status":"away"} |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
That will help us to confirm if the preference was indeed saved into the system properly. Thanks!
List all Users via Mattermost CLI
Hello, @Vash90!
When you mention that you would like to get the list of all active users besides the Get users API , the first thing that I can think of is to run the SELECT statement and pipe the output to a .txt file for example if you have access to the database. For example:
SELECT * FROM Users WHERE DeleteAt = 0 INTO OUTFILE "/tmp/users.txt";
You can change the * to include only information that you need such as Username, Email, etc.
Else, can you explain a little bit better on the ideal way of obtaining this information from your perspective, perhaps with more details and use case? Thanks!
No more notifications on my android phone since the update to 5.8
Maybe check with the Desktop or WebApp the Account Menu (with the 3 bars) —> Security—> Active Sessions.
Check if there is everything fine. For example check how many mobile app login you have. When you have multiple but only one phone then remove the oldest entry. Then try again.
And also rebooting your phone can help.