I've been using FFS for several months and had 0 problems syncing on my Windows machines with my Raspberry Pi NAS. However on Linux the same error repeatedly occurs.
I'm using SteamOS on my Steam Deck, and my Pi is running Raspbian 10.
I'm using FFS 11.27 Donation Edition.
I'll update some files on my Steam Deck, then run FreeFileSync to send them to the Pi. Without having changed the files again, if I run FFS later, it will report that the files on the Pi have been modified and need to be synced back to the Deck. When I hover over the files, it tends to show a time of several seconds to a minute or two later on the files on the Pi side compared to the Deck side. If I use RealTimeSync, this results in constant file conflicts, either stating that a file on both sides has been modified when I've only updated it on the Steam Deck, or that it's been modified on the Pi and needs to be transferred back to the Deck.
In some cases this has resulted in overwriting changes I've made to local files on the Deck because FFS thinks the Pi files are newer. Just last night I was editing a code file, then left my desk for a few minutes (RTS was running). When I returned, my changes had been reverted back to the older file present on the Pi.
This problem makes RTS unusable on my Linux machine, and FFS basically a manual process where I have to correct every file to make sure they get transferred the correct way.
Again, everything works completely fine when syncing between any of my Windows PCs and the Raspberry Pi NAS.
Syncing incorrectly between Linux PC and Raspberry Pi NAS
- Posts: 2
- Joined: 14 Nov 2022
-
- Posts: 4298
- Joined: 11 Jun 2019
https://freefilesync.org/manual.php?topic=expert-settings
What if you change the "FileTimeTolerance"?
What if you change the "FileTimeTolerance"?
-
- Posts: 4298
- Joined: 11 Jun 2019
In addition, these timestamp discrepancies have been reported here before and it always ended up being on the NAS side if I remember correctly. Either there is an update that fixes it, or caused it, or something else
- Posts: 2
- Joined: 14 Nov 2022
Thanks a lot xCSxXenon! I haven't updated my Pi in yonks since I didn't want to disrupt the various services I have running on it. I went through the somewhat painful process of updating it all the way to the latest Raspberry Pi OS and now it seems FFS is working just fine from Linux. Rather odd that it worked fine from my Windows machines but not from Linux, when the Pi was unchanged, but I suppose that's down to some detail in how Linux communicates with the Samba protocol vs how Windows handles it. I'll tentatively consider this resolved, and report back if the issue recurs.
Cheers.
Cheers.
-
- Posts: 4298
- Joined: 11 Jun 2019
Glad it was an easy fix! It's the beauty of Linux. Weird problems but also having a solution to those weird problems lol