[Pkg-owncloud-maintainers] Bug#922235: nextcloud-desktop: Client seems to not save login credentials

Lee Garrett debian at rocketjump.eu
Wed Feb 13 14:15:03 GMT 2019


Package: nextcloud-desktop
Version: 2.5.1-2
Severity: normal

Hi,

first of all thanks for packaging nextcloud-desktop just in time for buster!

I'm currently having the issue that on every restart the nextcloud desktop
client asks again for login credentials. It doesn't matter if I provide the
user/password pair, or generate a "app password" that's specific for the client.

I've looked into it, and the new client (as opposed to owncloud-client which I
used before) uses qtkeychain, which uses either gnome-keyring or kwallet. I'm
starting gnome-keyring with my login session running Xfce, however the password
is still not saved.

(At a minimum it should recommend gnome-keyring | kwallet, as it's required for
that to even work.)

Find attached the log output of the client when it fails to login on startup.

Regards,
Lee

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-2-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.utf8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages nextcloud-desktop depends on:
ii  libc6                     2.28-6
ii  libgcc1                   1:8.2.0-16
ii  libnextcloudsync0         2.5.1-2
ii  libqt5concurrent5         5.11.3+dfsg-2
ii  libqt5core5a              5.11.3+dfsg-2
ii  libqt5dbus5               5.11.3+dfsg-2
ii  libqt5gui5                5.11.3+dfsg-2
ii  libqt5keychain1           0.9.1-1
ii  libqt5network5            5.11.3+dfsg-2
ii  libqt5positioning5        5.11.3+dfsg-2
ii  libqt5printsupport5       5.11.3+dfsg-2
ii  libqt5qml5                5.11.3-2
ii  libqt5quick5              5.11.3-2
ii  libqt5sql5-sqlite         5.11.3+dfsg-2
ii  libqt5webchannel5         5.11.3-2
ii  libqt5webenginecore5      5.11.3+dfsg-2+b1
ii  libqt5webenginewidgets5   5.11.3+dfsg-2+b1
ii  libqt5webkit5             5.212.0~alpha2-19
ii  libqt5widgets5            5.11.3+dfsg-2
ii  libqt5xml5                5.11.3+dfsg-2
ii  libsqlite3-0              3.26.0+fossilbc891ac6b-2
ii  libssl1.1                 1.1.1a-1
ii  libstdc++6                8.2.0-16
ii  nextcloud-desktop-common  2.5.1-1
ii  nextcloud-desktop-l10n    2.5.1-1
ii  zlib1g                    1:1.2.11.dfsg-1

Versions of packages nextcloud-desktop recommends:
ii  nextcloud-desktop-doc  2.5.1-2

nextcloud-desktop suggests no packages.

