# How can I remove Teams from Gitlab Mattermost

**URL:** <https://forum.mattermost.com/t/how-can-i-remove-teams-from-gitlab-mattermost/549>\
**Category:** Troubleshooting\
**Created:** [November 23, 2015, 7:57pm UTC](https://forum.mattermost.com/t/how-can-i-remove-teams-from-gitlab-mattermost/549 "2015-11-23T19:57:59Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![BlueAnanas](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/blueananas/32/543_2.png) [@BlueAnanas](https://forum.mattermost.com/u/BlueAnanas)\
**Post date:** [March 24, 2016, 1:13pm UTC](https://forum.mattermost.com/t/how-can-i-remove-teams-from-gitlab-mattermost/549/15 "2016-03-24T13:13:11Z")

</div>

> [@jurgenhaas](#):
>
> Now I’m going to /opt/gitlab/embedded/service/mattermost/i18n and call sudo /opt/gitlab/embedded/bin/mattermost -version -config=“/var/opt/gitlab/mattermost/config.json” getting another error

wrong sudo, you have to be user mattermost while running mattermost

> [@\[Found workaround\] CLI tool still crashing and throwing errors in 2.1.0](https://forum.mattermost.com/t/found-workaround-cli-tool-still-crashing-and-throwing-errors-in-2-1-0/1132/4):
>
> Hint: Don’t forget to “su **mattermost** ” or “sudo **-u mattermost** …” or you won’t get anywhere - the postgres db won’t open.

---

_[View the full topic](https://forum.mattermost.com/t/how-can-i-remove-teams-from-gitlab-mattermost/549)._
