[Pkg-owncloud-maintainers] Bug#1072382: nextcloud-desktop: Randomly starts, keeps restarting on exit
Roland Hieber
rohieb+debian-g9KN6FJU at rohieb.name
Wed May 21 23:39:41 BST 2025
Package: nextcloud-desktop
Version: 3.16.4-1
Followup-For: Bug #1072382
Hi,
I have the same issue since updating from bookworm to testing/trixie. If I quit
Nextcloud via the context menu of the tray icon, it re-starts after a few
seconds; same if I use 'nextcloud --quit' on the command line.
Additionally; I've noticed log output like the following in journalctl:
May 21 22:19:09 glados dbus-daemon[1259]: [session uid=1000 pid=1259 pidfd=5] Activating service name='com.nextcloudgmbh.Nextcloud' requested by ':1.909' (uid=1000 pid=793971 comm="/usr/bin/firefox-esr")
May 21 22:19:09 glados com.nextcloudgmbh.Nextcloud[1791706]: Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
May 21 22:19:09 glados com.nextcloudgmbh.Nextcloud[1791706]: Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
May 21 22:19:09 glados com.nextcloudgmbh.Nextcloud[1791706]: If this causes problems, reconfigure your locale. See the locale(1) manual
May 21 22:19:09 glados com.nextcloudgmbh.Nextcloud[1791706]: for more information.
May 21 22:19:10 glados com.nextcloudgmbh.Nextcloud[1791706]: nextcloud.gui.application: Migrating old config from "/home/rohieb/.local/share/Nextcloud" to "/home/rohieb/.config/Nextcloud"
May 21 22:19:10 glados com.nextcloudgmbh.Nextcloud[1791706]: nextcloud.gui.application: Failed to move the old config directory to its new location ( "/home/rohieb/.local/share/Nextcloud" to "/home/rohieb/.config/Nextcloud" )
May 21 22:19:10 glados com.nextcloudgmbh.Nextcloud[1791706]: nextcloud.gui.application: Will move the individual files QList("Nextcloud_sync.log")
May 21 22:19:10 glados com.nextcloudgmbh.Nextcloud[1791706]: nextcloud.gui.application: Fallback move of "Nextcloud_sync.log" also failed
May 21 22:19:10 glados dbus-daemon[1259]: [session uid=1000 pid=1259 pidfd=5] Successfully activated service 'com.nextcloudgmbh.Nextcloud'
The command name of the activating DBus service varies:
$ journalctl --user --since '5 days ago' | grep "service name='com.nextcloudgmbh.Nextcloud' requested"
May 19 21:23:57 glados dbus-daemon[1259]: [session uid=1000 pid=1259 pidfd=5] Activating service name='com.nextcloudgmbh.Nextcloud' requested by ':1.117' (uid=1000 pid=14506 comm="/usr/libexec/xdg-desktop-portal-gtk")
May 21 22:19:09 glados dbus-daemon[1259]: [session uid=1000 pid=1259 pidfd=5] Activating service name='com.nextcloudgmbh.Nextcloud' requested by ':1.909' (uid=1000 pid=793971 comm="/usr/bin/firefox-esr")
May 21 22:19:13 glados dbus-daemon[1259]: [session uid=1000 pid=1259 pidfd=5] Activating service name='com.nextcloudgmbh.Nextcloud' requested by ':1.548' (uid=1000 pid=626253 comm="/usr/bin/python3 /usr/bin/variety --next")
May 21 22:19:26 glados dbus-daemon[1259]: [session uid=1000 pid=1259 pidfd=5] Activating service name='com.nextcloudgmbh.Nextcloud' requested by ':1.117' (uid=1000 pid=14506 comm="/usr/libexec/xdg-desktop-portal-gtk")
May 21 22:22:31 glados dbus-daemon[1259]: [session uid=1000 pid=1259 pidfd=5] Activating service name='com.nextcloudgmbh.Nextcloud' requested by ':1.909' (uid=1000 pid=793971 comm="/usr/bin/firefox-esr")
May 21 22:24:40 glados dbus-daemon[1259]: [session uid=1000 pid=1259 pidfd=5] Activating service name='com.nextcloudgmbh.Nextcloud' requested by ':1.117' (uid=1000 pid=14506 comm="/usr/libexec/xdg-desktop-portal-gtk")
May 21 22:29:51 glados dbus-daemon[1259]: [session uid=1000 pid=1259 pidfd=5] Activating service name='com.nextcloudgmbh.Nextcloud' requested by ':1.909' (uid=1000 pid=793971 comm="/usr/bin/firefox-esr")
May 21 22:30:35 glados dbus-daemon[1259]: [session uid=1000 pid=1259 pidfd=5] Activating service name='com.nextcloudgmbh.Nextcloud' requested by ':1.909' (uid=1000 pid=793971 comm="/usr/bin/firefox-esr")
May 21 22:32:01 glados dbus-daemon[1259]: [session uid=1000 pid=1259 pidfd=5] Activating service name='com.nextcloudgmbh.Nextcloud' requested by ':1.909' (uid=1000 pid=793971 comm="/usr/bin/firefox-esr")
May 21 22:34:27 glados dbus-daemon[1259]: [session uid=1000 pid=1259 pidfd=5] Activating service name='com.nextcloudgmbh.Nextcloud' requested by ':1.548' (uid=1000 pid=626253 comm="/usr/bin/python3 /usr/bin/variety --next")
May 21 22:42:18 glados dbus-daemon[1259]: [session uid=1000 pid=1259 pidfd=5] Activating service name='com.nextcloudgmbh.Nextcloud' requested by ':1.909' (uid=1000 pid=793971 comm="/usr/bin/firefox-esr")
I'm not really sure why the DBus service is triggered. Given that all three
apps use GTK, I suspect something about GNOME cloudprovider integration…?
I've removed /usr/share/dbus-1/services/com.nextcloudgmbh.Nextcloud.service for
now, and after rebooting, the problem is no longer present and I can use (and
quit!) nextcloud normally again. (This is more of a workaround than a fix, since
the file will get re-installed again on a package update…)
HTH,
- Roland
-- System Information:
Debian Release: trixie/sid
APT prefers testing-debug
APT policy: (991, 'testing-debug'), (991, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.25-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages nextcloud-desktop depends on:
ii libc6 2.41-7
ii libcloudproviders0 0.3.6-2
ii libgcc-s1 14.2.0-19
ii libglib2.0-0t64 2.84.1-2
ii libkf6archive6 6.13.0-1
ii libkf6guiaddons6 6.13.0-1
ii libnextcloudsync0t64 3.16.4-1
ii libqt6core6t64 6.8.2+dfsg-6
ii libqt6dbus6 6.8.2+dfsg-6
ii libqt6gui6 6.8.2+dfsg-6
ii libqt6keychain1 0.15.0-1
ii libqt6network6 6.8.2+dfsg-6
ii libqt6qml6 6.8.2+dfsg-7
ii libqt6quick6 6.8.2+dfsg-7
ii libqt6quickcontrols2-6 6.8.2+dfsg-7
ii libqt6sql6-sqlite 6.8.2+dfsg-6
ii libqt6svg6 6.8.2-3
ii libqt6webenginecore6 6.8.2+dfsg-4
ii libqt6webenginecore6-bin 6.8.2+dfsg-4
ii libqt6webenginewidgets6 6.8.2+dfsg-4
ii libqt6widgets6 6.8.2+dfsg-6
ii libssl3t64 3.5.0-1
ii libstdc++6 14.2.0-19
ii nextcloud-desktop-common 3.16.4-1
ii nextcloud-desktop-l10n 3.16.4-1
ii qml6-module-qt-labs-platform 6.8.2+dfsg-7
ii qml6-module-qt5compat-graphicaleffects 6.8.2-3+b1
ii qml6-module-qtmultimedia 6.8.2-8
ii qml6-module-qtqml 6.8.2+dfsg-7
ii qml6-module-qtqml-models 6.8.2+dfsg-7
ii qml6-module-qtquick 6.8.2+dfsg-7
ii qml6-module-qtquick-controls 6.8.2+dfsg-7
ii qml6-module-qtquick-dialogs 6.8.2+dfsg-7
ii qml6-module-qtquick-layouts 6.8.2+dfsg-7
ii qml6-module-qtquick-window 6.8.2+dfsg-7
Versions of packages nextcloud-desktop recommends:
ii nextcloud-desktop-doc 3.16.4-1
nextcloud-desktop suggests no packages.
-- debconf-show failed
More information about the Pkg-owncloud-maintainers
mailing list