question

antonioaltamura-7023 avatar image
1 Vote"
antonioaltamura-7023 asked 83952156 answered

Teams: blank screen on startup

I has been several days now I'm getting a blank screen when I try lo launch Teams.
Looking for solution around, the only one that actually worked for me is to resize the window. It seems an electron issue on rendering the page.
This is not as much a bug report, as a feedback on something you should fix.
OS is Ubuntu 18.

This teams-startup.log, not sure if that missing "hooks.json" is the problem.

 Error while parsing hooks JSON. Error: "ENOENT: no such file or directory, open '/home/myuser/.config/Microsoft/Microsoft Teams/hooks.json'"
 (node:15363) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
 (node:15363) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 ecsSettingsUpdated listeners added to [EventEmitter]. Use emitter.setMaxListeners() to increase limit
 (node:15363) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 appInitialized listeners added to [EventEmitter]. Use emitter.setMaxListeners() to increase limit
 (node:15363) UnhandledPromiseRejectionWarning: Error: LocalStorageService: key or value not defined
     at m.<anonymous> (/usr/share/teams/resources/app.asar/main.bundle.js:1:375928)
     at Generator.next (<anonymous>)
     at /usr/share/teams/resources/app.asar/main.bundle.js:1:374186
     at new Promise (<anonymous>)
     at i (/usr/share/teams/resources/app.asar/main.bundle.js:1:373931)
     at m.setValue (/usr/share/teams/resources/app.asar/main.bundle.js:1:375870)
     at t.AppLevel.set (/usr/share/teams/resources/app.asar/main.bundle.js:16:667207)
     at t.AppLevel.get (/usr/share/teams/resources/app.asar/main.bundle.js:16:667165)
     at /usr/share/teams/resources/app.asar/main.bundle.js:16:673433
     at Array.reduce (<anonymous>)
 (node:15363) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
 (node:15363) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
office-teams-linux-itpro
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @antonioaltamura-7023

Does anyone else have the same issue in your organization?

Are there any error messages when the black screen start up?

To exclude the client issue, we firstly recommend you try to login Teams web client to see if this issue can be reproduced. If there is no issue in Teams, you could try to clear your Teams client cache file by following these commands:

rm -rf ~/.config/Microsoft/Microsoft\ Teams.

0 Votes 0 ·

I've seen the same thing for a long time. It happens very rarely when I'm using X11 (gives a white window), but occurs super often when using Wayland (gives a black window). I've seen the X11 white window on two different systems - no other app (even other electron-wrapped apps) on these systems ever has this problem.

I was just now testing with Wayland and it opened correctly on the first time, then gave me the black window 6 consecutive restarts after that. Resizing the window is the only thing that gets it to redraw properly. It's as if there's no update happening after the app initially writes to the surface/canvas. The app works fine other than this weird startup behavior.

Edit: Others appear to see it as well -
https://answers.microsoft.com/en-us/msteams/forum/all/black-screen-problem-in-ms-teams-desktop-app/ccf791df-0889-4a95-85b9-57ee235cc5fb
https://answers.microsoft.com/en-us/msteams/forum/all/blank-screen-on-teams/93707974-549a-4721-bf0e-2d23ae18c74b
...

Apparently clearing the cache may fix it temporarily, but the issue will return. That almost sounds like a race condition.

0 Votes 0 ·

1 Answer

83952156 avatar image
0 Votes"
83952156 answered

When Teams is showing a blank white screen when opening or sharing files, then one of these suggestions will be of help to you:


  • List item

Restart Teams

End the Teams Task.

Clear the Teams cache.

Repair Microsoft Teams. (Guide for how you can repair MS Teams: https://www.thewindowsclub.com/microsoft-teams-is-showing-a-blank-screen )

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.