Sync "local file" with Syncthing? #2821
-
Hi,still testing, I've installed SP on a Linux PC and an Android phone. Both are set to sync via local file, then I sync both files with Syncthing, so the changes made to the file on Android are duplicated on the file on the PC and vice-versa. It's what I do with other programs and works every time, but not with SP, I'm getting lots of sync conflicts.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
Same issue here, it seems it's because SP includes the path to your local .json file inside the local .json file, which will cause other synced devices to look for that same path in their own filesystem structure, which won't the same if syncing between Android and Windows, Windows and Linux etc... I suggest moving this option |
Beta Was this translation helpful? Give feedback.
-
I just found out, as a quick workaround you can set syncFilePath in the .json file to an empty string. The app will still use this file for sync, just don't touch the setting on the actual app since it may set it again. So I guess this is already stored locally somewhere, it just needs to not be included in the sync.json file. |
Beta Was this translation helpful? Give feedback.
I just found out, as a quick workaround you can set syncFilePath in the .json file to an empty string. The app will still use this file for sync, just don't touch the setting on the actual app since it may set it again.
..."localFileSync":{"syncFilePath":""}}...
So I guess this is already stored locally somewhere, it just needs to not be included in the sync.json file.