# \[Found workaround\] CLI tool still crashing and throwing errors in 2.1.0

**URL:** <https://forum.mattermost.com/t/found-workaround-cli-tool-still-crashing-and-throwing-errors-in-2-1-0/1132>\
**Category:** Troubleshooting\
**Created:** [March 22, 2016, 9:36pm UTC](https://forum.mattermost.com/t/found-workaround-cli-tool-still-crashing-and-throwing-errors-in-2-1-0/1132 "2016-03-22T21:36:34Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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, 4:25pm UTC](https://forum.mattermost.com/t/found-workaround-cli-tool-still-crashing-and-throwing-errors-in-2-1-0/1132/6 "2016-03-24T16:25:21Z")

</div>

Currently best practice to use mattermost 2.1.0 CLI in a GitLab omnibus install:

- copy `en.json` from `/opt/gitlab/embedded/service/mattermost/i18n/` to `/opt/gitlab/embedded/service/mattermost/`
- make `/opt/gitlab/embedded/service/mattermost/` your current directory
- use `sudo -u mattermost /opt/gitlab/embedded/bin/mattermost -config="/var/opt/gitlab/mattermost/config.json" ...`
- or `su mattermost` and then `/opt/gitlab/embedded/bin/mattermost -config="/var/opt/gitlab/mattermost/config.json" ...` if you didn’t fuss to install `sudo`

---

_[View the full topic](https://forum.mattermost.com/t/found-workaround-cli-tool-still-crashing-and-throwing-errors-in-2-1-0/1132)._
