Avainsanana Mattermost

I just built 2.42.3, and it appears to have fixed this

I just built 2.42.3, and it appears to have fixed this — maybe via [PR #9789](https://github.com/mattermost/mattermost-mobile/pull/9789#:~:text=bad%2Dcertificate%20reporting.-,Build%20Script,-File%3A%20scripts)?

Vastaa viestiin sen kontekstissa (https://github.com/mattermost/mattermost-mobile/issues/9867#issuecomment-5204952376)

Building after an npm install results in an equally broken (i.e. iconless) build

22. kesäkuuta 2026 klo 15.10
Sijainti: Vianhallintajärjestelmät: Github
Avainsanat: Mattermost, npm, Ubuntu

My build environment is an Ubuntu 24.04 VM.

Turns out I wasn’t running npm install in my build script, but that also apparently isn’t the issue: building after an npm install results in an equally broken (i.e. iconless) build as without it.

I’ll attach an output log from the npm install part. It at least mentions postinstall.sh.

npm-install.log

Vastaa viestiin sen kontekstissa (Github)

Depends on whether it is run as part of the documented npm run build:android build command, which is what I’m using

21. kesäkuuta 2026 klo 19.35
Sijainti: Vianhallintajärjestelmät: Github
Avainsanat: Mattermost, npm

I don’t know; depends on whether it is run as part of the documented npm run build:android build command, which is what I’m using.

Vastaa viestiin sen kontekstissa (Github)

Icons missing in version 2.41.1

20. kesäkuuta 2026 klo 15.06
Sijainti: Vianhallintajärjestelmät: Github
Avainsanat: Android, Mattermost

After updating my build of the mobile app from 2.40.0 to 2.41.1 (and no other changes in the build environment), all icons in the resulting app have been replaced with a ”☒”, and all channel icons with what looks like a Chinese character (the app is supposed to use English, like the OS). Only user profile pictures seem unaffected (except for the overlaid status indicator, which *is* affected).

I’ve so far tested this on a phone running Android 10 and a tablet running Android 15. Both are using the ”Onyx” theme (and switching the theme has no impact on the issue). The server is running the latest release 11.8.1 (and the web UI is unaffected).

Vastaa viestiin sen kontekstissa (Github)

Last two releases not published on Github

15. elokuuta 2025 klo 17.06
Sijainti: Vianhallintajärjestelmät: Github
Avainsanat: Github, Mattermost

According to the [changelog](https://docs.mattermost.com/product-overview/mobile-app-changelog.html), there have been two releases since 2.29.1, but 2.29.1 is the latest on the [releases page](https://github.com/mattermost/mattermost-mobile/releases) here on Github. 2.30.0 and now 2.31.0 (apparently released today) are missing.

Vastaa viestiin sen kontekstissa (Github)

Building 2.28.0 now succeeds with node 22 as well

22. toukokuuta 2025 klo 20.20
Sijainti: Vianhallintajärjestelmät: Github
Avainsanat: Mattermost

I build on release tags, and it looks like building 2.28.0 now succeeds with node 22 as well (whereas 2.27.0 still failed). So I think this is fixed now!

Vastaa viestiin sen kontekstissa (Github)

If there’s something I can do to try to further narrow this down, let me know

13. toukokuuta 2025 klo 14.09
Sijainti: Vianhallintajärjestelmät: Github
Avainsanat: Mattermost, Ubuntu

No problem; like I said, using node 20 works fine. I only noticed this issue recently, when I rebuilt my build environment, and tried doing so by the book (i.e. according to the docs).

If there’s something I can do to try to further narrow this down, let me know. I’m doing the build in an Ubuntu 24.04 VM, which I can restore to a working snapshot if testing causes it to break.

Vastaa viestiin sen kontekstissa (Github)

Can’t build 2.27.0 with node 22 as recommended in documentation

20. huhtikuuta 2025 klo 18.24
Sijainti: Vianhallintajärjestelmät: Github
Avainsanat: Mattermost, Node.js

The Developer setup documentation says ”We recommend using NodeJS v22”, but trying to build the app (release 2.27.0) with node 22 fails (after nvm install 22.14.0):

npm error code EBADENGINE
npm error engine Unsupported engine
npm error engine Not compatible with your version of node/npm: mattermost-mobile@2.27.0
npm error notsup Not compatible with your version of node/npm: mattermost-mobile@2.27.0
npm error notsup Required: {"node":"^18.18.0 || ^20.0.0","npm":"^9 || ^10"}
npm error notsup Actual:   {"npm":"10.9.2","node":"v22.14.0"}
npm error A complete log of this run can be found in: /home/jani/.npm/_logs/2025-04-20T11_20_48_320Z-debug-0.log

The build works if I install node 20.19.0 instead.

Vastaa viestiin sen kontekstissa (Github)

v2.25.1 FTBFS (Android)

21. helmikuuta 2025 klo 15.19
Sijainti: Vianhallintajärjestelmät: Github
Avainsanat: Android, Mattermost

Trying to build v2.25.1 with `npm build:android` fails with what looks like a missing dependency. This was not an issue with v2.25.0, so the cause is some recent change.

The full log is below, but here’s what I think is the crucial part:

* What went wrong:
Could not determine the dependencies of task ':app:mergeReleaseNativeLibs'.
> Could not resolve all dependencies for configuration ':app:releaseRuntimeClasspath'.
> Could not resolve project :frameanimation.
Required by:
project :app > project :expo > project :expo-image
> No matching variant of project :frameanimation was found. The consumer was configured to find a library for use during runtime, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '8.2.1', attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- No variants exist.
> Could not resolve project :gif.
Required by:
project :app > project :expo > project :expo-image
> No matching variant of project :gif was found. The consumer was configured to find a library for use during runtime, preferably optimized for Android, as well as attribute 'com.android.build.api.attributes.AgpVersionAttr' with value '8.2.1', attribute 'com.android.build.api.attributes.BuildTypeAttr' with value 'release', attribute 'org.jetbrains.kotlin.platform.type' with value 'androidJvm' but:
- No variants exist.

fail.log

Vastaa viestiin sen kontekstissa (Github)

/opt/mattermost/client/root.html changed after installing

24. tammikuuta 2025 klo 11.49
Sijainti: Vianhallintajärjestelmät: Github
Avainsanat: Debian, Mattermost

In at least the past couple of updates of Mattermost, the .deb package has changed contents of /opt/mattermost/client/root.html sometime after installing the update, which changes the file’s checksum. This is an issue for people like me, who run debsums --changed daily as part of monitoring the integrity of my server.

I’m not intimately familiar with Debian packaging, but I don’t think those (checksummed) installation files should change post-install. Maybe an unchanging template file should be installed instead, and the final file generated from that?

(I’ve inspected the file, and the only change from the package-provided one is an addition of ”js.stripe.com/v3” to aheader tag, so I’m pretty sure this is a packaging issue and not filesystem corruption or a malicious attacker.)

As a workaround, I can of course recalculate the new checksum, and update the .md5sums file where it’s listed accordingly, but… eww.

(Somewhat related: #26769)

Vastaa viestiin sen kontekstissa (Github)

Vanhempia »