Changing destination of accepted folder/files

I have a truenas scale 24.10 box. I can setup and sync folders and their files. My situation is the following: I had not noticed that when I accept files from another machine, the folder/files will go on to the dataset which contains the configuration files for my syncthing container.

Is there any place to edit the configuration to indicate/point where the accepted folder/files will go?

Any help will be appreciated.

Anyone have any idea? I don’t find an answer in the documentation

Via Syncthing’s web GUI, click Actions → Advanced → Folders, then pick your Syncthing folder and update the “Path” field as needed.

Not sure how TrueNas does it’s thing, but for me using the Web GUI, adding a share always gives me the option to select the “Folder Path” as the last field on the “General” tab of the “Add folder” dialog. This field has predictive-completion, so I can “walk” the filesystem tree by entering a partial directory name, cursor-down to a match in the pick-list, then cursor-right to enter it and so on.

Editing the path via Advanced Configuration in the GUI is not really a good recommendation. It might lead to data loss if the files are not moved at exactly the same time.

A better approach is to:

  1. Remove the folder from the config (Edit → Remove button in the folder details).
  2. Move the files physically to a new location.
  3. Wait until it gets offered again from another online device. To speed things up, pause and unpause all devices, forcing a fresh connection attempt.
  4. Accept the folder sharing offer again, specifying the new path this time, where you have moved the files.

I would say that it’s safe as long as you 1) pause the folder first, 2) move the data, 3) edit the configuration, 4) unpause. But yes, one should only use this method if they know exactly what they’re doing.

There are situations where modifying the configuration is much preferable though, e.g. when dealing with very large folders on slow storage, as removing and adding them from scratch can make Syncthing take a very long time to rescan and hash the files. Editing the configuration is instant with no rehashing.

Thank you. So I do this as of right now. In fact in the box in question I have a folder to my pictures and a separate “directory/folder” for my wife. I can place them where I want withing the file structure. I can create a separata folder in teh configuration for the incoming accepted shares?

Thank you. I get the idea, I will look for this as I was unable to find it when I originally set up syncthing. I was unaware that syncthing would store the files in the same configuration folder/directory for itself.

I now want to, if necessary, delete the files and even uninstall syncting and then reconfigure it with my two folders (within a single data set) to be shared with my remote machines and now either create a separate data set for the incoming shared folders or just create the share withing my current data set. I want to get it to work before I commit all my files. I ahve two DS218+ diskstations which I like to “converge” on to the truenas as a backup and eventually to be the main box. I will check later tonight if I can do this. Thanks again

Ill see if i can make this happens. Thanks