Summary
I’ve been using tarball installs since v4.X.
I recently noticed that Mattermost is publishing a deb repo, beyond the initial omnibus packages.
I just ran through a PoC in a local VM to test upgrading from tarball to package install, and it appears to have worked with basically no issues.
One thing I do notice with the deb packages, is that it appears to default to the enterprise edition (EE) rather than the team edition (TE).
As evidenced by both manifest.txt
and the presence of ENTERPRISE-EDITION-LICENSE.txt
.
$ diff -y manifest_te.txt manifest_ee.txt
DOCKER_TAG=20107_69a5120a | BUILD_EE=69a5120ae293c9e6e3e1109bc3f02d7b659e60d9_18622a4c15f
EDITION=te | CREATION_DATE=2023-09-01T16-49-45.487472411
MM_PACKAGE=https://s3.amazonaws.com/releases.mattermost.com/g | DOCKER_TAG=20109_69a5120a_18622a4c
PIPELINE_IID_BUNDLE=20107 | EDITION=ee
PIPELINE_IID_MATTERMOST_SERVER=20407 | MM_PACKAGE=https://s3.amazonaws.com/releases.mattermost.com/g
> PIPELINE_IID_BUILD_EE=12340
> PIPELINE_IID_BUNDLE=20109
> REF_BUILD_EE=release-8.1
REF_BUNDLE=release-8.1 REF_BUNDLE=release-8.1
> REF_ENTERPRISE=release-8.1
REF_MATTERMOST_SERVER=release-8.1 REF_MATTERMOST_SERVER=release-8.1
> SHA_BUILD_EE=2f577f693b3c36df863c453c304d84b65de56fcd
SHA_BUNDLE=b9f56a53c72bd80793004f32c4f39f6ce583bfcb SHA_BUNDLE=b9f56a53c72bd80793004f32c4f39f6ce583bfcb
> SHA_ENTERPRISE=18622a4c15ffb4519ca2dfac3e5c844efa722cba
SHA_MATTERMOST_SERVER=69a5120ae293c9e6e3e1109bc3f02d7b659e60d SHA_MATTERMOST_SERVER=69a5120ae293c9e6e3e1109bc3f02d7b659e60d
> TRIGGERED_BY=mattermost-server
> TRIGGER_PIPELINE_IID=20407
TYPE=onprem TYPE=onprem
Even after changing manifest.txt
to match the TE tarball’s version, as well as removing the ENTERPRISE-EDITION-LICENSE.txt
file, it still reports as “Enterprise Edition - Free” in System Console and in About Mattermost. Same when copying over the MIT-COMPILED-LICENSE.md
too.
Is this purely cosmetic?
A planned obsolescence of TE in favor of a single EE with a free plan?
Or are the deb packages strictly for EE, and TE should only use the tarball install?
To be clear, I have been, and want to continue using, TE.
But I also would like to simplify my life by moving to the deb packages rather than my hacky bash scripts to update versions with tarball downloads.
Steps to reproduce
Install with TE from tarball, upgrade using deb packages.
Or alternately, install from scratch with deb packages.
Expected behavior
Default to TE with path to upgrade to EE.
Observed behavior
Installed deb packages over tarball install, appears to have worked, however it appears to have converted to EE instead of remaining TE.