I’m trying to use Syncthing on a server with mounted Openstack Swift Object Storage using FUSE driver from OVH
“Normal” files are working OK when I put them manually they are synced from server to my desktop PC.
The problem is in opposite direction - Syncthing is creating temporary files and it’s probably trying to lock them or to do other kind of file operation that is not supported using object storage resulting in errors like:
opening temp file: open /home/user1/Sync/.syncthing.test1.pdf.tmp: operation not supported
Is it possible to set different temporary files location so it could use regular ext4 volume only for temp, while keep synced files on mounted object storage folder?
It’s not possible to change the temp file directory. Specifically, Syncthing must be able to rename the temp file into the final destination, which means they must be on the same volume.
(I’m not sure why the open fails as in your case.)
Being that technical though I think it would be better to figure out why our open fails. Otherwise, in the end we’ll have to copy the file back to the odd object storage volume and anyway run into the same problem again. The problem is with Syncthing trying to create a file there, not that it’s a temporary one (probably, unless it’s the name it opposes.)