# Folder Path Issue

**URL:** https://forum.syncthing.net/t/folder-path-issue/18408
**Category:** Support
**Created:** [May 7, 2022, 9:34pm UTC](https://forum.syncthing.net/t/folder-path-issue/18408 "2022-05-07T21:34:35Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![dbr\_ro](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/d/439d5e/32.png) [@dbr\_ro](https://forum.syncthing.net/u/dbr_ro)
#### Post date: [May 7, 2022, 9:34pm UTC](https://forum.syncthing.net/t/folder-path-issue/18408/1 "2022-05-07T21:34:35Z")

</div>

Hello, I’m attempting to setup syncthing between my two NAS devices and am having issues with the path setup. On NAS 1 (QNAP), the folder exists in /homes/folder/ and in NAS 2 (Synology) I want the path to be in /volume1/folder/ because I’ve created a dedicated shared folder on this NAS for it. No matter what I seem to do, the synced folder ends up going to NAS 2 as the identical path that exists on NAS 1. So a /homes/folder/ path gets created and syncing happens between there. I’m totally new to all of this, but am I correct in my understanding that I should be able to set the path where the shared folder should exist on a given NAS? Thanks for any advice you could give me here.

---

<div class="post-metadata">

### Author: ![tomasz86](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/t/96bed5/32.png) [@tomasz86](https://forum.syncthing.net/u/tomasz86)
#### Post date: [May 7, 2022, 9:49pm UTC](https://forum.syncthing.net/t/folder-path-issue/18408/2 "2022-05-07T21:49:45Z")

</div>

Not an expert, but it sounds similar to the issue described at [https://forum.syncthing.net/t/not-sure-how-to-set-a-proper-directory-to-sync-to/18377](https://forum.syncthing.net/t/not-sure-how-to-set-a-proper-directory-to-sync-to/18377). Basically, your OS may be restricting each app’s access to a specific folder, so that it’s impossible to create folders outside of it.

How have you installed Syncthing in the first place? If it’s a 3rd party package offered by the NAS vendor, then you may want to try running the official binary from [https://syncthing.net](https://syncthing.net) instead. This may not work if the OS is extremely restricted though.

---

<div class="post-metadata">

### Author: ![dbr\_ro](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/d/439d5e/32.png) [@dbr\_ro](https://forum.syncthing.net/u/dbr_ro)
#### Post date: [May 8, 2022, 12:15am UTC](https://forum.syncthing.net/t/folder-path-issue/18408/3 "2022-05-08T00:15:27Z")

</div>

**Sun thing**

Hey so im running QTS 4.5.4 on NAS1 and installed sycthing from [https://qnapclub.eu › qpkgSyncThing - Qnapclub Store](https://qnapclub.eu/en/qpkg/692)

On NAS2 I’m running DSM 7 and installed sycthing from [SynoCommunity](https://synocommunity.com/package/syncthing)

Are you implying that something could be deficient in these versions of syncthing?

---

<div class="post-metadata">

### Author: ![tomasz86](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/t/96bed5/32.png) [@tomasz86](https://forum.syncthing.net/u/tomasz86)
#### Post date: [May 8, 2022, 5:06am UTC](https://forum.syncthing.net/t/folder-path-issue/18408/4 "2022-05-08T05:06:36Z")

</div>

Syncthing itself could be unmodified, but the package format may follow the OS restrictions that force it to access the filesystem under those specific paths only. Of course, this is just speculation at this point based on your explanation and the other issues that have come up on the forum recently.

That’s why testing out how the official binary behaves in this environment may be beneficial and hopefully verify (or not) this suspicion.

Also, please post screenshots showing the Syncthing Web GUI on both sides, including the problematic folder paths, so that we can check visually whether there’s nothing obvious going wrong in them.

---

<div class="post-metadata">

### Author: ![acolomb](https://forum.syncthing.net/user_avatar/forum.syncthing.net/acolomb/32/11343_2.png) [@acolomb](https://forum.syncthing.net/u/acolomb)
#### Post date: [May 8, 2022, 6:46pm UTC](https://forum.syncthing.net/t/folder-path-issue/18408/5 "2022-05-08T18:46:50Z")

</div>

As maintainer of the SynoCommunity package, I can at least say that there should be no artificial restrictions to a folder’s path in that Syncthing package. You can point it to wherever you like, just need to make sure the permissions are set correctly. There is some info on the SC Wiki about this, sorry just don’t have a link at hand right now.

Screenshots would be helpful, yes. And maybe describe the process what you did to set up the folders on each side. Note that the _default_ folder path in the Settings dialog is not relevant for already shared folders. You need to look at the expanded details for the respective folder in the GUI to see its path.

---

<div class="post-metadata">

### Author: ![Andy](https://forum.syncthing.net/user_avatar/forum.syncthing.net/andy/32/7128_2.png) [@Andy](https://forum.syncthing.net/u/Andy)
#### Post date: [May 9, 2022, 10:57am UTC](https://forum.syncthing.net/t/folder-path-issue/18408/6 "2022-05-09T10:57:42Z")

</div>

> [@acolomb](#):
>
> the permissions are set correctly

In DSM 7 there should be a local system user (it´s not a normal user or a usergroup!) “sc-syncthing” and this user gets read/write permissions via the control panel in all those folders that should be synchronized. If you then want to create a folder, you can then also select this.

---

<div class="post-metadata">

### Author: ![dbr\_ro](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/d/439d5e/32.png) [@dbr\_ro](https://forum.syncthing.net/u/dbr_ro)
#### Post date: [May 9, 2022, 9:42pm UTC](https://forum.syncthing.net/t/folder-path-issue/18408/7 "2022-05-09T21:42:23Z")

</div>

Thanks to all of you for weighing in on this. I can’t seem for the life of me to be able to recreate the setup I once got - before I could see files syncing, but now I don’t even see that; though the scans and changes seems to show on the web GUI, I can’t see them in either NAS file station.

Here are screenshots of the setting on the QNAP NAS:

 ![Screen Shot 2022-05-09 at 5.31.44 PM](https://forum-uploads.syncthingcdn.net/original/2X/9/91c9965d5f6194221212809b3eaaf9ee800d4a85.png) ![Screen Shot 2022-05-09 at 5.31.56 PM](https://forum-uploads.syncthingcdn.net/original/2X/7/7d8a4df87b78e4786fe49b63dc2098b5a3a875e1.png)

Here are ones of the Synology NAS:

 ![Screen Shot 2022-05-09 at 5.33.03 PM](https://forum-uploads.syncthingcdn.net/original/2X/8/81a1b0fd1bbec917fe335fc3f38a545a4ddbb264.png) ![Screen Shot 2022-05-09 at 5.33.13 PM](https://forum-uploads.syncthingcdn.net/original/2X/7/7ca4af31acd2b25783e7654c9a8ec892ae0b5ee6.png)

The shared folder on the Synology has “sc-syncthing” permissions for read/write enabled (and subfolders).

I know I must be missing something obvious…

> [@acolomb](#):
>
> You need to look at the expanded details for the respective folder in the GUI to see its path.

Could it be related to this? Could anyone expound on this for me?

---

<div class="post-metadata">

### Author: ![acolomb](https://forum.syncthing.net/user_avatar/forum.syncthing.net/acolomb/32/11343_2.png) [@acolomb](https://forum.syncthing.net/u/acolomb)
#### Post date: [May 10, 2022, 8:06pm UTC](https://forum.syncthing.net/t/folder-path-issue/18408/8 "2022-05-10T20:06:32Z")

</div>

I meant clicking on the folder name in the GUI’s left column. It will expand to show more details about that folder. But you already showed the paths in your screenshots above, so that looks correct.

What exactly are you seeing? If Syncthing is configured to sync `/volume1/DKR_Creative` path on the Synology, then it definitely won’t try to access any other path for the folder. How did you come to the conclusion that Syncthing is using `/homes/DKR_Creative` instead on that same system?

---

<div class="post-metadata">

### Author: ![dbr\_ro](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/d/439d5e/32.png) [@dbr\_ro](https://forum.syncthing.net/u/dbr_ro)
#### Post date: [May 11, 2022, 3:01am UTC](https://forum.syncthing.net/t/folder-path-issue/18408/9 "2022-05-11T03:01:16Z")

</div>

Hi Andre, before I was placing files into the folders and they were syncing. On the QNAP NAS the folder was in /homes/DKR\_Creative

My intended location for where to send it on the Synology was /volume1/DKR\_Creative but no files were actually showing up there when I tested the sync. They were showing up in a folder at /homes/DKR\_Creative on the Synology (the same path location as the one on the QNAP)

---

<div class="post-metadata">

### Author: ![dbr\_ro](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/d/439d5e/32.png) [@dbr\_ro](https://forum.syncthing.net/u/dbr_ro)
#### Post date: [May 11, 2022, 3:04am UTC](https://forum.syncthing.net/t/folder-path-issue/18408/10 "2022-05-11T03:04:14Z")

</div>

Here is an outline of my process:

- [] Create New Shared Folder on QNAP: /homes/DKR\_Creative

- [] Permissions set to RW access for all administrators

- [] Create Shared Folder on Synology /volume1/DKR\_Creative

- [] Allow sc-syncthing read write permissions

- [] Connect Remote Devices on Synching web GUI - neither Introducer or Auto Accept are checked on either NAS

- [] Create Folder on QNAP NAS labeled: DKR\_Creative

- [] Accept Folder on Synology NAS

- [] Outcome = says “Up to Date”

- [] On Synology, I can see .stfolder

- [] On QNAP I don’t see the folder

I still don’t see files syncing between them. 🤦‍♂️

---

<div class="post-metadata">

### Author: ![Andy](https://forum.syncthing.net/user_avatar/forum.syncthing.net/andy/32/7128_2.png) [@Andy](https://forum.syncthing.net/u/Andy)
#### Post date: [May 11, 2022, 7:52am UTC](https://forum.syncthing.net/t/folder-path-issue/18408/11 "2022-05-11T07:52:30Z")

</div>

Maybe is better to have screenshots of the 2 GUI´s to see the status, because if “Up to Date” appears and there are no files, it indicates a connection problem between the devices. In which condition are the remote devices, are there disconnected or connected?

If the QNAP also shows “Up to Date” and the .stfolder is not visible, maybe this file could fall under the hidden files and in this way are not visible.

---

<div class="post-metadata">

### Author: ![acolomb](https://forum.syncthing.net/user_avatar/forum.syncthing.net/acolomb/32/11343_2.png) [@acolomb](https://forum.syncthing.net/u/acolomb)
#### Post date: [May 11, 2022, 8:02am UTC](https://forum.syncthing.net/t/folder-path-issue/18408/12 "2022-05-11T08:02:45Z")

</div>

> [@dbr\_ro](#):
>
> Hi Andre, before I was placing files into the folders and they were syncing

> [@dbr\_ro](#):
>
> but no files were actually showing up there when I tested the sync

I’m still really confused by this contradiction. Did you change something, did you set it up again from scratch?

The `.stfolder` not showing on the QNAP side could be related to not showing hidden files, correct. But I thought the problem was on the Synology side, where the files ended up in the wrong location? Are you maybe just mixing up the Web GUIs of both NAS instances?

And when you write “Create shared folder”, are you talking about the NAS user interface or about pressing “Add Folder” in the Syncthing GUI?

---

<div class="post-metadata">

### Author: ![dbr\_ro](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/d/439d5e/32.png) [@dbr\_ro](https://forum.syncthing.net/u/dbr_ro)
#### Post date: [May 11, 2022, 10:07pm UTC](https://forum.syncthing.net/t/folder-path-issue/18408/13 "2022-05-11T22:07:37Z")

</div>

Thanks for sticking with me on this…I’ve spent so many hours trying to get this working!

> [@acolomb](#):
>
> Did you change something, did you set it up again from scratch?

Yes. I setup all from scratch. When I first posted the issue was that files ended up in the wrong location on the Synology side. Instead of going to where I set the path /volume1/DKR\_Creative they went to /homes/DKR\_Creative

NOW the issue is worse. I am not even seeing any files sync between them - but the web GUI says they are.

> [@acolomb](#):
>
> And when you write “Create shared folder”, are you talking about the NAS user interface or about pressing “Add Folder” in the Syncthing GUI?

Sorry to be unclear. The first two instances of my outline are on the NAS devices:

> [@dbr\_ro](#):
>
> - Create New Shared Folder on QNAP: /homes/DKR\_Creative
> - Permissions set to RW access for all administrators
> - Create Shared Folder on Synology /volume1/DKR\_Creative
> - Allow sc-syncthing read write permissions

When I said “Create Folder” here, I should have said “Add Folder” on web GUI:

> [@dbr\_ro](#):
>
> - Create Folder on QNAP NAS labeled: DKR\_Creative
> - path - /homes/DKR\_Creative
> - Check Sharing to share with Synology device
> - Advanced \> check ignore permissions
> - Accept Folder on Synology NAS
> - Folder name: DKR\_Creative
> - ID (same on both)
> - path - /volume1/DKR\_Creative

> [@Andy](#):
>
> If the QNAP also shows “Up to Date” and the .stfolder is not visible, maybe this file could fall under the hidden files and in this way are not visible.

Yes, things are “up to date” but I also have “Show hidden files” checked within the QNAP file station and nothing shows which is bizarre.

As of now, the web GUI says things are syncing and up to date, but nothing is showing to sync in my actual file system…I did a video of how I set things up here: [https://youtu.be/j09qmiVHgbI](https://youtu.be/j09qmiVHgbI)

---

<div class="post-metadata">

### Author: ![Andy](https://forum.syncthing.net/user_avatar/forum.syncthing.net/andy/32/7128_2.png) [@Andy](https://forum.syncthing.net/u/Andy)
#### Post date: [May 12, 2022, 11:23am UTC](https://forum.syncthing.net/t/folder-path-issue/18408/14 "2022-05-12T11:23:46Z")

</div>

Maybe check via console the situation inside of that folder.

Normally, if no `.stfolder` is available, in the GUI you get a Stop message and the Sync doesnt work. Whats happen, if you simply copy a `.stfolder` in the folder of the QNAP, maybe then the Sync works.

---

<div class="post-metadata">

### Author: ![dbr\_ro](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/d/439d5e/32.png) [@dbr\_ro](https://forum.syncthing.net/u/dbr_ro)
#### Post date: [May 12, 2022, 12:04pm UTC](https://forum.syncthing.net/t/folder-path-issue/18408/15 "2022-05-12T12:04:59Z")

</div>

> [@Andy](#):
>
> Maybe check via console the situation inside of that folder.

Hey Andy, I don’t really know how to use Console…I can look into it and see if it’s something I can figure out to check this.

> [@Andy](#):
>
> Whats happen, if you simply copy a `.stfolder` in the folder of the QNAP

A couple times I’ve tried creating a folder .stfolder within the QNAP filestation in the correct path, with no noticeable results.

---

<div class="post-metadata">

### Author: ![Andy](https://forum.syncthing.net/user_avatar/forum.syncthing.net/andy/32/7128_2.png) [@Andy](https://forum.syncthing.net/u/Andy)
#### Post date: [May 12, 2022, 12:22pm UTC](https://forum.syncthing.net/t/folder-path-issue/18408/16 "2022-05-12T12:22:22Z")

</div>

> [@dbr\_ro](#):
>
> I’ve tried creating a folder .stfolder within the QNAP filestation

Was that folder visible and have also the right permissions?

---

<div class="post-metadata">

### Author: ![dbr\_ro](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/d/439d5e/32.png) [@dbr\_ro](https://forum.syncthing.net/u/dbr_ro)
#### Post date: [May 12, 2022, 12:36pm UTC](https://forum.syncthing.net/t/folder-path-issue/18408/17 "2022-05-12T12:36:24Z")

</div>

Yes

---

<div class="post-metadata">

### Author: ![Andy](https://forum.syncthing.net/user_avatar/forum.syncthing.net/andy/32/7128_2.png) [@Andy](https://forum.syncthing.net/u/Andy)
#### Post date: [May 12, 2022, 1:45pm UTC](https://forum.syncthing.net/t/folder-path-issue/18408/18 "2022-05-12T13:45:02Z")

</div>

What is the reason `.stfolder` is away now? Manually or virus detected or any scripts seaching such files for deleting, etc.?

---

<div class="post-metadata">

### Author: ![acolomb](https://forum.syncthing.net/user_avatar/forum.syncthing.net/acolomb/32/11343_2.png) [@acolomb](https://forum.syncthing.net/u/acolomb)
#### Post date: [May 12, 2022, 1:47pm UTC](https://forum.syncthing.net/t/folder-path-issue/18408/19 "2022-05-12T13:47:37Z")

</div>

> [@Andy](#):
>
> Normally, if no `.stfolder` is available, in the GUI you get a Stop message and the Sync doesnt work. Whats happen, if you simply copy a `.stfolder` in the folder of the QNAP, maybe then the Sync works.

That is very dangerous advice. If Syncthing detects that folder marker in an otherwise empty folder that is shared to other devices, it might assume that all files have just been deleted and goes on to delete them on the other nodes. Don’t do that.

I don’t have time right now to look further into the actual problem, maybe later or tomorrow.

---

<div class="post-metadata">

### Author: ![Andy](https://forum.syncthing.net/user_avatar/forum.syncthing.net/andy/32/7128_2.png) [@Andy](https://forum.syncthing.net/u/Andy)
#### Post date: [May 12, 2022, 2:02pm UTC](https://forum.syncthing.net/t/folder-path-issue/18408/20 "2022-05-12T14:02:30Z")

</div>

That may be and I knew that now not quite so conclusively.

When I read the whole post, I have to assume that the folder in question was created regularly via the GUI and thus also the .stfolder. If this now gets lost and I copy again a .stfolder into the directory, the sync works as before. The folder is usually empty and it does not matter where it comes from. I had also already accidentally deleted some and always fixed it in this form.

However, I do not want to call now to the imprudence, I am finally no specialist or programmer.

[Next page](https://forum.syncthing.net/t/folder-path-issue/18408.md?page=2)
