Storage issue with connections on ubuntu/linux (credential store)
Mongodbcompass: 1.20.5 Kubuntu: 19.04
None of my connections/settings are stored, when I restart the app my favorite or recent connections are lost
I'm getting this error:
Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files
(node:10188) UnhandledPromiseRejectionWarning: ReferenceError: error is not defined
at /usr/share/mongodb-compass-community/resources/app.asar/node_modules/storage-mixin/lib/backends/secure-main.js:87:42
WIth a bit of research I found a similar issue https://github.com/Foundry376/Mailspring/issues/681
sudo apt install gnome-keyring solved the issue but adding it as a dependency would be a good idea
The issue for me was related to mongo-compass being unable to access https://en.wikipedia.org/wiki/GNOME_Keyring.
I tried a couple solutions online such as https://bbs.archlinux.org/viewtopic.php?id=224652 to no avail. I read that most login managers (lightdm, ssdm, gdm, etc.) will unlock it at the time of login -> I now use lightdm instead of logging into my computer from the terminal with a call to startx and it's working okay.
There is still a wierd glitch where the first time mongo-compass is opened after login it immediately exits and subsequent versions work fine.
Same experience here. MongoDB Compass exits just one time, perhaps trying to open Gnome Keyring. Subsequent opens work fine.
Getting this issue with:
- mongodb-compass 1.33.1-1
- endeavourOS
installing gnome-keyring also solved it for me
This must be documented on the Linux Installation section
Getting this issue with:
- mongodb-compass 1.33.1-1
- endeavourOS
installing
gnome-keyringalso solved it for me
i have gnome-keyring installed but the problem persist. Did you do anything else than installing it?
Hey @pedrokuper, which OS do you have? Is it also endeavourOS?
I've got the same problem on KDE with Debian 12, already have gnome-keyring installed as well.
Same experience here. MongoDB Compass exits just one time, perhaps trying to open Gnome Keyring. Subsequent opens work fine.
Exact same thing happens to me
Could this please be looked into? As much as I hate to be this person "bumping up" the issues, I do want to report I have been facing the same issue of credentials not being read/written from/into the keyring for at least few months now - I am pretty sure this wasn't always the case (I do have some passwords that were used by mongodb-compass saved in it) yet I haven't changed anything on my side with my setup or installed packages.
I am on Arch Linux 6.8.9.arch1-2 with mongodb-compass 1.43.0-1 package installed from the AUR.
I do use a non-standard keyring implementation (pass-secrets-git), however I have verified with other applications that make use of keyring that it fully re-implements regular secret store and its interfaces.
If there is anything I could do to help with resolving this issue, I'd be happy to help.