YunoHost-Apps / mattermost_ynh

Mattermost package for YunoHost
http://www.mattermost.org
GNU General Public License v3.0
33 stars 18 forks source link

Migrate from bin/mattermost to bin/mmctl #299

Closed kemenaran closed 3 years ago

kemenaran commented 3 years ago

mmctl is supposed to authenticate as one of the admin users. But since this is the first user we're creating, there are no admin yet.

So in order to create the first user, we:

  1. enable mmctl's "local mode", which connects to the Mattermost server through a socket (rather than through the authenticated API),
  2. create the first user and team,
  3. disable the "local mode".
kemenaran commented 3 years ago

This method follows a recommendation made on Mattermost's support forum (https://forum.mattermost.org/t/mmctl-create-the-first-user/12385).

kemenaran commented 3 years ago

!testme

yunohost-bot commented 3 years ago

Meow :cat2: Test Badge

kemenaran commented 3 years ago

!testme

yunohost-bot commented 3 years ago

:sunflower: Test Badge