I don’t know what to do with syncthing.old. I recall installing syncthing twice, so perhaps that’s the first and obsolete instance, and it would be safe to delete in that case?
Install the syncthing binary in a directory called bin in your home directory.
This may suggest syncthing is not properly installed, or that all the files except the binary are not needed, and I should simply move the current binary to the ~/bin folder and delete rest of the files? By the way, why not /bin? I don’t have a bin directory in home and all my binaries are in root.
Typically I’d just suggest moving the current binary to ~/bin, yes. Not using /bin is because Syncthing needs write access to the binary in order to do automatic upgrades. The syncthing.old file is the result of such an upgrade – the previous version is kept around to be able to rollback the upgrade.
So since syncthing binary needs syncthing and syncthing.old, shouldn’t I just move the entire directory as it is into bin? I want to ensure I’m following best practices.
On a side note, where is the data stored?
I think of moving syncthing to docker, but would like to move all the data from my local machine to docker so I don’t have to set up all the directories manually again.