Short Description
The sync between my Android device and my home server does not work, when I add files on my Android device. The other way around works. Why do this situation occur, what can I do to further debug this problem and how do I fix this, so that the sync works?
Details
I had problems syncing my Android device with my NAS, so I made a little lab setup to debug the Problems
Setup
I have 3 devices
- NSYNC
- VM on Home Server
- Located in subnet A
- nixos 24.05
- syncthing v1.27.7
- Laptop
- Laptop
- Located in subnet B
- Fedora 40
- syncthing v1.27.7
- Pixel6
- Phone
- Located in subent B
- Android 14
- Syncthing v1.27.6
All devices are paired with another through syncthing. Nsync is paired using the IP-address (tcp://x.x.x.x:2200) on the other devices. Everything else is on dynamic. Global discovery and relaying are turned off.
There are 4 folders
nsync-laptop
- synced between NSYNC and Laptop
nsync-pixel6
- synced between NSYNC and Pixel6
nsync-laptop
- synced between Laptop and Pixel6
nsync-laptop-pixel6
- synced between all 3 devices
Observations
nsync-laptop
,nsync-laptop
andnsync-laptop-pixel6
snyc well- both directions
- fast discovery of changes
- fast transmission of changes
nsync-pixel6
syncs well if a file is added on NSYNCnsync-pixel6
does not sync at all if a file is added on Pixel6- This is the Problem
- Pixel6 shows
Idle
on the folderSyncing (95%)
on NSYNC
- NSYNC shows
Syncing (90%, 5.97 MiB)
on the folderUp to Date
on Pixel6
- The situation remains the same, even after every syncthing daemon involved is restarted.