Syncthing windows3/12/2023 ![]() Machine B is using v1.20.4, Linux (64-bit Intel/AMD).Īny idea what's going on here, and how to fix it? Thanks!Įdit: updated machine B to 1.20.4, issue remains. Machine A is using v1.20.4, macOS (64-bit Intel/AMD). I'm not seeing any other errors, the logfile doesn't have anything out of the ordinary, and rescans don't help. I assume machine B is counting each file twice somehow. To install Syncthing, run the following command from the command line or from. So this will start Syncthing on your Ubuntu Server. Chocolatey is software management automation for Windows that wraps. sudo systemctl enable rvice sudo systemctl start rvice. This will allow start-up on boot and continuous execution in the background of your server. The new folder (on machine B) lists 227,032 files at ~138GiB for the local state and 454,064 at ~276GiB for the global state. The next thing you want to do is enable Syncthing as a system service. Total Check the devices that share the default folder on the tab. If you want to share the default folder folder Registered in Default Folder Click Edit choose. The original folder (on machine A) correctly lists 227,032 files at ~138GiB for both the global and local state. syncthing Is by default User name Directly under the folder Sync A folder has been created, but you can share existing or new folders. The problem is on machine B, where the "Global state" lists exactly double the number of files and size as the "Local state", with exactly that same number listed as out of sync (see attached image). Point machine B to the existing rsync'd directory when it prompts to create the Folder. Use rsync to copy all the data from machine A to machine B.Ĭreate a Folder in syncthing on machine A. I am trying to sync a large (~138GB) folder between two machines. I've used syncthing for a long time now, but with a new shared folder I'm having a strange issue. If anyone uses a simple script using the rest api I may be able to learn from that and tweak it for my own needs. For me, it would be to start Emacs only after completed sync (if I start Emacs before a completed sync, then I will need to manually refresh the buffers if a completed sync updated the files.Īnother useful script is to check for successful sync and return any conflicted files so the user can handle them as soon as possible rather than finding out there's a conflict at a less than opportune time. Your data is your data alone and you deserve to choose where it is stored, if it is shared with some third party and how its transmitted over the Internet. a 1 minute timeout), then do something like autostart an application. The 'Syncthing' plugin replaces proprietary sync and cloud services with something open, trustworthy and decentralized. I believe this is possible with the rest api but I'm not a programmer (I can only write bash scripts) and I figured this is probably something useful for other people who are using something similar they they may of wrote.įor example, such a use case is to run this automatically on startup, and if a successful sync is completed in 1 minute (e.g. I'm looking for a script to check for successful sync.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |