Unable to sync .var folder

Desktop client doesn’t sync ~/.var folder properly. It only syncs one folder which is:
~/.var/app/com.nextcloud.desktopclient.nextcloud !

  • I tried to restart sync process but it didn’t affect on the result.
  • I reset sync process by deleting .var folder in Server side and β€œRemove folder sync connection” then adding "Folder sync connection once again but it didn’t affect on the result too :frowning:
  • I tried to remove all the ignores but still get same result.

May you please help me. I googled for many hours but I didn’t get any result.

.sync-exclude.lst (server & client version are matched)

app/io.github.kotatogram/data/
app/org.telegram.desktop/data/
app/com.nextcloud.desktopclient.nextcloud/config/

tree of folders:

:~/.var$ tree -d -L 2
.
└── app
    β”œβ”€β”€ com.github.elth0r0.iqpuzzle
    β”œβ”€β”€ com.github.git_cola.git-cola
    β”œβ”€β”€ com.github.micahflee.torbrowser-launcher
    β”œβ”€β”€ com.github.qarmin.czkawka
    β”œβ”€β”€ com.github.tchx84.Flatseal
    β”œβ”€β”€ com.github.unrud.VideoDownloader
    β”œβ”€β”€ com.github.vkohaupt.vokoscreenNG
    β”œβ”€β”€ com.nextcloud.desktopclient.nextcloud
    β”œβ”€β”€ com.rafaelmardojai.Blanket
    β”œβ”€β”€ com.visualstudio.code
    β”œβ”€β”€ fr.handbrake.ghb
    β”œβ”€β”€ io.dbeaver.DBeaverCommunity
    β”œβ”€β”€ io.freetubeapp.FreeTube
    β”œβ”€β”€ io.github.kotatogram
    β”œβ”€β”€ io.github.peazip.PeaZip
    β”œβ”€β”€ net.cozic.joplin_desktop
    β”œβ”€β”€ net.filebot.FileBot
    β”œβ”€β”€ net.supertuxkart.SuperTuxKart
    β”œβ”€β”€ no.mifi.losslesscut
    β”œβ”€β”€ org.chromium.Chromium
    β”œβ”€β”€ org.ferdium.Ferdium
    β”œβ”€β”€ org.filezillaproject.Filezilla
    β”œβ”€β”€ org.flameshot.Flameshot
    β”œβ”€β”€ org.gnome.Cheese
    β”œβ”€β”€ org.gnome.EasyTAG
    β”œβ”€β”€ org.gnome.meld
    β”œβ”€β”€ org.gnome.World.PikaBackup
    β”œβ”€β”€ org.goldendict.GoldenDict
    β”œβ”€β”€ org.kde.digikam
    β”œβ”€β”€ org.kde.krita
    β”œβ”€β”€ org.kde.okular
    β”œβ”€β”€ org.keepassxc.KeePassXC
    β”œβ”€β”€ org.nmap.Zenmap
    β”œβ”€β”€ org.qbittorrent.qBittorrent
    β”œβ”€β”€ org.remmina.Remmina
    β”œβ”€β”€ org.telegram.desktop
    └── rest.insomnia.Insomnia

38 directories

Server side:

  • NC: 24.0.5
  • Ubuntu 20.04 x64
  • Nginx:
nginx version: nginx/1.22.0
built with OpenSSL 1.1.1f  31 Mar 2020
TLS SNI support enabled
configure arguments: --with-cc-opt='-g -O2 -fdebug-prefix-map=/build/nginx-X2AZGW/nginx-1.22.0=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2' --with-ld-opt='-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -fPIC' --prefix=/usr/share/nginx --conf-path=/etc/nginx/nginx.conf --http-log-path=/var/log/nginx/access.log --error-log-path=/var/log/nginx/error.log --lock-path=/var/lock/nginx.lock --pid-path=/run/nginx.pid --modules-path=/usr/lib/nginx/modules --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --with-compat --with-debug --with-pcre-jit --with-http_ssl_module --with-http_stub_status_module --with-http_realip_module --with-http_auth_request_module --with-http_v2_module --with-http_dav_module --with-http_slice_module --with-threads --with-http_addition_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_sub_module

Client side

  • Linux Mint 21 XFCE
  • NC client (flatpak): 3.6.0
  • Flatpak permissions:
$ flatpak info --show-permissions com.nextcloud.desktopclient.nextcloud
[Context]
shared=network;ipc;
sockets=x11;wayland;
devices=dri;
filesystems=/home/laptop/.themes;host-etc;xdg-run/Nextcloud:create;home;host;xdg-config/kdeglobals:ro;host-os;/usr/share/themes;
persistent=../;

[Session Bus Policy]
com.canonical.AppMenu.Registrar=talk
org.kde.kconfig.notify=talk
org.kde.KGlobalSettings=talk
org.kde.StatusNotifierWatcher=talk
org.freedesktop.Notifications=talk
org.freedesktop.secrets=talk
org.kde.*=own

[Environment]
TMPDIR=/var/tmp
GTK_THEME=Mint-Y-Dark-Aqua
QT_STYLE_OVERRIDE=Adwaita-dark