Delete user or channel
-
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.

-
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. -
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.comThanks in advance for the tips/help!
-
-
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.

-
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. -
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.comThanks in advance for the tips/help!
-
-
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.

-
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. -
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.comThanks in advance for the tips/help!
@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
mmctlis 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 -
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login