-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nextcloud client no longer working #26774
Comments
I found a way to make it work manually, start nextcloud client as follows: DESKTOP_SESSION=kde KDE_SESSION_VERSION=5 nextcloud This was suggested in #26275. What do I need to do to make autostart of nc client work again? |
nc uses qtkeychain-qt5 to manage the storage of its secret. I suppose that you were using gnome-keyring before upgrading. Could you do the following steps and provides the results ?
|
No, I was using kwallet. This was configured automatically, I just installed the nextcloud-client package It was working finde until around two or three days ago. Probably by an update of qt5 packages (Including qtkeychain?).
Done.
manfred|~> ps -ef | grep -E "key|wallet"
Yes, it does.
No:
No, no version of that package is installed.
Package seahorse now installed, no entries for nextcloud.
Done.
Nothing to do.
No, same error as before:
|
So you recommend to install the gnome-keyring package and the nextcloud client will use this then? Ok. But if gnome-keyring is required it should be installed as a depency but the nextcloud-client package automatically, right? Why does nc client not use kwallet when it is available und gnome-keyring not. It looks like it did before. Or an older version of qtkeychain did? |
ah, I didn't know you were using kwallet, sorry for somehow useless diags. I have to perform additional tests with kwallet, stay tuned |
qtkeychain backend's choice is complex and does not match your context or mine. See detectKeyringBackend() in https://github.com/frankosterfeld/qtkeychain/blob/master/keychain_unix.cpp. I fail to use kwallet OOTB with nextcloud-client here, with fluxbox DE and libresecret installed (required by other packages). So right now your choices to launch nextcloud-client:
I don't know yet why it was working for you before, sorry. I have to ensure my understanding is correct. I could then provide wrappers with the nc package to make life easier. |
"you're not alone" : see frankosterfeld/qtkeychain#171 |
Thank you for your in-depth analysis. For the moment I will stay with setting the env vars. |
It looks like the issue in my case is that I have libsecret installed (Don't ask me why): I would expect that in my case the following code path would be executed since I use an unknown desktop environment (DESKTOP_SESSION="Lumina"):
So libsecret should detect that I have kwallet installed and not gnome-keyring? |
nope: libsecret is a GNOME-only stuff |
Since default:
+ if (isKwallet5Available()) {
+ return Backend_Kwallet5;
+ }
if (LibSecretKeyring::isAvailable()) {
return Backend_LibSecretKeyring;
}
if (GnomeKeyring::isAvailable()) {
return Backend_GnomeKeyring;
}
- if (isKwallet5Available()) {
- return Backend_Kwallet5;
- } Note that setting Otherwise, there's no way to use any other backend than libsecret if
Meanwhile I was using For [1] for me |
thanks for you detailed answer. I don't feel confident to patch qtkeychain the way you propose. it's too intrusive for me, at least because it's changing a lot the way it's working compared to upstream. It will also make even more difficult to discuss with upstream in case of trouble. Instead, I prefer to make a wrapper via a dedicated package to help people using nextcloud with kwallet as credential storage, while not wihin KDE Desktop Environment. |
…kwallet subpackage * shibboleth is "highly deprecated" by upstream, will be removed in 3.2. * webkit support is currently ineffective and difficult to fix. * fix ~dolphin build options * nextcloud-client-kwallet: dedicated package for kwallet as credential storage Closes: void-linux#26774
Added a subpackage Purpose: make nextcloud-client uses kwallet as credential backend storage while not using KDE as Desktop Environment. |
…kwallet subpackage * shibboleth is "highly deprecated" by upstream, will be removed in 3.2. * webkit support is currently ineffective and difficult to fix. * fix ~dolphin build options * nextcloud-client-kwallet: dedicated package for kwallet as credential storage Closes: void-linux#26774
…kwallet subpackage * shibboleth is "highly deprecated" by upstream, will be removed in 3.2. * webkit support is currently ineffective and difficult to fix. * fix ~dolphin build options * nextcloud-client-kwallet: dedicated package for kwallet as credential storage Closes: void-linux#26774
Since last update of qt5 libraries the nextcloud client no longer works for me. It just hangs during start up after output "[ unknown ]: static bool LibSecretKeyring::findPassword(const QString&, const QString&, QKeychain::JobPrivate)"
Complete log:
020-11-28 19:15:41:984 [ info nextcloud.gui.application ]: "################## Nextcloud locale:[de_DE] ui_la
ng:[] version:[3.0.3git] os:[void]"
2020-11-28 19:15:41:984 [ info nextcloud.gui.application ]: Using "de_DE" translation
2020-11-28 19:15:41:984 [ info nextcloud.gui.socketapi ]: server started, listening at "/tmp/.runtime-manfr
ed/Nextcloud/socket"
2020-11-28 19:15:41:984 [ info nextcloud.gui.folder.manager ]: setting remote poll timer interval to 30000 msec
2020-11-28 19:15:42:013 [ info nextcloud.gui.account.manager ]: Account for QUrl("https://xxx.domain") using auth type "webflow"
2020-11-28 19:15:42:013 [ info nextcloud.sync.credentials.webflow ]: Get QNAM
2020-11-28 19:15:42:014 [ info nextcloud.gui.account.manager ]: Account for QUrl("https://yyy.domain") using auth type "webflow"
2020-11-28 19:15:42:014 [ info nextcloud.sync.credentials.webflow ]: Get QNAM
2020-11-28 19:15:42:067 [ debug default ] [ unknown ]: static bool LibSecretKeyring::findPassword(const QString&, const QString&, QKeychain::JobPrivate)
System
xuname:
manfred|~> xuname nextcloud
Void 5.8.18_1 x86_64 GenuineIntel notuptodate rrFFFFF
package:
nextcloud-client-3.0.3_1
Expected behavior
Starts as usual and is available in the panel
Actual behavior
Nothing happens except output of message "unknown LibSecretKeyring::findPassword()"
Steps to reproduce the behavior
Update system and enter nextcloud in the terminal.
The text was updated successfully, but these errors were encountered: