Mattermost is an open source, self-hosted team communication service that is an alternative to SaaS messaging services such as Slack.
Questions tagged [mattermost]
150 questions
15
votes
1 answer
using mattermost api via gitlab oauth as an end-user with username and password (no client_secret)
In our team we use gitlab (https://git.example) and the bundled mattermost chat (https://chat.example).
For mattermost we'd like to have a dedicated bot-user (the web hooks have limitations wrt. private channels etc.), which actually logs in exactly…

Jörn Hees
- 3,338
- 22
- 44
6
votes
1 answer
How to use GitLab and Gitlab-Mattermost on one machine?
My conf-file:
external_url "http://192.168.3.23" # note the use of a dotted ip
gitlab_rails['gitlab_email_enabled'] = true
gitlab_rails['gitlab_email_from'] = 'gitlab@myhome.com'
gitlab_rails['gitlab_email_display_name'] =…

scientistnik
- 343
- 4
- 19
5
votes
3 answers
How to send file through Mattermost incoming webhook?
I am able to send text to Mattermost channel through incoming webhooks
import requests, json
URL = 'http://chat.something.com/hooks/1pgrmsj88qf5jfjb4eotmgfh5e'
payload = {"channel": "general", "text": "some text"}
r = requests.post(URL,…

Alok
- 7,734
- 8
- 55
- 100
4
votes
2 answers
docker-compose creating multiple set of services
I'm trying to create 3 mattermost services on 1 AWS EC2 machine.
Let me explain further with more texts:
When I run docker-compose up -d, I get a service whose structure is like this:
How can I modify the docker related scripts so that I can create…

Brian
- 12,145
- 20
- 90
- 153
4
votes
2 answers
How to add a link preview in mattermost?
How to add a link preview feature in mattermost ?
When a post containing a link is added, i'd like mattermost to automatically add a preview of the link content

Cerber
- 2,889
- 4
- 27
- 43
4
votes
2 answers
Mattermost docker preview
I am an arch newbie and I have been trying to install preview of mattermost(slack alternative) on docker to try it out. I have been following the official guide.
Arch
Install Docker using the following commands:
pacman -S docker
systemctl enable…

PrivateOmega
- 2,509
- 1
- 17
- 27
3
votes
0 answers
How do you add Wordpress as an Identity provider in Keycloak?
I am trying to authenticate mattermost for my users with keycloak. Now, there is is requirement that signing in to keycloak also has a Wordpress ODIC enabled.
I tried creating a new Identity Provider, but there was no option of Wordpress under…
user13928912
3
votes
2 answers
How to send a direct Message from Bot to User in Mattermost
until now I have only ever used the bot to send messages to a channel. You looked like this.
{
"channel_id": "my-id",
"message": "Hello Channel"
}
How can I send a simple direct message to a user?
The url for the direct Chanel is…

Dennis Schaffer
- 556
- 7
- 17
3
votes
1 answer
400 Bad Request in GitLab's Mattermost
GitLab 8.9.4 running fine (Omnibus) in an Ubuntu Server 16.04 virtual machine through port 802:
external_url 'http://gitlab_url:802'
I've enabled Mattermost by this line in /etc/gitlab/gitlab.rb:
mattermost_external_url 'http://gitlab_url:8065'
I've…

Yeray
- 5,009
- 1
- 13
- 25
3
votes
2 answers
Mattermost (team chat) - how to post to a channel via curl?
We are using mattermost as an internally hosted alternative to slack.
How can I write to a channel in mattermost, for example by a script, using curl?
I need to know:
how to get an "integration key" from mattermost
format of the curl command
An…

vikingsteve
- 38,481
- 23
- 112
- 156
2
votes
1 answer
How Do You Send A Direct Message In Mattermost From A Bot Using The Go Driver?
Using Mattermost's Go Driver, is it possible to send a Direct Message from a bot account to a user? I have been trying this method below, but I keep getting the error: "You do not have the appropriate permissions.," I've checked the permissions of…

Francis Bartkowiak
- 1,374
- 2
- 11
- 28
2
votes
0 answers
Making a custom mattermost client with Flutter, but login headers do not return the necessary headers
Summary
Cannot get headers [“Set-Cookie”] when login into the system with custom login
Steps to reproduce
Use Postman, try to login to workspace with your credentials, view headers. You will not see the “Set-Cookie”
Expected behavior
Request headers…

Abraham Kazerian
- 21
- 2
2
votes
2 answers
How to configure Mattermost Plugins
I have deployed Mattermost Team Edition from the Helm Chart
onto my k8s Cluster and it's working great.
The issue is that the config.json file is mounted as a secret,
so configuration can't be done from the UI but in the config.json that is part of…

Johannes Reppin
- 23
- 4
2
votes
1 answer
Where are the Mattermost credentials set?
Where are the mattermost credentials set ???
How can I not find this information ? Seriously, I feel like an idiot asking this but I'm stuck at the login page... Its asking me for login/password.
This is my docker-compose configuration :
version:…

Doctor
- 7,115
- 4
- 37
- 55
2
votes
0 answers
the problem with the installation Mattermost server
everyone.
OS: Red Hat Enterprise Linux 7
install mattermost v. 5.11.0 instructions https://docs.mattermost.com/install/install-rhel-7.html#installing-postgresql-database
postgresql V. 9.4 on the same server.
file…

Boris.Chesnokov
- 31
- 2