Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Mattermost
  3. Delete user or channel

Delete user or channel

Scheduled Pinned Locked Moved Mattermost
3 Posts 2 Posters 1.2k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • AizatA Offline
    AizatA Offline
    Aizat
    wrote on last edited by
    #1

    Hi there! I have just installed Mattermost and been trying to play around with it. I encountered 2 main issues that I need help with. 🙂

    1. Every time I try to unarchive a channel, the "save config" button just spinning for ages but did not apply the changes.
      Its a bummer that Mattermost does not have a direct method to delete a channel or user.

    2. After some Googling, Mattermost CLI can delete a channel, or user. But due to my lack of knowledge, I have no idea how to use the command line here in the app terminal. But what I've tried:

    root@e4cccd87-d627-4899-9fa4-b879fb03e83a:/app/code# sudo -u cloudron /app/code/bin/mattermost mmctl channel list myteam
    Error: unknown command "mmctl" for "mattermost"
    Run 'mattermost --help' for usage.
    

    OR
    in this case to delete a user:

    root@e4cccd87-d627-4899-9fa4-b879fb03e83a:/app/code# sudo -u cloudron /app/code/bin/mattermost user delete user@example.com
    

    Thanks in advance for the tips/help!

    girishG 2 Replies Last reply
    0
    • AizatA Aizat

      Hi there! I have just installed Mattermost and been trying to play around with it. I encountered 2 main issues that I need help with. 🙂

      1. Every time I try to unarchive a channel, the "save config" button just spinning for ages but did not apply the changes.
        Its a bummer that Mattermost does not have a direct method to delete a channel or user.

      2. After some Googling, Mattermost CLI can delete a channel, or user. But due to my lack of knowledge, I have no idea how to use the command line here in the app terminal. But what I've tried:

      root@e4cccd87-d627-4899-9fa4-b879fb03e83a:/app/code# sudo -u cloudron /app/code/bin/mattermost mmctl channel list myteam
      Error: unknown command "mmctl" for "mattermost"
      Run 'mattermost --help' for usage.
      

      OR
      in this case to delete a user:

      root@e4cccd87-d627-4899-9fa4-b879fb03e83a:/app/code# sudo -u cloudron /app/code/bin/mattermost user delete user@example.com
      

      Thanks in advance for the tips/help!

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @aizat the first one seems like a packaging bug and the second one seems like a documentation bug. I am investigating....

      1 Reply Last reply
      0
      • AizatA Aizat

        Hi there! I have just installed Mattermost and been trying to play around with it. I encountered 2 main issues that I need help with. 🙂

        1. Every time I try to unarchive a channel, the "save config" button just spinning for ages but did not apply the changes.
          Its a bummer that Mattermost does not have a direct method to delete a channel or user.

        2. After some Googling, Mattermost CLI can delete a channel, or user. But due to my lack of knowledge, I have no idea how to use the command line here in the app terminal. But what I've tried:

        root@e4cccd87-d627-4899-9fa4-b879fb03e83a:/app/code# sudo -u cloudron /app/code/bin/mattermost mmctl channel list myteam
        Error: unknown command "mmctl" for "mattermost"
        Run 'mattermost --help' for usage.
        

        OR
        in this case to delete a user:

        root@e4cccd87-d627-4899-9fa4-b879fb03e83a:/app/code# sudo -u cloudron /app/code/bin/mattermost user delete user@example.com
        

        Thanks in advance for the tips/help!

        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by girish
        #3

        @aizat So, the first one is a bug in mattermost UI. You can see that when you do some actions in the channels UI alone, there are some errors in the browser console. More importantly, I am able to do those actions like unarchive via the CLI just fine.

        As for the CLI, this mmctl is a binary that you now have to run on your PC/Mac. You can download it here - https://github.com/mattermost/mmctl/releases . I have put a small note on how to use it here - https://docs.cloudron.io/apps/mattermost/#command-line-tool

        1 Reply Last reply
        2
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Bookmarks
        • Search