Avainsanana Mattermost

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)

”Failed to get system bot” after importing old data to a fresh install

26. elokuuta 2024 klo 8.55
Sijainti: Blogit: Mattermost Discussion Forums
Avainsanat: Mattermost

I’m just making this note here publicly, since I was first going to pose this as a question, but then managed to solve it by myself:

For background, I recently switched my Mattermost from a tar archive installation to installing it from the package repository, and simultaneously switched it from using a MySQL database to using PostgreSQL, all in one fell swoop by exporting the old content, doing a fresh install, and then importing. This appears to have mostly worked, with just user profile images having been lost, and passwords requiring a reset, both of which (I’ve gleaned from various places) were to be expected.

However, all bot accounts also seem to have been converted into normal user accounts somewhere during this process. So far the only issue I’ve discovered resulting from this is this entry getting logged repeatedly:

Failed to get system bot    caller="app/post.go:2205" component=post_reminders error="SqlBotStore.Get: Bot does not exist., resource "Bot" not found, id: <my system bot's id>"

I solved this by running

sudo -u mattermost mmctl user convert --bot "<bot id>" # replace <bot id> with your real system bot account id

Since that seems to have gone well (the error messages stopped), I went ahead and converted the rest of the bot accounts back to true bots likewise.

Vastaa viestiin sen kontekstissa (Mattermost Discussion Forums)

The issue here is that using special characters in your password on the DataSource line is broken

24. elokuuta 2024 klo 15.19
Sijainti: Keskustelupalstat: Mattermost Discussion Forums
Avainsanat: Mattermost, security

For anyone else stumbling across this thread when googling for this annoying problem: the issue here is that using special characters in your password on the DataSource line is broken: Can’t use special character in password in the DataSource property · Issue #1541 · mattermost/mattermost · GitHub

As stupid as that is, the easiest way to work around it is to set a password consisting of just alphanumeric characters. You shouldn’t have much use for it outside this anyway, so as not to make it ridiculously insecure.

Vastaa viestiin sen kontekstissa (Mattermost Discussion Forums)

Alright, I finally managed to get through the signup

4. tammikuuta 2024 klo 17.45
Sijainti: Vianhallintajärjestelmät: Github
Avainsanat: Mattermost

@amyblais Alright, I finally managed to get through the signup. Here’s my suggestion, although it’s in moderation for now, so the link probably won’t work until it’s approved.

Vastaa viestiin sen kontekstissa (Github)

Provide a ”Mark read” choice in mobile push notifications

4. tammikuuta 2024 klo 17.41
Sijainti: Keskustelupalstat: Mattermost Feature Idea Forum
Avainsanat: Mattermost

A ”Mark read” choice in push notifications about new messages, as seen in many IM apps, would be handy in Mattermost Mobile too. Currently the message can only be marked read by tapping the message to open the app (which is slow).

Vastaa viestiin sen kontekstissa (Mattermost Feature Idea Forum)

I would, but I can’t figure out how the signup on that site works

3. tammikuuta 2024 klo 19.34
Sijainti: Vianhallintajärjestelmät: Github
Avainsanat: Mattermost, saavutettavuus

Hi @amyblais,

I could post this on the feature idea forum, but I can’t figure out how the signup on the site works. When I click on ”Create an account”, I get a prompt to verify my email address, and having done that, a page saying ”Go back to Production to finish logging in”. I don’t know what ”Production” is, and at no point was there any actual way to set up a password, so I can’t log in.

Vastaa viestiin sen kontekstissa (Github)

Feature request: a ”Mark read” choice in push notifications

17. joulukuuta 2023 klo 17.06
Sijainti: Vianhallintajärjestelmät: Github
Avainsanat: Android, Mattermost, saavutettavuus, Samsung

Summary

A ”Mark read” choice in push notifications about new messages, as seen in many IM apps, would be handy in Mattermost Mobile too. Currently the message can only be marked read by tapping the message to open the app (which is slow).

Environment Information

  • Device Name: Samsung Galaxy A9
  • OS Version: Android 10
  • Mattermost App Version: 2.11.0
  • Mattermost Server Version: 9.3.0

Steps to reproduce

  1. Receive a message notification on the Android app.
  2. Pull down the notifications.
  3. Expand the received notification.

Expected behavior

Have a ”Mark read” option underneath the expanded notification.

Observed behavior

No ”Mark read” option, only ”Reply”.

Vastaa viestiin sen kontekstissa (Github)

Missing builds of push proxy v5.25.0

19. syyskuuta 2023 klo 14.59
Sijainti: Vianhallintajärjestelmät: Github
Avainsanat: Github, Mattermost

Summary

As of this writing, push proxy v5.25.0 was released 5 days ago, but the published assets on Github only include the source code.

Steps to reproduce

As per documentation,

wget https://github.com/mattermost/mattermost-push-proxy/releases/download/v5.25.0/mattermost-push-proxy.tar.gz

Expected behavior

Receive mattermost-push-proxy.tar.gz

Observed behavior (that appears unintentional)

404 Not Found

Vastaa viestiin sen kontekstissa (Github)

With 2.1 it always fails due to non-existent org.webrtc

24. helmikuuta 2023 klo 14.39
Sijainti: Vianhallintajärjestelmät: Github
Avainsanat: Linux, Mattermost, Ubuntu

I have the same issue. I’m doing this in a Linux container (Ubuntu 20.04 inside Ubuntu 20.04), but like matthaios-easy-bi, I’m using npm run build:android to build (as per documentation). This has worked up until 2.0, but with 2.1 it always fails due to non-existent org.webrtc. Manually running npm install prior to npm run build:android makes no difference, nor does node node_modules/react-native-webrtc/tools/downloadWebRTC.js (although it does seemingly download the package successfully).

Here’s excerpts from the build output.

Vastaa viestiin sen kontekstissa (Github)

Vanhempia »