[Solved] Upgrade to 11 using the ppa on Ubuntu 22.04 fails

~$ sudo apt dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up mattermost (11.0.2-0) ...
dpkg: error processing package mattermost (--configure):
 installed mattermost package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 mattermost
E: Sub-process /usr/bin/dpkg returned an error code (1)

The setting that needed to be changed is:
“ExperimentalViewArchivedChannels”: true,

2 Likes

Thanks, I had this same issue!

Hello,
The solution doesn`t work! i try it, but i get the same error.
I use local mysql

dpkg: error processing package mattermost (--configure):
 installed mattermost package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 mattermost
E: Sub-process /usr/bin/dpkg returned an error code (1)

I have changed this to false, it still gives me the same error. if I delete the line, it comes back :frowning: