I killed the client, restarted it and then immediately tried to pause syncing of Fotos.
When I restart the client, it writes this to the terminal from which it is started:
```
nextcloud.gui.application: Migrating old config from “/home/johan/.local/share/Nextcloud” to “/home/johan/.config/Nextcloud”
nextcloud.gui.application: Failed to move the old config directory to its new location ( “/home/johan/.local/share/Nextcloud” to “/home/johan/.config/Nextcloud” )
nextcloud.gui.application: Will move the individual files QList(“etc_sync.log”, “Fotos_sync.log”, “Nextcloud_sync.log”)
nextcloud.gui.application: Fallback move of “etc_sync.log” also failed
nextcloud.gui.application: Fallback move of “Fotos_sync.log” also failed
nextcloud.gui.application: Fallback move of “Nextcloud_sync.log” also failed
```
and only a few minutes later, an icon appears in the system tray.
5 minutes after pausing the syncing of Fotos, it is still “syncing”, i.e. still Downloading.
So I decided to kill it and try an older version.
I downloaded Nextcloud-3.17.4-x86_64.AppImage. This produces the same output at startup:
```
nextcloud.gui.application: Migrating old config from “/home/johan/.local/share/Nextcloud” to “/home/johan/.config/Nextcloud”
nextcloud.gui.application: Failed to move the old config directory to its new location ( “/home/johan/.local/share/Nextcloud” to “/home/johan/.config/Nextcloud” )
nextcloud.gui.application: Will move the individual files QList(“etc_sync.log”, “Fotos_sync.log”, “Nextcloud_sync.log”)
nextcloud.gui.application: Fallback move of “etc_sync.log” also failed
nextcloud.gui.application: Fallback move of “Fotos_sync.log” also failed
nextcloud.gui.application: Fallback move of “Nextcloud_sync.log” also failed
```
A few minutes later, the systray icon appears. Right-click, or left-click + Open main dialog does nothing. Right-click + Settings opens the settings window. It reacts with the same as version 4.0.4 to open menus. This time, I was able to pause the syncing of Fotos in less than a minute. It continues to sync etc for a minute or so, then shows etc as synced. Small changes are synced almost immediately.
So I restarted syncing of Fotos. It shows Synchronizing files in local folder for a minute or so, then starts Downloading … just like version 4.0.4, and continues to do so for a very long time (it is still running).
FYI: etc is 404 KB spread over 22 folders/files.
Here is the current content of ~/.local/share/Nextcloud and ~/.config/Nextcloud:
johan@morla:~/work/flopro/etc\> l ~/.local/share/Nextcloud
total 748K
-rw-r--r-- 1 johan johan 24K Jan 5 17:58 etc_sync.log
-rw-r--r-- 1 johan johan 692K Jan 5 18:00 Fotos_sync.log
-rw-r--r-- 1 johan johan 20K Dec 29 11:14 Nextcloud_sync.log
johan@morla:~/work/flopro/etc\> l ~/.config/Nextcloud
total 792K
-rw-r--r-- 1 johan johan 302 Jan 5 17:37 cookies0.db
-rw-r--r-- 1 johan johan 2.8K Dec 27 20:02 etc_sync.log
-rw-r--r-- 1 johan johan 728K Dec 31 11:38 Fotos_sync.log
drwxr-xr-x 2 johan johan 12K Jan 5 18:00 logs
-rw-r--r-- 1 johan johan 2.0K Jan 5 17:59 nextcloud.cfg
-rw-r--r-- 1 johan johan 403 Dec 27 19:38 nextcloud.cfg.backup_20251227_193838
-rw-r--r-- 1 johan johan 2.0K Jan 5 17:38 'nextcloud.cfg.backup_20260105_173839_4.0.4 (build 35937)'
-rw-r--r-- 1 johan johan 21K May 24 2019 Nextcloud_sync.log
-rwxr--r-- 1 johan johan 371 May 17 2019 sync-exclude.lst
I have no clue why the client fails to remove ~/.local/share/Nextcloud; I guess I can remove it manually.
What else can I do to debug this, especially the syncing of Fotos?