-- no debconf information
-------------- next part --------------
[OCC::Application::setupLogging 	"################## Nextcloud locale:[en_US] ui_lang:[] version:[2.5.1git] os:[Debian GNU/Linux buster/sid]"
[OCC::Application::setupTranslations 	Using "en_US" translation
[OCC::SocketApi::SocketApi 	server started, listening at  "/run/user/1000/Nextcloud/socket"
[OCC::FolderMan::FolderMan 	setting remote poll timer interval to 30000 msec
[OCC::AccountManager::loadAccountHelper 	Account for QUrl("https://nextcloud.<REDACTED>.eu") using auth type "webflow"
[OCC::WebFlowCredentials::createQNAM 	Get QNAM
[OCC::ownCloudGui::setupContextMenu 	Tray menu workarounds: noabouttoshow: false fakedoubleclick: false showhide: false manualvisibility: false
[OCC::AccessManager::createRequest 	6 "GET" "https://nextcloud.<REDACTED>.eu/ocs/v2.php/core/navigation/apps?absolute=true&format=json" has X-Request-ID "7aad9243-<REDACTED>"
[OCC::AbstractNetworkJob::start 	OCC::OcsNavigationAppsJob created for "https://nextcloud.<REDACTED>.eu" + "ocs/v2.php/core/navigation/apps" ""
[OCC::FolderMan::setupFolders 	Setup folders from settings file
[OCC::ConfigFile::setupDefaultExcludeFilePaths 	Adding user defined ignore list to csync: "/home/randall/.config/Nextcloud/sync-exclude.lst"
[OCC::FolderMan::addFolderInternal 	Adding folder to Folder Map  OCC::Folder(0x5653f53f2690) "1"
[OCC::FolderMan::scheduleFolder 	Schedule folder  "1"  to sync!
[OCC::FolderMan::scheduleFolder 	Folder is not ready to sync, not scheduled!
[OCC::ownCloudGui::slotSyncStateChange 	Sync state changed for folder  "https://nextcloud.<REDACTED>.eu/remote.php/webdav/INCOMING" :  "Not yet Started"
[OCC::ConfigFile::setupDefaultExcludeFilePaths 	Adding user defined ignore list to csync: "/home/randall/.config/Nextcloud/sync-exclude.lst"
[OCC::FolderMan::addFolderInternal 	Adding folder to Folder Map  OCC::Folder(0x5653f5423cb0) "2"
[OCC::FolderMan::scheduleFolder 	Schedule folder  "2"  to sync!
[OCC::FolderMan::scheduleFolder 	Folder is not ready to sync, not scheduled!
[OCC::ownCloudGui::slotSyncStateChange 	Sync state changed for folder  "https://nextcloud.<REDACTED>.eu/remote.php/webdav/Pictures" :  "Not yet Started"
[OCC::SyncJournalDb::checkConnect 	sqlite3 version "3.26.0"
[OCC::SyncJournalDb::checkConnect 	sqlite3 journal_mode= "wal"
[OCC::SyncJournalDb::checkConnect 	sqlite3 version "3.26.0"
[OCC::SyncJournalDb::checkConnect 	sqlite3 journal_mode= "wal"
[OCC::ClientProxy::setupQtProxyFromConfig 	Set proxy configuration to use system configuration
[OCC::WebFlowCredentials::fetchFromKeychain 	Fetch from keyhchain!
[OCC::AccountState::slotCredentialsFetched 	Fetched credentials for "https://nextcloud.<REDACTED>.eu" attempting to connect
[OCC::WebFlowCredentials::createQNAM 	Get QNAM
[OCC::ConnectionValidator::systemProxyLookupDone 	No system proxy set by OS
[OCC::AccessManager::createRequest 	2 "" "https://nextcloud.<REDACTED>.eu/status.php" has X-Request-ID "48bdd64f-<REDACTED>"
[OCC::AbstractNetworkJob::start 	OCC::CheckServerJob created for "https://nextcloud.<REDACTED>.eu" + "status.php" "OCC::ConnectionValidator"
[OCC::WebFlowCredentials::slotFinished 	request finished
[OCC::WebFlowCredentials::stillValid 	Still valid?
[OCC::WebFlowCredentials::stillValid 	QNetworkReply::NetworkError(NoError)
[OCC::WebFlowCredentials::stillValid 	"Unknown error"
[OCC::CheckServerJob::finished 	status.php returns:  QJsonDocument({"edition":"","installed":true,"maintenance":false,"needsDbUpgrade":false,"productname":"Nextcloud","version":"15.0.4.0","versionstring":"15.0.4"})   QNetworkReply::NetworkError(NoError)  Reply:  QNetworkReplyHttpImpl(0x5653f549c360)
[OCC::ConnectionValidator::slotStatusFound 	** Application: ownCloud found:  QUrl("https://nextcloud.<REDACTED>.eu")  with version  "15.0.4" ( "15.0.4.0" )
[OCC::ConnectionValidator::setAndCheckServerVersion 	QUrl("https://nextcloud.<REDACTED>.eu") has server version "15.0.4.0"
[OCC::AccountState::slotConnectionValidatorResult 	AccountState connection status change:  OCC::ConnectionValidator::Status(Undefined) -> OCC::ConnectionValidator::Status(CredentialsNotReady)
[OCC::AccountState::slotInvalidCredentials 	Invalid credentials for "https://nextcloud.<REDACTED>.eu" asking user
[OCC::AccountState::setState 	AccountState state change:  "Disconnected" -> "Asking Credentials"
[OCC::FolderMan::slotAccountStateChanged 	Account "lee at nextcloud.<REDACTED>.eu" disconnected or paused, terminating or descheduling sync folders
[OCC::WebFlowCredentials::askFromUser 	User needs to reauth!
[OCC::UpdaterScheduler::slotTimerFired 	Skipping update check because of config file
[OCC::AccessManager::createRequest 	6 "GET" "https://nextcloud.<REDACTED>.eu/ocs/v2.php/core/navigation/apps?absolute=true&format=json" has X-Request-ID "b189957e-5c26-4bdd-b8b2-250ff641e7ca"
[OCC::AbstractNetworkJob::start 	OCC::OcsNavigationAppsJob created for "https://nextcloud.<REDACTED>.eu" + "ocs/v2.php/core/navigation/apps" ""
[OCC::WebFlowCredentials::slotFinished 	request finished
[OCC::WebFlowCredentials::stillValid 	Still valid?
[OCC::WebFlowCredentials::stillValid 	QNetworkReply::NetworkError(AuthenticationRequiredError)
[OCC::WebFlowCredentials::stillValid 	"Error transferring https://nextcloud.<REDACTED>.eu/ocs/v2.php/core/navigation/apps?absolute=true&format=json - server replied: "
[OCC::OcsJob::finished 	Reply to "GET" QUrl("https://nextcloud.<REDACTED>.eu/ocs/v2.php/core/navigation/apps") (QPair("absolute","true")) has unexpected status code: 997 "{\"ocs\":{\"meta\":{\"status\":\"failure\",\"statuscode\":997,\"message\":\"Current user is not logged in\"},\"data\":[]}}"
[OCC::AccountManager::saveAccount 	Saving account "https://nextcloud.<REDACTED>.eu"
[OCC::AccountManager::saveAccountHelper 	Saving  0  unknown certs.
[OCC::AccountManager::saveAccountHelper 	Saving cookies. "/home/randall/.config/Nextcloud/cookies0.db"
[OCC::AccountManager::saveAccount 	Saved account settings, status: QSettings::Status(NoError)
[OCC::AccountManager::saveAccountHelper 	Saving  0  unknown certs.
[OCC::AccountManager::saveAccountHelper 	Saving cookies. "/home/randall/.config/Nextcloud/cookies0.db"
[OCC::AccountManager::save 	Saved all account settings, status: QSettings::Status(NoError)
[OCC::SyncJournalDb::close 	Closing DB "/home/randall/Documents/incoming/._sync_9d3265a552c9.db"
[OCC::SyncJournalDb::close 	Closing DB "/home/randall/Pictures/._sync_8da80ab361b9.db"
[unknown 	Could not parse stylesheet of object 0x7ffbd800e6f0
[OCC::WebViewPage::WebViewPage 	Time for a webview!
[unknown 	Could not parse stylesheet of object 0x7ffbd800e6f0
[unknown 	Could not parse stylesheet of object 0x7ffbd800e6f0


More information about the Pkg-owncloud-maintainers mailing list