Client Disappeared from Systray, "nextcloud.gui.application: Already running, exiting..."

The Basics

  • Operating system and version (e.g., Ubuntu 24.04):
    • Ubuntu 24.04
  • Is this the first time you’ve seen this error? (Yes / No):
    • No -- Persistent Error
  • When did this problem seem to first start?
    • Last Week
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • AppImage

Summary of the issue you are facing:

I had been using the Nextcloud Client AppImage with no problems for a while. At some point last week, something I did unrelated to nextcloud must have messed with the installation.

When run from the GUI, it fails silently. When I run it from the terminal, I get the following:

$ bin/Nextcloud-4.0.6-x86_64.AppImage 
nextcloud.gui.application: Migrating old config from "/home/treesMG/.local/share/Nextcloud" to "/home/treesMG/.config/Nextcloud"
nextcloud.gui.application: Failed to move the old config directory to its new location ( "/home/treesMG/.local/share/Nextcloud" to "/home/treesMG/.config/Nextcloud" )
nextcloud.gui.application: Will move the individual files QList("NC-heavy_sync.log")
nextcloud.gui.application: Fallback move of  "NC-heavy_sync.log" also failed
nextcloud.sync.configfile: Default update channel is "stable"
nextcloud.gui.application: Already running, exiting...

I did a little investigation:

$ ls -l ~/.config | grep Nextcloud
drwxrwxr-x 3 treesMG treesMG 4096 Feb 11 08:39 Nextcloud
$ ls ~/.config/Nextcloud/
cookies0.db  NC-heavy_sync.log  nextcloud.cfg.backup_20260126_153137
logs         nextcloud.cfg
$ ls ~/.local/share/Nextcloud/
NC-heavy_sync.log
$ mv .local/share/Nextcloud/NC-heavy_sync.log ~/bak/NC-heavy_sync.log.bak
$ mv .local/share/Nextcloud/ bak/local/share/Nextcloud

I tried restarting Nextcloud

$ pgrep Nextcloud
4918
$ ps -p 4918
    PID TTY          TIME CMD
   4918 ?        00:00:00 Nextcloud-4.0.6
$ kill 4918
$ bin/Nextcloud-4.0.6-x86_64.AppImage 
nextcloud.sync.configfile: Default update channel is "stable"
nextcloud.gui.application: Already running, exiting...

Steps to replicate it (hint: details matter!):

  1. Not sure how to get it into this state :frowning:

Log entries

I cannot find where the AppImage puts its logs. :confused:

1 Like

UPDATE: I did not see that I still had a background process running. After exiting I got a new error. Created a new topic for this one!


I’ve got this same problem. Downgrading to 4.0.4 does not work either.
I’m on Debian Trixie with KDE

Posting the solution here as well as on your other thread. It seems to have been a bug in 4.0.5, and 4.0.6. The new version v33.0.0-rc2 seems to fix it. Download links here: Releases · nextcloud-releases/desktop · GitHub

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.