For feature requests, please see: https://mattermost.com/suggestions/.
For troubleshooting questions, please post in the following format:
Summary
White screen on web and desktop app but mobile still works fine
Steps to reproduce
How can we reproduce the issue (what version are you using?)
Not sure, I seem to have posted something that MM is struggling to render. I believe it was an ODT file.
Expected behavior
Describe your issue in detail
I would expect the screen to render and error only on the problematic post.
Observed behavior
What did you see happen? Please include relevant error messages and/or screenshots.
I think I tried to share an .odt file last night and I can’t recall if it errored, but this morning, the desktop app went to a complete white screen and I cannot seem to function on that server after looking at any one of several private chats. I’ve cleared cache, reinstalled my desktop app and restarted the server.
Here are the trouble logs from my desktop client.
[2024-06-22 12:51:09.782] [error] [WebContentsEventM…] [LPNC] [TAB_MESSAGING] [renderer] TypeError: Cannot read properties of null (reading ‘odt’)
[2024-06-22 12:51:09.785] [error] [WebContentsEventM…] [LPNC] [TAB_MESSAGING] [renderer] [Util] handleError:: Uncaught TypeError: Cannot read properties of null (reading ‘odt’)
[2024-06-22 12:51:09.785] [error] [WebContentsEventM…] [LPNC] [TAB_MESSAGING] [renderer] Uncaught TypeError: Cannot read properties of null (reading ‘odt’)
[2024-06-22 12:51:26.717] [error] [WebContentsEventM…] [LPNC] [TAB_MESSAGING] [renderer] TypeError: Cannot read properties of null (reading ‘odt’)
[2024-06-22 12:51:26.718] [error] [WebContentsEventM…] [LPNC] [TAB_MESSAGING] [renderer] [Util] handleError:: Uncaught TypeError: Cannot read properties of null (reading ‘odt’)
[2024-06-22 12:51:26.718] [error] [WebContentsEventM…] [LPNC] [TAB_MESSAGING] [renderer] Uncaught TypeError: Cannot read properties of null (reading ‘odt’)
[2024-06-22 12:51:33.129] [info] [ModalView] [newServer] preloading with /snap/mattermost-desktop/756/opt/Mattermost/resources/app.asar/internalAPI.js
[2024-06-22 12:51:33.192] [error] [WebContentsEventM…] [renderer] Refused to load the image ‘data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%2712%27 fill=%27none%27 stroke=%27%23dc3545%27 viewBox=%270 0 12 12%27%3e%3ccircle cx=%276%27 cy=%276%27 r=%274.5%27/%3e%3cpath stroke-linejoin=%27round%27 d=%27M5.8 3.6h.4L6 6.5z%27/%3e%3ccircle cx=%276%27 cy=%278.2%27 r=%27.6%27 fill=%27%23dc3545%27 stroke=%27none%27/%3e%3c/svg%3e’ because it violates the following Content Security Policy directive: “default-src ‘self’”. Note that ‘img-src’ was not explicitly set, so ‘default-src’ is used as a fallback.