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