Syncthing runs really well on a Synology NAS, but the permissions configured in the container and on the NAS are very important. This tutorial looked at how to set up Syncthing on a Synology NAS. You can now sync this folder with a separate Syncthing server! Conclusion: How to Set Up Syncthing on a Synology NAS If the permissions are set properly, the folder will be labeled as Unshared. You can now select Add Folder in Syncthing, enter a Folder Label and Folder Path (the path will be what we specified above in the mount path), then Save.ĥ. After you save, you’ll be prompted to enter the username and password.Ĥ. Select GUI, then set a GUI Authentication User and GUI Authentication Password, then Save. The next thing we’ll have to do is set a username and password for the Syncthing GUI. You can select yes or no depending on which you’d prefer.Ģ. When you first navigate to the website, you’ll be asked to share anonymous usage. The error will be gone in Syncthing! Syncthing Configuration – How to Set Up Syncthing on a Synology NASġ. From there, you can select the user and then give read and write permission to the #recycle folder. If you’d rather only give permission to an individual user, open the Shared Folder in File Station and right-click the #recycle folder, then select Properties. The option above gives all users in the “users” group permission to the recycle bin. The user that you set above must have permission to the #recycle folder, but that doesn’t mean that all users must. This will allow users to see what’s inside of the Shared Folder, so if you do not want all users to have permission to the recycle bin, skip down to the next section and do not do this. To get around this, edit the shared folder in the Control Panel, then uncheck the restrict access to administrators only option and save. By default, only administrators have permission to this folder, but Syncthing will throw an error if the user account doesn’t have permission to it. If the recycle bin is enabled on the shared folder, it will have a #recycle folder inside of it. This means that if you used your personal user account and the “users” group (PGID 100), the “users” group must have read/write permission to the folder as well.Ģ. The PUID and GUID of the user set above must have permission to each shared folder that you mounted. There are a few things that you must be aware of before moving on to the configuration of Syncthing.ġ. To avoid all of this, you can run the container as root, however, that’s generally not recommended. Syncthing is extremely finicking when it comes to permissions. NOTE: If you’re using Synology’s Firewall, create an allow rule for TCP ports 830, as well as UDP ports 2207. After the container starts up, you can access it using the URL below (substituting your Synology NAS IP address). If everything looks good, select Done to create the container!ġ0. The Mount Path name can be the name of the folder. Add each shared folder that you’d like to access through Syncthing. Set the mount path as /config for this folder (screenshot in the next step).Ĩ. At the next screen, select Add Folder, then select the Create Folder button under Docker and create a folder named Syncthing. When you’re done adding them, select Save, then select Next.ħ. As mentioned before, this user and group must have access to the shared folders that you’d like Syncthing to be able to access. Create two environment variables named PUID and GUID which should be populated with the values found in step two above. Change the Container Name to Syncthing, enable auto-restart, then select Advanced Settings.Ħ. Change the network to use the same network as Docker host, then select next.ĥ. After the image finishes downloading, double-click it to create a new container.Ĥ. Open Docker, select Registry, then search for Syncthing and download the latest linuxserver/syncthing image.Ĥ. We will look at this in detail in a later step. NOTE: You must ensure that the user/group has read/write permission to the folder(s) on your Synology NAS that you want to use with Syncthing. You will have to run the command below and substitute the correct username. When we create our Syncthing container, we need to specify the PUID and GUID in order for the container (Syncthing) to access the data on our Synology NAS. You can learn how to SSH into your Synology NAS here.Ģ. Ensure you can SSH into your Synology NAS. How to Set Up Syncthing on a Synology NASīefore we actually look at how to set up Syncthing on a Synology NAS, we need to get our UID and GID for the Docker container.ġ. Conclusion: How to Set Up Syncthing on a Synology NAS.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |