# Channel mute and delete post functions not working after 6.0 upgrade

**URL:** <https://forum.mattermost.com/t/channel-mute-and-delete-post-functions-not-working-after-6-0-upgrade/12947>\
**Category:** Troubleshooting\
**Created:** [February 7, 2022, 7:04pm UTC](https://forum.mattermost.com/t/channel-mute-and-delete-post-functions-not-working-after-6-0-upgrade/12947 "2022-02-07T19:04:50Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![mscollins](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@mscollins](https://forum.mattermost.com/u/mscollins)\
**Post date:** [February 7, 2022, 7:04pm UTC](https://forum.mattermost.com/t/channel-mute-and-delete-post-functions-not-working-after-6-0-upgrade/12947/1 "2022-02-07T19:04:50Z")

</div>

For feature requests, please see: [Contributing Feature Proposals - Mattermost](http://www.mattermost.org/feature-requests/).

For troubleshooting questions, please post in the following format:

**Summary**  
Channel mute and delete post functions not working after 6.0 upgrade

**Steps to reproduce**  
I’m running the self hosted version of Mattermost. After upgrading from 5.36 to 6.0, the must channel button stopped working for all users. When the button is clicked, it no longer toggles mute/unmute. The Slash command (/mute) still works. Also the delete post function no longer works. When a user deletes a post, it shows deleted on the screen, but all other users still see the post in the channel.

**Expected behavior**  
The mute butting used to toggle mute/unmute, and when a user deleted a post, the post was removed from the channel.

**Observed behavior**  
There is not a good way to show a visual of this.

---

<div class="post-metadata">

**Author:** ![amy.blais](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/amy.blais/32/7481_2.png) [@amy.blais](https://forum.mattermost.com/u/amy.blais)\
**Post date:** [February 8, 2022, 3:49pm UTC](https://forum.mattermost.com/t/channel-mute-and-delete-post-functions-not-working-after-6-0-upgrade/12947/2 "2022-02-08T15:49:24Z")

</div>

Do you see the same issues on the latest v6.3.3?

---

<div class="post-metadata">

**Author:** ![mscollins](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@mscollins](https://forum.mattermost.com/u/mscollins)\
**Post date:** [February 8, 2022, 4:23pm UTC](https://forum.mattermost.com/t/channel-mute-and-delete-post-functions-not-working-after-6-0-upgrade/12947/3 "2022-02-08T16:23:11Z")

</div>

Hi Amy. I am currently on 6.3.2 and the behavior is the same.

---

<div class="post-metadata">

**Author:** ![amy.blais](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/amy.blais/32/7481_2.png) [@amy.blais](https://forum.mattermost.com/u/amy.blais)\
**Post date:** [February 8, 2022, 6:57pm UTC](https://forum.mattermost.com/t/channel-mute-and-delete-post-functions-not-working-after-6-0-upgrade/12947/4 "2022-02-08T18:57:54Z")

</div>

Can you help share your Mattermost server logs from the time when the issue occurs?

---

<div class="post-metadata">

**Author:** ![mscollins](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@mscollins](https://forum.mattermost.com/u/mscollins)\
**Post date:** [February 9, 2022, 3:06pm UTC](https://forum.mattermost.com/t/channel-mute-and-delete-post-functions-not-working-after-6-0-upgrade/12947/5 "2022-02-09T15:06:09Z")

</div>

Sorry for the delay. This is the error reported in the logs.

{“timestamp”:“2022-02-09 10:05:17.538 -05:00”,“level”:“error”,“msg”:“Unable to delete the post.”,“caller”:“web/context.go:105”,“path”:"/api/v4/posts/qnsq1gfkdp8j7rrxfrr93ozj7e",“request\_id”:“pghapetw17dtmbzej7u4s1k3xa”,“ip\_addr”:“172.16.0.30”,“user\_id”:“bxiotcgj47nsppmfc8g4588ebc”,“method”:“DELETE”,“err\_where”:“DeletePost”,“http\_code”:500,“err\_details”:“failed to update Posts: Error 3141: Invalid JSON text in argument 1 to function cast\_as\_json: “Invalid value.” at position 0.”}

---

<div class="post-metadata">

**Author:** ![amy.blais](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/amy.blais/32/7481_2.png) [@amy.blais](https://forum.mattermost.com/u/amy.blais)\
**Post date:** [February 9, 2022, 6:12pm UTC](https://forum.mattermost.com/t/channel-mute-and-delete-post-functions-not-working-after-6-0-upgrade/12947/6 "2022-02-09T18:12:21Z")

</div>

@streamer45 @isacikgoz Let me know if the error above indicates a bug.

---

<div class="post-metadata">

**Author:** ![mscollins](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@mscollins](https://forum.mattermost.com/u/mscollins)\
**Post date:** [February 9, 2022, 6:43pm UTC](https://forum.mattermost.com/t/channel-mute-and-delete-post-functions-not-working-after-6-0-upgrade/12947/7 "2022-02-09T18:43:41Z")

</div>

I did find this post, and I checked my MYSQL version and I’m on 8.0.22. Do you think updating to a newer version of MYSQL could fix this?  
[invalid json text while deleting a post · Issue #18983 · mattermost/mattermost-server · GitHub](https://github.com/mattermost/mattermost-server/issues/18983)

---

<div class="post-metadata">

**Author:** ![agnivade](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/agnivade/32/3846_2.png) [@agnivade](https://forum.mattermost.com/u/agnivade)\
**Post date:** [February 10, 2022, 3:52am UTC](https://forum.mattermost.com/t/channel-mute-and-delete-post-functions-not-working-after-6-0-upgrade/12947/8 "2022-02-10T03:52:48Z")

</div>

Yes, I’d suggest to upgrade to 8.0.25, or be at 8.0.21. There’s a regression somewhere in 8.0.22 which got fixed in the later versions.

---

<div class="post-metadata">

**Author:** ![mscollins](https://avatars.discourse-cdn.com/v4/letter/m/2bfe46/32.png) [@mscollins](https://forum.mattermost.com/u/mscollins)\
**Post date:** [February 10, 2022, 2:01pm UTC](https://forum.mattermost.com/t/channel-mute-and-delete-post-functions-not-working-after-6-0-upgrade/12947/9 "2022-02-10T14:01:45Z")

</div>

I can confirm that updating to MYSQL 8.0.28 did fix both the mute and delete post functions. Thank you both for your assistance.
