Skip to content

Instantly share code, notes, and snippets.

@kaystrobach
Last active May 4, 2016 09:03
Show Gist options
  • Save kaystrobach/fe52e6812877f9e1f7fd156bf15ef5bc to your computer and use it in GitHub Desktop.
Save kaystrobach/fe52e6812877f9e1f7fd156bf15ef5bc to your computer and use it in GitHub Desktop.
Gitlab Important Mattermost commands ...
#raise user rights
cd /opt/gitlab/embedded/service/mattermost/i18n
sudo -u mattermost /opt/gitlab/embedded/bin/mattermost -config="/var/opt/gitlab/mattermost/config.json" -assign_role -team_name="..." -email="..." -role="system_admin"
#delete team
cd /opt/gitlab/embedded/service/mattermost/i18n
sudo -u mattermost /opt/gitlab/embedded/bin/mattermost -config="/var/opt/gitlab/mattermost/config.json" -permanent_delete_team=true -team_name="..."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment