desktop icon indicating copy to clipboard operation
desktop copied to clipboard

[Crash]: The 5.13.1 update crash Mattermost

Open Keqy opened this issue 4 months ago • 2 comments

Before you file a crash report

Mattermost Desktop Version

5.13.1

Operating System

Ubuntu Linux 24.04.3 LTS x86_64

Mattermost Server Version

No response

What type of crash did you experience?

System crash (The application quit unexpectedly with no warning, or the operating system reported a crash)

Crash report details

09:59:13.030 › Logger Log level set to: info
[macos-notification-state] failed to load 'notificationstate' addon Error: Module did not self-register: '/snap/mattermost-desktop/800/opt/Mattermost/resources/app.asar.unpacked/node_modules/macos-notification-state/build/Release/notificationstate.node'.
    at process.func [as dlopen] (node:electron/js2c/node_init:2:2617)
    at Module._extensions..node (node:internal/modules/cjs/loader:1855:18)
    at Object.func [as .node] (node:electron/js2c/node_init:2:2844)
    at Module.load (node:internal/modules/cjs/loader:1430:32)
    at Module._load (node:internal/modules/cjs/loader:1253:12)
    at c._load (node:electron/js2c/node_init:2:17993)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:242:24)
    at Module.require (node:internal/modules/cjs/loader:1452:12)
    at require (node:internal/modules/helpers:135:16) {
  code: 'ERR_DLOPEN_FAILED'
}
Checking for beta autoupdate feature for deb/rpm distributions
Found package-type: deb
09:59:13.102 › [Config] Migrating config items successfully.
09:59:13.109 › [App.Initialize] Current working directory is /home/n-ivin, changing into /snap/mattermost-desktop/800/opt/Mattermost
Error org.freedesktop.DBus.Error.Failed: cannot set "default-url-scheme-handler" subproperty "mattermost" setting to invalid value "Mattermost.Desktop"
[41892:0920/095913.121439:ERROR:ui/ozone/platform/wayland/host/wayland_connection.cc:191] Failed to connect to Wayland display: Permission denied (13)
[41892:0920/095913.121490:ERROR:ui/ozone/platform/wayland/ozone_platform_wayland.cc:278] Failed to initialize Wayland platform
[41892:0920/095913.121501:ERROR:ui/aura/env.cc:257] The platform failed to initialize.  Exiting.
Segmentation fault (core dumped)

Log Output

n-ivin@NB-9503:~$ cat ~/.local/share/Mattermost/logs
cat: /home/n-ivin/.local/share/Mattermost/logs: No such file or directory
n-ivin@NB-9503:~$ cat ~/.config/Mattermost/logs
cat: /home/n-ivin/.config/Mattermost/logs: No such file or directory

Additional Information

Mattermost stopped opening immediately after update. Downloaded from snap.

Keqy avatar Sep 20 '25 07:09 Keqy

Looks like you have a Wayland issue based on the logs here:

Error org.freedesktop.DBus.Error.Failed: cannot set "default-url-scheme-handler" subproperty "mattermost" setting to invalid value "Mattermost.Desktop"
[41892:0920/095913.121439:ERROR:ui/ozone/platform/wayland/host/wayland_connection.cc:191] Failed to connect to Wayland display: Permission denied (13)
[41892:0920/095913.121490:ERROR:ui/ozone/platform/wayland/ozone_platform_wayland.cc:278] Failed to initialize Wayland platform
[41892:0920/095913.121501:ERROR:ui/aura/env.cc:257] The platform failed to initialize.  Exiting.

Are you running using the ELECTRON_OZONE_PLATFORM_HINT variable? If you are, try removing it and if not, try setting it to auto`

devinbinnie avatar Sep 22 '25 14:09 devinbinnie

Are you running using the `ELECTRON_OZONE_PLATFORM_HINT variable?

I didn't change any settings

if not, try setting it to auto

How can I do this?

Keqy avatar Sep 22 '25 16:09 Keqy