Client: No keychain service available on Ubuntu 18.04

Created on 1 May 2018  路  14Comments  路  Source: owncloud/client

Hi,

This recurring error is back on Ubuntu 18.04, after installing the OS and then ownCloud client from the repositories: owncloud-client 2.4.1+dfsg-1

Expected behaviour

Passwords should be stored.

Actual behaviour

When starting ownCloud, after reboot, there is a dialog to enter the password with the message: No keychain service available

Steps to reproduce

  1. Install Ubuntu 18.04
  2. Install ownClient
  3. Add one or more accounts to ownCloud
  4. reboot

Client configuration

Client version: 2.4.1

Operating system: Ubuntu 18.04

Client package (From ownCloud or distro) (Linux only):
gnome-keyring 3.28.0.2-1ubuntu1
libgnome-keyring-common 3.12.0-1build1
libqt5keychain1:amd64 0.7.0-3
ubuntu-keyring 2018.02.28

I've tries several workarounds from previous related errors, but none worked. I'll still trying to find a solution. I'll report back.

Most helpful comment

if you are running the snap on ubuntu 18.04 you can solve this by running
# snap connect nextcloud-client:password-manager-service

I do not know if this is the best solution but I found it in
https://askubuntu.com/questions/1032137/nextcloud-client-complains-about-missing-keychain-at-startup

All 14 comments

Known and fixed error in this thread of the official client:
https://github.com/owncloud/client/issues/6455

The error you report refers to the distribution package of Ubuntu 18.04 and was also reported. So far it has not been fixed, but you could visit the thread and at least mark that you are also affected:

https://bugs.launchpad.net/ubuntu/+source/owncloud-client/+bug/1761936

Thanks @fabianbur for the links provided.
sudo apt install libgnome-keyring0 solves the problem for now.

Simply installing sudo apt install libgnome-keyring0 fixed it for me too! :)

FYI @hefee

On Fedora (28 in my case) you do sudo dnf install libgnome-keyring.

if you are running the snap on ubuntu 18.04 you can solve this by running
# snap connect nextcloud-client:password-manager-service

I do not know if this is the best solution but I found it in
https://askubuntu.com/questions/1032137/nextcloud-client-complains-about-missing-keychain-at-startup

Ubuntu 18.10 and ownCloud from repository.
Installing sudo apt install libgnome-keyring0 fixed it!
Thanks a bunch!

@rudiservo Thanks. It works for ubuntu 18.10.

Today I solved it as follows:
sudo apt install gnome-keyring
sudo apt install python-keyring

I can confirm for Fedora 29: dnf install gnome-python2-gnomekeyring fixed this issue as well.

The problem still there (at least on Fedora 31 and Ubuntu 18.04), and instaling the library fixed it.
libgnome-keyring0
libgnome-keyring

I don't understand why they don't add that library as requirement...

Best regards.

@i2dcarrasco 2.6.1? Distro package or ownCloud download page? Could you open new issue with the details?

Hello,

Was done using the webpage steps for repository installation.

I'll try to open the issue later.

Best regards

Hi,

This recurring error is back on Ubuntu 18.04, after installing the OS and then ownCloud client from the repositories: owncloud-client 2.4.1+dfsg-1

Expected behaviour

Passwords should be stored.

Actual behaviour

When starting ownCloud, after reboot, there is a dialog to enter the password with the message: No keychain service available

Steps to reproduce

1. Install Ubuntu 18.04

2. Install ownClient

3. Add one or more accounts to ownCloud

4. reboot

Client configuration

Client version: 2.4.1

Operating system: Ubuntu 18.04

Client package (From ownCloud or distro) (Linux only):
gnome-keyring 3.28.0.2-1ubuntu1
libgnome-keyring-common 3.12.0-1build1
libqt5keychain1:amd64 0.7.0-3
ubuntu-keyring 2018.02.28

I've tries several workarounds from previous related errors, but none worked. I'll still trying to find a solution. I'll report back.

On ubuntu 18.04:
sudo apt install python-keyring python3-keyring
and restart system.

Was this page helpful?
0 / 5 - 0 ratings