[COMPASS-3838] Compass does not load on KDE Created: 20/Aug/19  Updated: 29/Oct/23  Resolved: 22/Jan/20

Status: Closed
Project: Compass
Component/s: Installation
Affects Version/s: None
Fix Version/s: 1.21.0

Type: Bug Priority: Major - P3
Reporter: Matthew Schnee Assignee: Irina Shestak (Inactive)
Resolution: Fixed Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Kubuntu 19.04, Manjaro 18.0.4


Attachments: PNG File image-2019-08-20-10-53-11-565.png     PNG File image-2019-10-10-13-20-55-302.png     PNG File screenshot-1.png     PNG File screenshot-2.png    
Issue Links:
Duplicate
is duplicated by COMPASS-4065 COMPASS cannot Running on Kubuntu 18.04 Closed
Sprint: Iteration Tarantula, Iteration Urial

 Description   

After installation of either mongodb-compass or mongodb-compass-community 1.19.6_amd64.deb, MongoDB Compass starts up at a loading screen which never progresses:

 

This has been seen on a number of Linux variants using KDE:

https://www.reddit.com/r/ManjaroLinux/comments/c42q93/mongodb_compass_stuck_on_loading_screen/

https://stackoverflow.com/questions/47456910/mongodb-compass-loading-forever

 

This behavior been noted on Kubuntu 18.04, Kubuntu 18.10, Kubuntu 19.04, KDE Neon, Manjuro Linux, Arch Linux.  A quick survey of the office shows that people using the default Unity/Gnome flavors of Ubuntu and Arch can use MongoDB Compass without issue.

 

 



 Comments   
Comment by Lucas Hrabovsky (Inactive) [ 13/Dec/19 ]

irina.shestak Values for depends set by hadron-build here will be passed to electron-installer-debian. Same pattern for .rpm via electron-installer-redhat and requires

Comment by Massimiliano Marcon [ 02/Dec/19 ]

Just tried the same with Kubuntu and installing gnome-keyring fixes the problem.

Comment by Tommaso Tocci [ 29/Nov/19 ]

I had the same problem on Arch linux with versions v1.17.0, v1.19.12 and v1.20.0-beta.9, and in the end I discovered that I was missing `gnome-keyring` system dependency. This would explain why you are observing this only on environments that do not ship with gnome eco-system such as Kubuntu, KDE Neon, Manjuro Linux or Arch Linux.
Moreover on the official .deb package of MongoDB compass, `gnome-keyring` is marked as optional dependency but actually I couldn't run without it.
I hope it will help

Comment by Lucas Willems [ 10/Oct/19 ]

I have the exact same issue under Kubuntu 19.04.

 

Comment by Matthew Schnee [ 28/Aug/19 ]

Attaching a DEBUG=* stdout from a Gnome/Unity Ubuntu system

 DEBUG=* mongodb-compass 
  hadron-auto-update-manager auto updater ready and waiting. { version: '1.19.6',
  feedURL:
   'https://compass.mongodb.com/api/v2/update/compass/stable/linux/1.19.6' } +0ms
  mongodb-compass:menu init() +0ms
  hadron-auto-update-manager:linux feedURL is `https://compass.mongodb.com/api/v2/update/compass/stable/linux/1.19.6` +47ms
  mongodb-compass:electron:window-manager creating new window: file:///usr/share/mongodb-compass/resources/app.asar/src/app/index.html +49ms
  mongodb-compass:menu WINDOW 1 load() +32ms
  mongodb-compass:menu lastFocusedWindow set to WINDOW 1 +1ms
  mongodb-compass:menu create menu state for new WINDOW 1 +0ms
  mongodb-compass:menu WINDOW 1 setTemplate() +1ms
  mongodb-compass:menu WINDOW 1's menu loaded +17ms
  hadron-ipc:main calling app:enable-auto-update handler with args [] +0ms
  hadron-auto-update-manager checkForUpdates with options { hidePopups: true } +6s
  hadron-auto-update-manager checking for updates... +0ms
  hadron-ipc:main responding with result for app:enable-auto-update undefined +42ms
  hadron-ipc:main calling window:renderer-ready handler with args [] +9ms
  mongodb-compass:electron:window-manager sending `app:launched` msg back +6s
  hadron-ipc:main responding with result for window:renderer-ready undefined +0ms
  hadron-ipc:main calling window:renderer-ready handler with args [] +1ms
  mongodb-compass:electron:window-manager close _loading +1ms
  mongodb-compass:electron:window-manager loading window closed. dereferencing +6ms
  mongodb-compass:electron:window-manager showing _window +0ms
  hadron-ipc:main responding with result for window:renderer-ready undefined +6ms
  mongodb-compass:menu WINDOW 1 focused +49ms
  mongodb-compass:menu lastFocusedWindow set to WINDOW 1 +0ms
  mongodb-compass:menu WINDOW 1 load() +0ms
  mongodb-compass:menu WINDOW 1's menu already loaded +0ms
[]
  hadron-auto-update-manager:linux got response [Circular] +682ms

Comment by Matthew Schnee [ 28/Aug/19 ]

When run from the command line:

DEBUG=* mongodb-compass                                                                                                      
  hadron-auto-update-manager auto updater ready and waiting. { version: '1.19.6',
  feedURL:
   'https://compass.mongodb.com/api/v2/update/compass/stable/linux/1.19.6' } +0ms
  mongodb-compass:menu init() +0ms
  hadron-auto-update-manager:linux feedURL is `https://compass.mongodb.com/api/v2/update/compass/stable/linux/1.19.6` +40ms
  mongodb-compass:electron:window-manager creating new window: file:///usr/share/mongodb-compass/resources/app.asar/src/app/index.html +21ms
  mongodb-compass:menu WINDOW 1 load() +27ms
  mongodb-compass:menu lastFocusedWindow set to WINDOW 1 +0ms
  mongodb-compass:menu create menu state for new WINDOW 1 +0ms
  mongodb-compass:menu WINDOW 1 setTemplate() +1ms
  mongodb-compass:menu WINDOW 1's menu loaded +7ms
 

The following only logs when opening devtools and seems to be electron-specific:

[5614:0828/110932.027301:ERROR:CONSOLE(106)] "Uncaught (in promise) Error: Could not instantiate: ProductRegistryImpl.Registry", source: chrome-devtools://devtools/bundled/shell.j
s (106)
 
 
 

 

DevTools do not show any files loaded beyond the loading.html and css

Generated at Wed Feb 07 22:34:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.