Kilrah Posted August 20, 2022 Share Posted August 20, 2022 2 hours ago, meomapvn said: Nothing on patch: /mnt/user/Data/Syncthing/ Well those Data1 and Data2 would be 2 syncthing shares you added? Quote Link to comment
meomapvn Posted August 20, 2022 Share Posted August 20, 2022 16 minutes ago, Kilrah said: Well those Data1 and Data2 would be 2 syncthing shares you added? Data1 Data2 Is empty folder that i test with this syncthing docker: linuxserver/docker-syncthing (github.com) I tested your docker. With default setup, it store data on docker.img! Quote Link to comment
Kilrah Posted August 20, 2022 Share Posted August 20, 2022 1) It's not my Docker 2) You can see your unraid-side path maps to /media. That means that when you add shares in Syncthing you must put them under /media. Agree that the default should match, but you can change it yourself in Actions->Advanced->Defaults->Folder->Default Folder->Path. Quote Link to comment
feins Posted September 21, 2022 Share Posted September 21, 2022 On 8/20/2022 at 2:23 PM, Kilrah said: 1) It's not my Docker 2) You can see your unraid-side path maps to /media. That means that when you add shares in Syncthing you must put them under /media. Agree that the default should match, but you can change it yourself in Actions->Advanced->Defaults->Folder->Default Folder->Path. I did the same mistake and now even ive change the Path and my Syncthing are working correctly my Syncthing container claim 70% of the Docker. Can you help how can i reclaim the docker image size? Quote Link to comment
binhex Posted September 21, 2022 Author Share Posted September 21, 2022 38 minutes ago, feins said: Can you help how can i reclaim the docker image size? simple, left click syncthing, edit something, edit it back to what it was, scroll to the bottom and click on apply, this will delete the container freeing up space. 1 Quote Link to comment
feins Posted September 23, 2022 Share Posted September 23, 2022 On 9/22/2022 at 12:51 AM, binhex said: simple, left click syncthing, edit something, edit it back to what it was, scroll to the bottom and click on apply, this will delete the container freeing up space. Thank Binhex just simple as that. it resolve the issue. Quote Link to comment
Zudnic Posted October 11, 2022 Share Posted October 11, 2022 Hi all, thank you for creating and supporting this app. I'm still learning, so please bear with me because this sounds like an utterly stupid question. I installed the binhex syncthing UI in Unraid. When I go to the Web UI URL, it asks for credentials. I can't find anything about default credentials, canceling out doesn't work, and my Unraid user credentials don't work either. Is there a default username and password? I'm sure there is something basic I'm missing but any help is appreciated. Quote Link to comment
binhex Posted October 11, 2022 Author Share Posted October 11, 2022 7 hours ago, Zudnic said: Is there a default username and password? nope there isnt so im at a loss as to what the credentials could be!. in any case you can get around this by shutting down the container and then editing the following file using notepad++ (not notepad!):- /config/syncthing/config/config.xml then look for a section that looks like this (not real values):- <gui enabled="true" tls="false" debugging="false"> <address>127.0.0.1:8384</address> <user>foo</user> <password>$2a$UpBCwxUqHx4f%%FDFFSD$qU9z1bObZ.LVQBtqve</password> <apikey>Yv9cbqSSDFGDSFQbqazQe575Xn</apikey> <theme>default</theme> </gui> delete the values for <user> and <password> so that it ends up looking like this:- <gui enabled="true" tls="false" debugging="false"> <address>127.0.0.1:8384</address> <user></user> <password></password> <apikey>Yv9cStziiWXz3TNRRbqSQbqazQe575Xn</apikey> <theme>default</theme> </gui> save the file, then start the container. Quote Link to comment
WarHawk8080 Posted October 11, 2022 Share Posted October 11, 2022 (edited) I just setup syncthing, I set the /config directory to /mnt/user/syncthing not appdata, logged into webgui, added my cellphone, shared my photos, music, and DCIM with the syncthing on UnRaid, and it started syncing, can log into shell and see the directories in the /mnt/user/syncthing directory (along with all the configs and keys)...if it's in appdata it fills up the docker file So I guess it works if you tell it to use a static directory, the data1 and data2 environment setting do nothing root@MOBIUS:/mnt/user/syncthing# ls -lah total 64K drwx------ 1 nobody users 248 Oct 11 14:44 ./ drwxrwxrwx+ 1 nobody users 148 Oct 11 14:39 ../ drwxr-xr-x 1 nobody users 268 Oct 11 14:41 Camera/ drwxr-xr-x 1 nobody users 114 Oct 11 14:41 Dcim/ drwxr-xr-x 1 nobody users 816 Oct 11 14:41 Music/ drwxr-xr-x 1 nobody users 0 Oct 11 14:44 Sync/ -rw-r--r-- 1 nobody users 794 Oct 11 14:39 cert.pem -rw------- 1 nobody users 13K Oct 11 14:44 config.xml -rw------- 1 nobody users 7.8K Oct 11 14:39 config.xml.v0 -rw------- 1 nobody users 33 Oct 11 14:39 csrftokens.txt drwxr-xr-x 1 nobody users 0 Oct 11 14:42 data1/ drwxr-xr-x 1 nobody users 0 Oct 11 14:42 data2/ -rw-r--r-- 1 nobody users 806 Oct 11 14:39 https-cert.pem -rw------- 1 nobody users 288 Oct 11 14:39 https-key.pem drwxr-xr-x 1 nobody users 140 Oct 11 14:42 index-v0.14.0.db/ -rw------- 1 nobody users 288 Oct 11 14:39 key.pem Edited October 11, 2022 by WarHawk8080 Quote Link to comment
Zudnic Posted October 11, 2022 Share Posted October 11, 2022 11 hours ago, binhex said: nope there isnt so im at a loss as to what the credentials could be!. in any case you can get around this by shutting down the container and then editing the following file using notepad++ (not notepad!):- /config/syncthing/config/config.xml then look for a section that looks like this (not real values):- <gui enabled="true" tls="false" debugging="false"> <address>127.0.0.1:8384</address> <user>foo</user> <password>$2a$UpBCwxUqHx4f%%FDFFSD$qU9z1bObZ.LVQBtqve</password> <apikey>Yv9cbqSSDFGDSFQbqazQe575Xn</apikey> <theme>default</theme> </gui> delete the values for <user> and <password> so that it ends up looking like this:- <gui enabled="true" tls="false" debugging="false"> <address>127.0.0.1:8384</address> <user></user> <password></password> <apikey>Yv9cStziiWXz3TNRRbqSQbqazQe575Xn</apikey> <theme>default</theme> </gui> save the file, then start the container. Thank you! That did the trick. Appreciate the quick response and idiot-proof instructions. 1 Quote Link to comment
oerdem19 Posted October 14, 2022 Share Posted October 14, 2022 Hi, What do we put in Key 1 and Key 2? Thank you. Quote Link to comment
mr_cg Posted October 17, 2022 Share Posted October 17, 2022 Unfortunately i cannot resolve this error: 2022-10-17 21:33:10: Failed to create folder root directory mkdir /mnt/user: permission denied Data1 path in docker setup is "/mnt/user/syncthing/mnt/user/" and after adding new folder the system want to create the folder "/mnt/user/syncthing/mp3". Unfortunately with permission denied error. What needs to be done so that Syncthing will get enough permission to create folder on the "mnt/user/" path? Thanks for your help. Quote Link to comment
Kilrah Posted October 17, 2022 Share Posted October 17, 2022 (edited) 1 hour ago, mr_cg said: Data1 path in docker setup is "/mnt/user/syncthing/mnt/user/" In the template you mount something to /media, for example /mnt/user/syncthing. That means that for example a syncthing share stored in /media/share in the container will end up in /mnt/user/syncthing/share on unraid. So make sure to use subfolders of /media in the container, in the syncthing UI you never refer to /mnt/user/something. On Unraid the share should be owned by "nobody". Edited October 17, 2022 by Kilrah 2 Quote Link to comment
mr_cg Posted October 20, 2022 Share Posted October 20, 2022 On 10/17/2022 at 11:10 PM, Kilrah said: In the template you mount something to /media, for example /mnt/user/syncthing. That means that for example a syncthing share stored in /media/share in the container will end up in /mnt/user/syncthing/share on unraid. So make sure to use subfolders of /media in the container, in the syncthing UI you never refer to /mnt/user/something. On Unraid the share should be owned by "nobody". Many thanks for your explanation which helped me to get it finally working. 🙂 Quote Link to comment
bionicrocky Posted November 9, 2022 Share Posted November 9, 2022 (edited) New to this app, thanks for creating it! I am trying to backup folders on my UnRAID server to my Qnap. When creating the docker, I did Host Path /mnt/disk1/. Where is that mounted inside SyncThing? I do not see any of my shares under /mnt/ on SyncThing when trying to create a folder, and I get an error that I am not allowed to share that directory. What am I doing wrong? Thanks in advance! Sorry for the bonehead question. Edited November 9, 2022 by bionicrocky Quote Link to comment
Kilrah Posted November 9, 2022 Share Posted November 9, 2022 See 2 posts above, /media. Quote Link to comment
DanielPT Posted November 23, 2022 Share Posted November 23, 2022 Can i install this on my Unraid server and my Android phone and just let it sync my photos from my phone to my Unraid server in a specific folder? Quote Link to comment
t3 Posted November 28, 2022 Share Posted November 28, 2022 (edited) orphan post stub i just noticed that there was an update already ~ a month ago, that apparently did fail on my machine, thus my previous question regarding an update is now obsolete... Edited November 28, 2022 by t3 osbolete Quote Link to comment
Jensus11 Posted December 11, 2022 Share Posted December 11, 2022 Hello, why is syncthing reachable via http if i enabled https in the gui settings? Quote Link to comment
Sesshoumaru Posted December 26, 2022 Share Posted December 26, 2022 I just don't understand how I have to configure this plugin. My situation: There is an existing share (SMB, private) which has a subfolder I want to sync. I created a new user "Syncthings" and gave it permission to access the main share. I used its PUID to configure the plugin. I also created a new share for the appdata. The permission on the config folder are fine can be assessed (seen as nobody:users). But when I map the actual share to /media/share1 then permission is root:root and nothing works, access denied. Can somebody give me a hint how this is supposed to work? That would be helpful Quote Link to comment
Kilrah Posted December 27, 2022 Share Posted December 27, 2022 (edited) 12 hours ago, Sesshoumaru said: I created a new user "Syncthings" and gave it permission to access the main share. Docker path mounts have nothing to do with Samba, your user just has rights for accessing the samba share and syncthing isn't going to use that, and the underlying files still need correct access permissions. What are the permissions of the folder/files? Edited December 27, 2022 by Kilrah Quote Link to comment
Sesshoumaru Posted December 27, 2022 Share Posted December 27, 2022 (edited) 5 hours ago, Kilrah said: Docker path mounts have nothing to do with Samba, your user just has rights for accessing the samba share and syncthing isn't going to use that, and the underlying files still need correct access permissions. What are the permissions of the folder/files? Yes, I re-installed Syncthings as per manual, everythng default. When checking the folder permissions I saq that there was neither write nor read permission -- which is odd, as I mouted and assigned the rights correctly. After chmod'ing all the contents (from the Unraid shell) with a+w+r Syncthings finally could assess the share. Permission nightmware. It would be a great feature to have all the things doing on in the appdata folder and no write access to the share needed.. of cause read access is mandatory (that one bugged me the most). Edited December 27, 2022 by Sesshoumaru Quote Link to comment
Kilrah Posted December 27, 2022 Share Posted December 27, 2022 Well syncthing is meant for 2-way sync, so it obviously needs to be able to write to the shared folders... Quote Link to comment
Tbtf Posted December 30, 2022 Share Posted December 30, 2022 HI @binhex, I have the docker settings for UMASK=000, PUID=99, PGID=100 However when synchthing syncs the files from my seedbox to unraid the folders are created with the following permissions drwxr-xr-x 1 nobody users I cannot modify the files in the folder when i access from a SMB share because of the permissions. If I SSH to my server and run a chmod -R 0777 foldername I will then be able to modify the files in the folder that were synced by the docker container. Would you be able to help? Thanks Quote Link to comment
Recommended Posts
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.