mattermost / desktop

Mattermost Desktop application for Windows, Mac and Linux
Apache License 2.0
2k stars 816 forks source link

Since I upgraded to 5.7.0 on my desktop, I only get a black screen #2986

Closed Taralian closed 1 week ago

Taralian commented 6 months ago

Before you file a crash report

Mattermost Desktop Version

5.7.0

Operating System

macOS Big Sur 11.7.10

Mattermost Server Version

Mattermost Version: 9.0.0 Database Schema Version: 111 Database: mysql

What type of crash did you experience?

White screen (I can see the top bar, but I cannot see my Mattermost server)

Crash report details

How to reproduce, step-by-step:  Open the app on my desktop
Expected behavior (or what is wrong):  The screen is completely black
Desktop App version:  5.7.0.
Operating System:  Mac OS Big Sur 11.7.10
Mattermost Server version: Mattermost Version: 9.0.0 Database Schema Version: 111 Database: mysql

I went to [View] > [Developer Tools for Current Server] and the window that came up was also black, so I have no way to click on a Console tab or save any log.  See photos below for screenshots.

Log Output

No response

Additional Information

Screen Shot 2024-03-19 at 2 13 51 PM Screen Shot 2024-03-19 at 2 14 08 PM
devinbinnie commented 6 months ago

@Taralian Is there a reason you're still on Big Sur? It is no longer supported by Apple. I haven't seen any other reports of this, so it's possible the latest Electron broke this. Would upgrading your macOS be something you could try?

Taralian commented 6 months ago

Thanks, @devinbinnie. I'm using an old MacBook from 2016 and I'm a bit concerned that upgrading to the next system would push it too hard. I didn't know that Apple was no longer supporting Big Sur. I'll check into this.

koderis-volkovs commented 6 months ago

Same here for MacOS Monterey Version 12.7.4. I'm using iMac (Retina 5K, 27-inch, Late 2015). Desktop app version: Version 5.7.0 (81418775581)

Taralian commented 6 months ago

So @devinbinnie, if @koderis-volkovs is having the same issue, it seems it won't help for me to upgrade to Monterey. Do you have any other advice for us? Thanks!

koderis-volkovs commented 6 months ago

@devinbinnie Probably is right that Electron broke this. In crash logs saw many lines about Electron. @Taralian I just removed Mattermost that I downloaded from AppStore and downloaded Mattermost 5.6.0 from https://github.com/mattermost/desktop/releases/tag/v5.6.0 and at least - Mattermost works now.

Taralian commented 6 months ago

@koderis-volkovs Thank you so much, it worked! @devinbinnie, does this mean that we can't go beyond 5.6.0 Mattermost with the systems we're using?

devinbinnie commented 6 months ago

@Taralian I guess it would appear so. Though it's possible that this was unintentional and was fixed in a newer version of Electron. One thing I can do is upgrade the Electron version on the nightly build, if you would be willing to try that?

yewkay commented 6 months ago

My office is experiencing the same issue, we're on Windows 11.

Additional info: it happened after my colleague did a search in the search bar at the top. reinstalling MM desktop doesn't work. Those that haven't done seem so have their MM v5.7 still working.

Taralian commented 6 months ago

@devinbinnie At the moment on 5.6.0 I am having no issue, but if you think upgrading the Electron version on the nightly build might avoid future issues and help others, I'm willing to try. Just let me know what you need :-)

devinbinnie commented 6 months ago

@Taralian The current nightly is running v29.0.0. Do you want to give that a try? https://community.mattermost.com/core/pl/fg6xhhehqtd15grjtd64kt931r

Taralian commented 6 months ago

@devinbinnie I have no idea what you're talking about...and when I click that link, I just get sent to the login of my regular Ängsbacka Mattermost account. What is a nightly and why is the version so much higher than 5.7?

devinbinnie commented 6 months ago

@Taralian The nightly build is our latest build from the current code branch, containing new but untested features. That link is for our community server which you would need an account one, but I can give you a direct link for Mac here: https://s3.amazonaws.com/releases.mattermost.com/desktop/5.8.0-nightly.20240322/mattermost-desktop-5.8.0-nightly.20240322-mac-universal.dmg

The version number I referred to above is the Electron version number, not our internal one.

Taralian commented 6 months ago

@devinbinnie In order to try this, will I have to delete the current version of Mattermost?

devinbinnie commented 6 months ago

@Taralian Nope, you can just drag the app from the DMG into your Downloads folder and run it from there

yewkay commented 6 months ago

I'll start another issue since mine is windows related and the solution here seems to be Mac focused. My office systems runs Windows and doesn't have electron installed. So I believe it should be a different issue altogether.

devinbinnie commented 1 week ago

Closing as this is likely resolved.