desktop
desktop copied to clipboard
[Bug]: Stuck "offline" on startup
⚠️ Before submitting, please verify the following: ⚠️
- [X] This is a bug, not a question or a configuration issue.
- [X] This issue is not already reported on Github (I've searched it).
- [X] Nextcloud Server and Desktop Client are up to date. See Server Maintenance and Release Schedule and Desktop Releases for supported versions.
- [X] I agree to follow Nextcloud's Code of Conduct
Bug description
When Nextcloud-desktop starts, it very often gets stuck in the "Offline" state forever. The only workaround in my case is to kill it and restart it, multiple times if needed, until it accepts to become "Online".

I've tried the available action to force an account to connect, but nothing happens.
Steps to reproduce
- Start Nextcloud
Expected behavior
Nextcloud should go "Online" and start syncing right away.
Which files are affected by this bug
none
Operating system
Linux
Which version of the operating system you are running.
Fedora 37
Package
Other
Nextcloud Server version
25.0.3
Nextcloud Desktop Client version
3.7.3
Is this bug present after an update or on a fresh install?
Updated to a major version (ex. 3.3.6 to 3.4.0)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
Are you using an external user-backend?
- [ ] Default internal user-backend
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
Nextcloud Server logs
No response
Additional info
- I'm using the Flatpak version obtained from Flathub
- I cannot provide desktop client logs because when my client is stuck in the "Offline" state, I cannot open the settings.
- The only log I get when I start the app in a terminal is:
QSocketNotifier: Can only be used with threads started with QThread
Hi @ebousse could you test the AppImage package and see if the issue is reproducible there? Thanks!
I'm having the same "host not found" issue while (auto) starting Nextcloud after Windows 11 login. But It recovers the connection after a while (sometimes it takes minutes to go online). Already tried: static IP, adding FQDM of the server in the hosts file... nothing worked so far. If I delay the Nextcloud client app startup a little bit it resolves instantly.
I'm having the same "host not found" issue while (auto) starting Nextcloud after Windows 11 login. But It recovers the connection after a while (sometimes it takes minutes to go online). Already tried: static IP, adding FQDM of the server in the hosts file... nothing worked so far. If I delay the Nextcloud client app startup a little bit it resolves instantly.
In my case it never recovers, even after waiting multiple hours. Maybe a different bug?
Hi @ebousse could you test the AppImage package and see if the issue is reproducible there? Thanks!
I'm now using the AppImage, I'll use it for some days before telling you whether it changes anything (since the original problem was quite inconstant).
I confirm the problem still occurs regularly with the AppImage (3.7.3 currently).
I also have this problem with 3.8.0 (Flatpak).
(But restarting helped)
Encountering the same on Fedora 38 Silverblue, using latest Flatpak from Flathub. It works if I delete the account and re-create the connection.
I Meet a similar problem at home.
Nextcloud server versions : 25.0.3, 25.0.4, 25.0.6, 26.0.1. On two different servers (Gentoo and Debian 8). Nextcloud desktop : 3.7.3 and 3.8.0. On two different stations (Gentoo both).
If that can help, all worked well under a 6.1.27 kernel. The problem appears when I reboot on a newly compiled 6.1.28 kernel on the stations.
Is this related to #4331 ?
I encountered the same problem on Debian 12 and Fedora 38 with Nextcloud Desktop (3.9.3) installed from Flathub. It takes sometimes many tries to exit and restart the client before it does not stay stuck showing "Offline".
When it is stuck offline, clicking on "Settings" in the tray icon menu does nothing, the settings window does not open. The main window can be opened and closed without problem but it always show "Offline" and no files are synchronized. I've not seen it recover from being stuck offline even after several hours.
The only action that helps is restarting the client. It seems to be some sort of race condition. Varying the load on the machine or passing the --logfile /dev/stdout or --logwindow arguments to the client sometimes help to get a different result when starting the client.
Once the client manages to start without being stuck offline, it works as expected. So there seem to be something happening at startup that determine whether it will work fine or be forever stuck offline.
Log output for the situation where the client is stuck in offline mode
flatpak run com.nextcloud.desktopclient.nextcloud --logfile /dev/stdout
QSocketNotifier: Can only be used with threads started with QThread
qt.qpa.qgnomeplatform: Could not find color scheme ""
2023-08-28 10:04:15:029 [ debug default /run/build/nextcloud-client/src/libsync/logger.cpp:266 ] [ OCC::Logger::setLogRules ]: ""
2023-08-28 10:04:15:029 [ info nextcloud.gui.application /run/build/nextcloud-client/src/gui/application.cpp:611 ]: ################## "Nextcloud" locale: "fr_CH" ui_lang: QVariant(Invalid) version: "3.9.3git" os: "KDE Flatpak runtime"
2023-08-28 10:04:15:029 [ info nextcloud.gui.application /run/build/nextcloud-client/src/gui/application.cpp:616 ]: Arguments: ("nextcloud", "--logfile", "/dev/stdout")
2023-08-28 10:04:15:029 [ info nextcloud.gui.application /run/build/nextcloud-client/src/gui/application.cpp:904 ]: Using "fr_CH" translation
2023-08-28 10:04:15:041 [ info nextcloud.gui.socketapi /run/build/nextcloud-client/src/gui/socketapi/socketapi.cpp:294 ]: server started, listening at "/run/user/1000/Nextcloud/socket"
2023-08-28 10:04:15:041 [ info nextcloud.gui.folder.manager /run/build/nextcloud-client/src/gui/folderman.cpp:66 ]: setting remote poll timer interval to 30000 msec
2023-08-28 10:04:15:121 [ info nextcloud.gui.account.manager /run/build/nextcloud-client/src/gui/accountmanager.cpp:412 ]: Account for QUrl("https://redacted.cloud") using auth type "webflow"
2023-08-28 10:04:15:121 [ info nextcloud.sync.credentials.webflow /run/build/nextcloud-client/src/gui/creds/webflowcredentials.cpp:117 ]: Get QNAM
2023-08-28 10:04:15:121 [ info nextcloud.gui.account.manager /run/build/nextcloud-client/src/gui/accountmanager.cpp:434 ]: Restored: 0 unknown certs.
2023-08-28 10:04:15:138 [ info nextcloud.gui.folder.manager /run/build/nextcloud-client/src/gui/folderman.cpp:188 ]: Setup folders from settings file
2023-08-28 10:04:15:139 [ info nextcloud.sync.configfile /run/build/nextcloud-client/src/libsync/configfile.cpp:1155 ]: Adding user defined ignore list to csync: "/home/username/.var/app/com.nextcloud.desktopclient.nextcloud/config/Nextcloud/sync-exclude.lst"
2023-08-28 10:04:15:168 [ info nextcloud.sync.database /run/build/nextcloud-client/src/common/syncjournaldb.cpp:311 ]: sqlite3 version "3.39.4"
2023-08-28 10:04:15:168 [ info nextcloud.sync.database /run/build/nextcloud-client/src/common/syncjournaldb.cpp:323 ]: sqlite3 locking_mode= "exclusive"
2023-08-28 10:04:15:168 [ info nextcloud.sync.database /run/build/nextcloud-client/src/common/syncjournaldb.cpp:331 ]: sqlite3 journal_mode= "wal"
2023-08-28 10:04:15:168 [ info nextcloud.sync.database /run/build/nextcloud-client/src/common/syncjournaldb.cpp:353 ]: sqlite3 synchronous= "NORMAL"
2023-08-28 10:04:15:169 [ info nextcloud.gui.folder.manager /run/build/nextcloud-client/src/gui/folderman.cpp:1227 ]: Adding folder to Folder Map OCC::Folder(0x560136bcb810) "1"
2023-08-28 10:04:15:330 [ info nextcloud.gui.folder.manager /run/build/nextcloud-client/src/gui/folderman.cpp:692 ]: Schedule folder "1" to sync!
2023-08-28 10:04:15:330 [ info nextcloud.gui.folder.manager /run/build/nextcloud-client/src/gui/folderman.cpp:696 ]: Folder is not ready to sync, not scheduled!
2023-08-28 10:04:15:330 [ info nextcloud.gui.application /run/build/nextcloud-client/src/gui/owncloudgui.cpp:235 ]: Sync state changed for folder "https://redacted.cloud/remote.php/dav/files/username/" : "Sync paused"
2023-08-28 10:04:15:330 [ info nextcloud.sync.clientproxy /run/build/nextcloud-client/src/libsync/clientproxy.cpp:103 ]: Set proxy configuration to use the preferred system proxy for http tcp connections
2023-08-28 10:04:15:708 [ warning default file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:60 ]: file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:60:9: QML Connections: Detected function "onHoveredChanged" in Connections element. This is probably intended to be a signal handler but no signal of the "QQuickListView_QML_29" target matches the name.
2023-08-28 10:04:15:718 [ warning default file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:60 ]: file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:60:9: QML Connections: Detected function "onHoveredChanged" in Connections element. This is probably intended to be a signal handler but no signal of the "QQuickListView_QML_29" target matches the name.
2023-08-28 10:04:15:757 [ warning default qrc:/qml/src/gui/tray/AutoSizingMenu.qml:11 ]: qrc:/qml/src/gui/tray/AutoSizingMenu.qml:11: TypeError: Cannot read property 'implicitWidth' of undefined
2023-08-28 10:04:15:757 [ warning default qrc:/qml/src/gui/tray/AutoSizingMenu.qml:11 ]: qrc:/qml/src/gui/tray/AutoSizingMenu.qml:11: TypeError: Cannot read property 'implicitWidth' of undefined
2023-08-28 10:04:15:757 [ warning default file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61 ]: file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61:13: Unable to assign [undefined] to QObject*
2023-08-28 10:04:15:757 [ warning default qrc:/qml/src/gui/tray/AutoSizingMenu.qml:11 ]: qrc:/qml/src/gui/tray/AutoSizingMenu.qml:11: TypeError: Cannot read property 'implicitWidth' of undefined
2023-08-28 10:04:15:757 [ warning default file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61 ]: file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61:13: Unable to assign [undefined] to QObject*
2023-08-28 10:04:15:774 [ info nextcloud.gui.account.state /run/build/nextcloud-client/src/gui/accountstate.cpp:271 ]: check connectivity
2023-08-28 10:04:15:774 [ info nextcloud.sync.credentials.webflow /run/build/nextcloud-client/src/gui/creds/webflowcredentials.cpp:139 ]: Fetch from keychain!
2023-08-28 10:04:15:796 [ warning default qrc:/qml/src/gui/tray/AutoSizingMenu.qml:11 ]: qrc:/qml/src/gui/tray/AutoSizingMenu.qml:11: TypeError: Cannot read property 'implicitWidth' of undefined
2023-08-28 10:04:15:801 [ warning default file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61 ]: file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61:13: Unable to assign [undefined] to QObject*
2023-08-28 10:04:15:801 [ warning default file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61 ]: file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61:13: Unable to assign [undefined] to QObject*
2023-08-28 10:04:15:812 [ warning default qrc:/qml/src/gui/tray/AutoSizingMenu.qml:11 ]: qrc:/qml/src/gui/tray/AutoSizingMenu.qml:11: TypeError: Cannot read property 'implicitWidth' of undefined
2023-08-28 10:04:15:814 [ warning default file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61 ]: file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61:13: Unable to assign [undefined] to QObject*
2023-08-28 10:04:15:815 [ warning default file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61 ]: file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61:13: Unable to assign [undefined] to QObject*
2023-08-28 10:04:15:824 [ warning default qrc:/qml/src/gui/tray/AutoSizingMenu.qml:11 ]: qrc:/qml/src/gui/tray/AutoSizingMenu.qml:11: TypeError: Cannot read property 'implicitWidth' of undefined
2023-08-28 10:04:15:827 [ warning default file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61 ]: file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61:13: Unable to assign [undefined] to QObject*
2023-08-28 10:04:15:828 [ warning default file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61 ]: file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61:13: Unable to assign [undefined] to QObject*
2023-08-28 10:04:15:838 [ warning default qrc:/qml/src/gui/tray/AutoSizingMenu.qml:11 ]: qrc:/qml/src/gui/tray/AutoSizingMenu.qml:11: TypeError: Cannot read property 'implicitWidth' of undefined
2023-08-28 10:04:15:841 [ warning default file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61 ]: file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61:13: Unable to assign [undefined] to QObject*
2023-08-28 10:04:15:842 [ warning default file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61 ]: file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61:13: Unable to assign [undefined] to QObject*
2023-08-28 10:04:15:852 [ warning default qrc:/qml/src/gui/tray/AutoSizingMenu.qml:11 ]: qrc:/qml/src/gui/tray/AutoSizingMenu.qml:11: TypeError: Cannot read property 'implicitWidth' of undefined
2023-08-28 10:04:15:854 [ warning default file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61 ]: file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61:13: Unable to assign [undefined] to QObject*
2023-08-28 10:04:15:854 [ warning default file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61 ]: file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61:13: Unable to assign [undefined] to QObject*
2023-08-28 10:04:15:863 [ warning default qrc:/qml/src/gui/tray/AutoSizingMenu.qml:11 ]: qrc:/qml/src/gui/tray/AutoSizingMenu.qml:11: TypeError: Cannot read property 'implicitWidth' of undefined
2023-08-28 10:04:15:865 [ warning default file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61 ]: file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61:13: Unable to assign [undefined] to QObject*
2023-08-28 10:04:15:865 [ warning default file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61 ]: file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61:13: Unable to assign [undefined] to QObject*
2023-08-28 10:04:15:874 [ warning default qrc:/qml/src/gui/tray/AutoSizingMenu.qml:11 ]: qrc:/qml/src/gui/tray/AutoSizingMenu.qml:11: TypeError: Cannot read property 'implicitWidth' of undefined
2023-08-28 10:04:15:878 [ warning default file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61 ]: file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61:13: Unable to assign [undefined] to QObject*
2023-08-28 10:04:15:879 [ warning default file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61 ]: file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61:13: Unable to assign [undefined] to QObject*
2023-08-28 10:04:15:889 [ warning default qrc:/qml/src/gui/tray/AutoSizingMenu.qml:11 ]: qrc:/qml/src/gui/tray/AutoSizingMenu.qml:11: TypeError: Cannot read property 'implicitWidth' of undefined
2023-08-28 10:04:15:891 [ warning default file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61 ]: file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61:13: Unable to assign [undefined] to QObject*
2023-08-28 10:04:15:892 [ warning default file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61 ]: file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61:13: Unable to assign [undefined] to QObject*
2023-08-28 10:04:15:902 [ info nextcloud.gui.folderwatcher /run/build/nextcloud-client/src/gui/folderwatcher.cpp:206 ]: Detected changes in paths: QSet("/home/username/Nextcloud/.nextcloudsync.log")
2023-08-28 10:04:15:903 [ warning default qrc:/qml/src/gui/tray/AutoSizingMenu.qml:11 ]: qrc:/qml/src/gui/tray/AutoSizingMenu.qml:11: TypeError: Cannot read property 'implicitWidth' of undefined
2023-08-28 10:04:15:905 [ warning default file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61 ]: file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61:13: Unable to assign [undefined] to QObject*
2023-08-28 10:04:15:905 [ warning default file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61 ]: file:///usr/lib/qml/QtQuick/Controls.2/org.kde.desktop/Menu.qml:61:13: Unable to assign [undefined] to QObject*
2023-08-28 10:04:15:914 [ debug default unknown:0 ] [ unknown ]: static bool LibSecretKeyring::findPassword(const QString&, const QString&, QKeychain::JobPrivate*)
2023-08-28 10:04:18:726 [ info nextcloud.gui.updater /run/build/nextcloud-client/src/gui/updater/ocupdater.cpp:73 ]: Skipping update check because of config file
2023-08-28 10:04:45:267 [ info nextcloud.gui.folder.manager /run/build/nextcloud-client/src/gui/folderman.cpp:949 ]: Etag poll timer timeout
2023-08-28 10:04:45:267 [ info nextcloud.gui.folder.manager /run/build/nextcloud-client/src/gui/folderman.cpp:953 ]: Folders to sync: 1
2023-08-28 10:04:45:268 [ info nextcloud.gui.folder.manager /run/build/nextcloud-client/src/gui/folderman.cpp:963 ]: Number of folders that don't use push notifications: 1
2023-08-28 10:04:45:268 [ info nextcloud.gui.folder.manager /run/build/nextcloud-client/src/gui/folderman.cpp:980 ]: Run etag job on folder OCC::Folder(0x560136bcb810)
2023-08-28 10:04:45:268 [ info nextcloud.gui.folder.manager /run/build/nextcloud-client/src/gui/folderman.cpp:994 ]: Can not run etag job: Folder is disabled
The sequence starting at Etag poll timer timeout is then repeated every 30 seconds.
Same here on Windows and client version 3.9.3 Stuck at start, sometimes it goes up, sometimes not.. Makes the software unusable... Thank youuu for helping us and solving this issue !
I succeed to make it work again by disabling user and enabling it again after. Might be just luck :shrug:
This also happens to me on latest manjaro upgrading nextcloud-desktop to 3.9.4git. I can't acces the settings windows too. In the logs I find:
2023-09-20 10:07:01:191 [ info nextcloud.gui.folder.manager /usr/src/debug/nextcloud-client/nextcloud-client/src/gui/folderman.cpp:949 ]: Etag poll timer timeout
2023-09-20 10:07:01:191 [ info nextcloud.gui.folder.manager /usr/src/debug/nextcloud-client/nextcloud-client/src/gui/folderman.cpp:953 ]: Folders to sync: 2
2023-09-20 10:07:01:191 [ info nextcloud.gui.folder.manager /usr/src/debug/nextcloud-client/nextcloud-client/src/gui/folderman.cpp:963 ]: Number of folders that don't use push notifications: 2
2023-09-20 10:07:01:192 [ info nextcloud.gui.folder.manager /usr/src/debug/nextcloud-client/nextcloud-client/src/gui/folderman.cpp:980 ]: Run etag job on folder OCC::Folder(0x5561c95f1be0)
2023-09-20 10:07:01:192 [ info nextcloud.gui.folder.manager /usr/src/debug/nextcloud-client/nextcloud-client/src/gui/folderman.cpp:998 ]: Can not run etag job: Folder is busy
2023-09-20 10:07:01:192 [ info nextcloud.gui.folder.manager /usr/src/debug/nextcloud-client/nextcloud-client/src/gui/folderman.cpp:980 ]: Run etag job on folder OCC::Folder(0x5561c963f420)
2023-09-20 10:07:01:192 [ info nextcloud.gui.folder.manager /usr/src/debug/nextcloud-client/nextcloud-client/src/gui/folderman.cpp:998 ]: Can not run etag job: Folder is busy
I can make it work by killing gnome-keyring-daemon and restarting nextcloud client.
I suceed to relaunch connection by clicking randomly on 1 :bust_in_silhouette: then 2 then Connection
Nextcloud Desktop Client version 3.10.0 still has the issue.
Happening on Fedora Kinoite 38 as well with Version: 3.10.0. Started for me about a week ago.
Operating System: Fedora Linux 38 KDE Plasma Version: 5.27.8 KDE Frameworks Version: 5.110.0 Qt Version: 5.15.10 Kernel Version: 6.5.6-200.fc38.x86_64 (64-bit) Graphics Platform: Wayland Processors: 4 × Intel® Core™ i5-4690K CPU @ 3.50GHz Graphics Processor: AMD Radeon RX 480 Graphics
Nextcloud Desktop Client Source: Flathub Flatpak Version: 3.10.0 (KDE) Using virtual files plugin: off
I have exactly the same problem with flatpak 3.10.0 in Fedora Kinoite 38.
I have exactly the same problem with flatpak 3.10.0 in Fedora Kinoite 38.
To revert back to a functioning version, I found this works:
sudo flatpak update --commit=604d080bacd63e9b715ab86f28046687007f447975babe13c28c672c2cdd48ab com.nextcloud.desktopclient.nextcloud
I also observe the same problem and can confirm that killing 'gnome-keyring-daemon' and restarting nextcloud client helps, but only for the current session. Once you restart the problem is back. I use Zorin OS Core.
I had the same issue using nextcloud flatpak version.
In my case it was also related to an other issue and can be solved with an environment variable, see details here: https://github.com/nextcloud/desktop/issues/5847#issuecomment-1852078010
@WolfgangHa In case of flatpak you have to set environment variables for the sandbox using e.g.: flatpak --system override --env=QT_QPA_PLATFORMTHEME=kde com.nextcloud.desktopclient.nextcloud OR flatpak --user override --env=QT_QPA_PLATFORMTHEME=kde com.nextcloud.desktopclient.nextcloud
Thanks @slwr. Unfortunately the environment variable (QT_QPA_PLATFORMTHEME=kde) did not help in my case. I added the environment variable permanently and restarted my system. But I still see the nextcloud client "offline".
I have similar issue with flatpak on Bazzite linux. On login I launch nextcloud desktop and it will sit forever without authenticating. Exiting and restarting will allow it to proceed with authentication but with a variable delay. Auth is not preserved between launches so every time I log in to Gnome I have to do this dance.
When launching from CLI the following output is produced:
QSocketNotifier: Can only be used with threads started with QThread
qt.qpa.qgnomeplatform: Could not find color scheme ""
nextcloud.gui.application: Migrating old config from "/home/redwing/.var/app/com.nextcloud.desktopclient.nextcloud/data/Nextcloud" to "/home/redwing/.var/app/com.nextcloud.desktopclient.nextcloud/config/Nextcloud"
nextcloud.gui.application: Failed to move the old config directory to its new location ( "/home/redwing/.var/app/com.nextcloud.desktopclient.nextcloud/data/Nextcloud" to "/home/redwing/.var/app/com.nextcloud.desktopclient.nextcloud/config/Nextcloud" )
nextcloud.gui.application: Will move the individual files ("Nextcloud_sync.log")
nextcloud.gui.application: Fallback move of "Nextcloud_sync.log" also failed
Same issue... Had to kill and restart like 5 times for it to magically start working again.
Same issue on Fedora Workstation 41, with Netxcloud Desktop client from flatpak
I have the same issue on my Fedora Linux 41 Workstation with Gnome 47. Nextcloud Desktop Synchronization client is Version 3.14.3 (Flatpak).
Sync Client is offline at startup, login doesn´t work, neither automatically nor manually. I quit the client and start it again, maybe 10 times or more often. Sometimes after several restarts the client gets online and starts syncing, sometimes it doesn´t go online at all.
Seems many are encountering the issue, particularly Flatpak users (me too). Instead of commenting, consider adding your 👍 to the issue so it shows up higher on the issue board sorted by 👍.
Here’s the issue on the Flatpak package side (where it currently has the most 👍):
- https://github.com/flathub/com.nextcloud.desktopclient.nextcloud/issues/108
Apparently some Flatpak users worked around it by using the unsandboxed native package for their distribution, which is not ideal but worth mentioning (this is what I’m doing for now).
edit: there seems to be a related issue where Settings doesn’t open consistently, which I’m also experiencing:
- https://github.com/flathub/com.nextcloud.desktopclient.nextcloud/issues/109
Initial sync worked immediately after deleting and restoring the account from the client, but the problem returned after exiting and relaunching the client.
The CLI options for logging didn’t seem to work but I was able to get a log file via editing the config file as described in Appendix C: Troubleshooting — Nextcloud Client Manual 3.15.2 documentation.
I opened the client, waited for a couple minutes, and exited via the GUI. Etag poll timer timeout seems relevant, I guess: 20241218_0445_nextcloud.log.0.gz
--version:
Nextcloud version 3.15.0daily
Git revision eb04ac92122be40ce0fdc82557a26ccbd8684474
Using Qt 6.7.3, built against Qt 6.7.3
Using Qt platform plugin 'wayland'
Using 'OpenSSL 3.1.7 3 Sep 2024'
Running on KDE Flatpak runtime, x86_64
I had the same issue using nextcloud flatpak version.
In my case it was also related to an other issue and can be solved with an environment variable, see details here: #5847 (comment)
@WolfgangHa In case of flatpak you have to set environment variables for the sandbox using e.g.: flatpak --system override --env=QT_QPA_PLATFORMTHEME=kde com.nextcloud.desktopclient.nextcloud OR flatpak --user override --env=QT_QPA_PLATFORMTHEME=kde com.nextcloud.desktopclient.nextcloud
Thanks. This fixed my flatpack too. I have removed the account and re-added it and it temporarily fixed the problem. But upon next reboot, it reappeared. Hopefully this fix is for good.