February 6, 20215 yr Hi am quite new to Unraid (and Linux), I am trying to Sync my Android Phone to Unraid with Syncthing. By default the Folder Path i.e for Folder "Test" in the Syncthing WebUI is /config/Test. (it works, but I don't even know where to find that folder) I've created a share called AndroidBackup. So in the Syncthing WebUI I put in the Folder path "/mnt/user/AndroidBackup/Test" (I'm already not really shure if this would be the correct path.) Anyway, I get an error: Quote 2021-02-06 17:37:05: Failed to create folder root directory mkdir /mnt/user: permission denied 2021-02-06 17:37:05: Error on folder "Test" (tqf2q-vpuz2): folder path missing I've tried the "Docker Safe New Perms" but that didn't help. How can I solve the Permission error (and what would be the correct path)?
February 6, 20215 yr Community Expert You can go directly to the correct support thread for any of your dockers by clicking on its icon and selecting Support.
February 6, 20215 yr Author Ah sorry my bad. I searched in the forum but didn't find a solution. In the supported thread I just found what I did wrong. Thanks
June 22, 20224 yr Author Tbh I can't remember anymore... Maybe have a look in here, according to my post the solution should be there Maybe my config helps too. I have no idea if it's "technically" correct, but it's working. Docker Syncthing Config: Network Type: Bridge Console Shell command: shell privileged: off Host Path2: /mnt/user/AndroidBackup --> AndroidBackup is my created share. AppData Config Path: /mnt/user/appdata/syncthing Syncthing Webui: Folderpath: /sync/FullBackup --> "FullBackup" is the folder inside your created share where the actual files are stored No real solution to your question, but I hope I can help anyway.
November 22, 20223 yr had the same error first check the permission of your folder on your unraid share by opening a console and cd into the directory you can check the permissions with ls - la if you have something like drwxr-xr-x simply add the write permission chmode 777 myFolder/
December 29, 20223 yr Thanks @zgo. This solved my issue… my directories were owned by nobody:users, but the permissions were wrong. Any of the folders that were 755 needed to be 777.
December 4, 20241 yr I'll provide another solution if people are still wondering. Long story short, you may not be accessing the correct file path. If you're new to unraid, you may have glossed over some useful info right under your nose. For the sake of following the same steps, get the binhex version of syncthing, its the one I have. Go to Docker tab and click on it to edit the options. The first path he has hidden for appdata (which you can change), but focus on Host Path 2. Notice how underneath the path (which you can leave as /mnt/user) it says "Container Path: /media"? This is key, this is the (if you want to call it) root for your shares you'll put in syncthing. So check it out. Get out of those, options you don't really need to change them unless you want to. Go to your shares in unraid and add a share and name it what you want. I exported mine in SMB settings, that's a personal choice for me, I don't believe that's necessary, but I should mention it since I did that personally. Now open up the syncthing GUI by going back to Docker tab, clicking on the docker icon for syncthing and selecting "WebUI". Now in syncthing when you add a folder, use /media as the base of the file path to whatever folder share you made. That's the proper path. For example, "/media/sync" if I made one called sync. Something like "/mnt/users/whatever" will give errors often because it's not the container path in this case. Hope this helps someone. Very simple but can be a pain if you're not looking carefully.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.