<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Delete user or channel]]></title><description><![CDATA[<p dir="auto">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. <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=d69db52af35" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<ol>
<li>
<p dir="auto">Every time I try to unarchive a channel,  the "save config" button just spinning for ages but did not apply the changes.<br />
Its a bummer that Mattermost does not have a direct method to delete a channel or user.</p>
</li>
<li>
<p dir="auto">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:</p>
</li>
</ol>
<pre><code>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.
</code></pre>
<p dir="auto">OR<br />
in this case to delete a user:</p>
<pre><code>root@e4cccd87-d627-4899-9fa4-b879fb03e83a:/app/code# sudo -u cloudron /app/code/bin/mattermost user delete user@example.com
</code></pre>
<p dir="auto">Thanks in advance for the tips/help!</p>
]]></description><link>https://forum.cloudron.io/topic/6029/delete-user-or-channel</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Apr 2026 18:59:52 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/6029.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 18 Nov 2021 17:09:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Delete user or channel on Fri, 19 Nov 2021 05:55:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/aizat" aria-label="Profile: aizat">@<bdi>aizat</bdi></a> 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.</p>
<p dir="auto">As for the CLI, this <code>mmctl</code> is a binary that you now have to run on your PC/Mac. You can download it here - <a href="https://github.com/mattermost/mmctl/releases" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/mattermost/mmctl/releases</a> . I have put a small note on how to use it here - <a href="https://docs.cloudron.io/apps/mattermost/#command-line-tool" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/apps/mattermost/#command-line-tool</a></p>
]]></description><link>https://forum.cloudron.io/post/39510</link><guid isPermaLink="true">https://forum.cloudron.io/post/39510</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 19 Nov 2021 05:55:12 GMT</pubDate></item><item><title><![CDATA[Reply to Delete user or channel on Thu, 18 Nov 2021 20:48:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/aizat" aria-label="Profile: aizat">@<bdi>aizat</bdi></a> the first one seems like a packaging bug and the second one seems like a documentation bug. I am investigating....</p>
]]></description><link>https://forum.cloudron.io/post/39506</link><guid isPermaLink="true">https://forum.cloudron.io/post/39506</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 18 Nov 2021 20:48:43 GMT</pubDate></item></channel></rss>