Тёмный

SyncThing Plug-in on TrueNAS 

Подписаться
Просмотров 37 тыс.
% 848

We use the TrueNas plug-in to install SyncThing and set it up to sync a directory with a windows desktop.
go to plugins and install syncthing
once installed shut it down
enter the shell
id syncthing
created the user and use the UID you got from the last step
create the dataset and change the mounts permission to sync
connect a mount point to syncthing
start it back up and hit the manage button
create a username and password for the GUI
connect two devices and share a folder
/mnt/(your folders name)
syncthing.net/downloads/
#loresdiy
My Channel: ru-vid.com

Опубликовано:

 

10 янв 2022

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 139   
@TrueNAS
@TrueNAS 2 года назад
Awesome tutorial that sums up a long process into a short one! We have shared this on our social channels! Great work!
@LoResDIY
@LoResDIY 2 года назад
Awesome, thank you!
@jcnisperuza
@jcnisperuza 7 месяцев назад
Muy merecido, great video. I follow your instructions and already have my files synchronization yet
@Jahus
@Jahus 2 месяца назад
Setting syncthing to ignore permissions on the folders helped a lot, as syncthing was trying to set different permissions for some files.
@mrkgrmn3
@mrkgrmn3 2 года назад
A few years ago I set up my first instance of syncthing and I've been reluctant to set it up on my backup NAS because I remember what a nightmare it was to get it up and running. The online resources at the time were confusing and overly complicated. Thank you for a simple step-by-step tutorial that didn't assume I had a master's degree in networking!
@LoResDIY
@LoResDIY 2 года назад
Awesome, so glad it helped.
@jcnisperuza
@jcnisperuza 3 дня назад
The best video about this topic. Thanks!!
@jintaoguo8605
@jintaoguo8605 2 года назад
看了你的视频,很好的解决了我的问题,感谢。
@LoResDIY
@LoResDIY Год назад
Your Welcome Cheers
@danieladoriadurango9351
@danieladoriadurango9351 7 месяцев назад
Awesome tutorial, and awesome results. Thank You!!!!!🙂
@fuxseb
@fuxseb Год назад
@9:15 there are several errors that leave nasty security holes. First it would be best to create a group with matching gid just in case. Then choose it as a primary group, instead of making a new one with unpredictable gid. Then you don't need password: just select "disable password" and "nologin" as shell. Nobody can break your password if there is none in the first place! Don't need to fiddle with home directory permissions, as there will be no home directory. Uncheck all that "Microsoft Account" and "Samba Authentication". And most importantly, what do you allow sudo for? I'm not an expert, but that smells of possibly escaping jail and executing arbitrary code as root on your TrueNAS host!
@velozephyr-ru
@velozephyr-ru 2 месяца назад
Very helpful, thanks a lot!
@CzrBnt1
@CzrBnt1 Год назад
Love your channel you are my go to Nas expert
@LoResDIY
@LoResDIY Год назад
Glad you enjoy it! Cheers!
@Andrei1744
@Andrei1744 Год назад
Ay thanks bro, much appreciated!
@LoResDIY
@LoResDIY Год назад
Cheers
@CurtSheller
@CurtSheller 2 года назад
Finally, a great tutorial that I finally understood that explains the setting up a mount pt and a user to get rid of the permission's error I kept getting, Now the hard part to duplicate it and remember how to do it over and over, Thanks!!!
@LoResDIY
@LoResDIY 2 года назад
So glad it helped you out. Cheers
@Jayknightfr
@Jayknightfr 2 года назад
@@LoResDIY You helped me too! So glad. I was so confused about the whole process. FYI i didn't need any ACL permissions, in fact with the latest version of TrueNAS it's a bit different (No "Inherent" flag and therefore it confused me)
@nicholasfranks2616
@nicholasfranks2616 Год назад
I was going to abandon syncthing on truenas until i found this video , mount points and the user ID were my lackings. Thank you !
@LoResDIY
@LoResDIY Год назад
Glad I could help!
@lewisthemusician
@lewisthemusician Год назад
Was looking for a video to explain how to sync a windows machine and this was perfect. Thanks a lot!
@LoResDIY
@LoResDIY Год назад
Cheers!
@xkinformatica
@xkinformatica Год назад
Man i need to thank you, i´ve managed to do it thanks to you sir... Following!
@LoResDIY
@LoResDIY Год назад
Glad I could help Cheers
@xkinformatica
@xkinformatica Год назад
@@LoResDIY How can i share the folder from inside Syncthing Jail as a SMB Share? I've messed around so much with it that i've broke the permitions for syncthing, just rewatched this video, got it up and running again but i cannot figura out how to share the folder on my network, any help? Thanks in advance.
@cyberoffice1960
@cyberoffice1960 Год назад
Thank you, very helpful
@LoResDIY
@LoResDIY Год назад
Cheers
@rickm206
@rickm206 Год назад
Great tutorial, but will you make another for TrueNAS Scale as there is no "jail" and setting it up appears to be a bit different. Have it installed but can't seem to get the permissions set correctly to pick a data share.
@pittsford2
@pittsford2 Год назад
Thank you so much for taking the time to share this. It saved me a lot of time trying to get Syncthing up and running for the first time.
@LoResDIY
@LoResDIY Год назад
Great to hear!
@monty00701
@monty00701 Год назад
I really appreciate you making this video. You have made a fairly complex task easy to setup - Thanks!!
@LoResDIY
@LoResDIY Год назад
Cheers
@willsoteros9923
@willsoteros9923 2 года назад
Thank you for sharing this video! It helped me get Syncthing up and running in no time!
@LoResDIY
@LoResDIY 2 года назад
Glad it helped!
@dhulker
@dhulker 3 месяца назад
By far the best tutorial on Synthing/TrueNAS I have seen. I finally got everything working after watching this video.
@Jahus
@Jahus 2 месяца назад
Summary: The dataset's owner *has* to be sync (983), owner group has to be 983 and you need to give full permission to 983 on the folder and children. Anything else I've tried, like different owner, but still has permissions, didn't work at all and ended up in errors.
@phizlip
@phizlip Год назад
I cant find the actual directory of the /mnt/directoryname on what I did for the synchting folder location on my nas, it just gets added to the dataset of the main pool I chose and I cannot view a list of the filenames or files of the files that are being synced to the pool dataset
@lykourgakhs
@lykourgakhs 11 месяцев назад
thank you thank you THANK YOU!
@LoResDIY
@LoResDIY 10 месяцев назад
YW Cheers
@vulcan4d
@vulcan4d 2 года назад
I heard lots of chatter about this but after watching a few videos it seems tedious to setup. There is too much going back and forth. I think I'll stick to the good old Seafile cloud sync setup.
@LoResDIY
@LoResDIY Год назад
There is a bit of back and forth, but once it's done it's done. Cheers!
@jonatanlambert
@jonatanlambert 11 месяцев назад
very good video you are amazing, I really liked it and I have done eveything you explained and my syncthing works, tthanks you
@LoResDIY
@LoResDIY 10 месяцев назад
Cheers
@HustleBigNetwork
@HustleBigNetwork 2 года назад
Thank you very much. You have great videos. I built my first stable truenas server with your help. Plex. Qbittorrent, netdate etc... I'm so happy you have clear and precise directions.
@LoResDIY
@LoResDIY 2 года назад
Glad to help
@abhishekaggarwal6473
@abhishekaggarwal6473 2 года назад
awesome video ever thanks mate!
@LoResDIY
@LoResDIY 2 года назад
Cheers
@jeffherdzina6716
@jeffherdzina6716 2 года назад
I was wondering about being used across the internet. But having the nginx now makes sense. Thx !
@LoResDIY
@LoResDIY 2 года назад
No Problem
@masterguven
@masterguven 2 года назад
Nice tutorial! Thanks for this clear explanation!
@LoResDIY
@LoResDIY 2 года назад
Glad it was helpful!
@Venomous28
@Venomous28 2 года назад
Thank you!
@LoResDIY
@LoResDIY 2 года назад
You're welcome!
@bryansmith775
@bryansmith775 2 года назад
explained very well. thanks !
@LoResDIY
@LoResDIY 2 года назад
Cheers
@xkinformatica
@xkinformatica Год назад
I had everything running great until i added another device to the backup list, now im greated with the error: Failed to create folder root directory mkdir / Error on folder "Câmera" (fotos-de-sm-a336b_nr4s): folder path missing I´ve tried editing the permitions even with all open...zero sucess ;(
@reubens8900
@reubens8900 Год назад
Thanks for this, it was doing my head in, works like a charm. cheers 🍻
@LoResDIY
@LoResDIY Год назад
Cheers
@C0mputerguy
@C0mputerguy 2 года назад
Great job on this. The explanations really helped me out. First day of using TrueNAS and you have helped me setup a great file share program! if you get the error you could also have a typo... like I did.
@LoResDIY
@LoResDIY 2 года назад
Awesome Glad it helped out. Cheers!
@joelolivier6144
@joelolivier6144 Год назад
Thanks a lot!
@LoResDIY
@LoResDIY Год назад
Cheers
@Farang_Lifestyles
@Farang_Lifestyles 2 года назад
Thank you so much for a great tutorial,,,, step by step was easy to follow and now I am sync'n my Android phone photos to my Proxmox/TrueNAS/SyncThing plugin.... ..... now to expand on more folders and more devices.... thanks again...edit: earned my sub
@LoResDIY
@LoResDIY 2 года назад
Cheers
@BatZzn
@BatZzn Год назад
you dont need to create an user "sync" in truenas for synching. its fine when you go into the dataset permissions and authorize an user through the UID
@LoResDIY
@LoResDIY Год назад
Thanks for the info
@peny1981
@peny1981 2 года назад
Hi. How to fix that I have on receive only (TrueNas) folder locally changed files when I change/edit files in send only folder on Windows computer? I need to manualy click Revert Local Changes to fix this.
@danielfisher1515
@danielfisher1515 2 года назад
"Fart around, or whatever." My new favorite phrase. Thanks for the walkthrough!
@LoResDIY
@LoResDIY 2 года назад
😜👍No Problem. Thanks for watching.
@johnduffill
@johnduffill Год назад
Great Tutorial, i have been having so many issues to try and get this to work properly and you solved it all for me. Thank you for your hard work and effort. You have a new sub,
@LoResDIY
@LoResDIY Год назад
Awesome glad it helped, and thanks for the sub. Cheer
@johnduffill
@johnduffill Год назад
@@LoResDIY Hi since then i have just relised that all the files in the SMB share are read only. I thought that i had set the permissions right on the dataset but obviously not. Can you shed some light on it if possible?
@LoResDIY
@LoResDIY Год назад
Add the syncthing username to the group that was created when you created your username. Then you will need to go to storage and change the permission. Hopefully that made sense
@johnduffill
@johnduffill Год назад
@@LoResDIY Ok thank you i will try that. Will it inherit the permission or will i have to add it separately, as i have already given my user and the group permissions? Thank you for your help, i will let you know when i have it worked out. 😆👍
@johnduffill
@johnduffill Год назад
@@LoResDIY Nope didnt seem to work, so i will have to go through all the settings to check what i have ticked or not. These ACL's are rather complicated.🙂
@chaihow-to6300
@chaihow-to6300 2 года назад
Thank You.. Just the video i needed!
@LoResDIY
@LoResDIY 2 года назад
Glad it helped!
@davidoxnam
@davidoxnam 9 месяцев назад
Hi all went extremely well with this until I tried to map the syncthing drive in windows and it tells me I do not have permission ? Any help appreciated
@sameersingal2287
@sameersingal2287 Месяц назад
How do I view my share. I want to view the files I sync over to my nas?
@calmobro
@calmobro 2 года назад
Great tutorial. Really appreciate the help.
@LoResDIY
@LoResDIY 2 года назад
No problem! Thank you
@petrekelly
@petrekelly 5 месяцев назад
After setting it up. Constantly: Permission Denied, despite the permissions being correctly setup... What am I doing wrong?
@juampo9490
@juampo9490 Год назад
Hi LoRes, awesome video! have a quest for you... where is the folder on my TrueNAS where kept my Sync files? Because I only see my local (hdd) folder, not my NAS Sync folder and the Sync was complete for my E:/ . Thanks!
@bibibiskouaz5867
@bibibiskouaz5867 Год назад
Many thanks. This was very useful. I was already familiar with Syncthing between laptops. But with a NAS, it is another story. I have gone through many tutorials on TrueNas+SyncThing and this one is the clearest and simplest. Now I am quite scared by the complexity of Truenas and all the parameters. I wonder how you discovered what to do when configuring SyncThing... Anyway...Again, thanks a lot and best regards from France.
@techdrums4204
@techdrums4204 2 года назад
This was helpful in many ways. Have you moved to TrueNAS Scale? I tried installing Syncthing on Scale and it just doesn't work. Looking through the forums also didn't help as it seems no one's really paying attention it. You have a knack for explaining things in a simple way and it would be great if you can make a similar video for installing Syncthing on TrueNAS Scale. Thanks!
@LoResDIY
@LoResDIY 2 года назад
I planning on doing some videos on scale in the near future.
@techdrums4204
@techdrums4204 2 года назад
@@LoResDIY Thank you! I look forward to it.
@jorgeandretec
@jorgeandretec Год назад
Muito bom o tutorial, resolveu um problema que eu tinha na minha rede, parabéns.
@LoResDIY
@LoResDIY Год назад
Cheers
@Venomous28
@Venomous28 2 года назад
I followed your guide and managed to get it set up and running, and after adding some ignore patterns it's mostly running okay but now I've got this issue where my NAS loses it's network connection (not just SyncThing - The Web GUI, its not in the list of connected devices on the router, plex is down, the whole shebang). I then have to reboot my NAS to bring it back online. Anybody come across this?
@Venomous28
@Venomous28 2 года назад
Update: i’ve now paused SyncThings from both sides and that has resolved the connection issues for now so definitely seems to be related
@sleekspeed22
@sleekspeed22 Год назад
I noticed the Group ID in the shell command was also 983... Do we need to create a group with ID 983? because the one created when creating the user has ID 1002 on my system. the User does have the 983 ID just not the Group that was also created. Seems to be working except I can't access the shared SyncThing folder through the network. I mirrored the permission I have on another data set (with the addition of the SyncThing user)... but still get the message I do not have enough permissions to access the folder.
@galenjohney3392
@galenjohney3392 Год назад
How about an update for TrueNAS Scale and SyncThing?
@LoResDIY
@LoResDIY Год назад
That will be a future video. Hopefully sooner than later.
@Ubuntuaddicted
@Ubuntuaddicted Год назад
I keep getting "stopped" and it says it failed to create the directory. I have watched and rewatched the steps. ensured I changed the user id to 983 after checking to make sure that's what it was and no matter what it's not working. i used all the same ACL settings for the pool etc. any help would be appreciated. this is my first day with truenas but I got help from a friend setting it all up.
@Ubuntuaddicted
@Ubuntuaddicted Год назад
in fact, now that I check out the SyncMe folder via windows network because I added it as an SMB share I can't access it there either despite the pool permission were to allow everything so something is incorrect and not sure where as I've rechecked the pool permissions 3 times.
@90MichaelTaylor
@90MichaelTaylor Год назад
@@Ubuntuaddicted Im running into the same issue.
@Ubuntuaddicted
@Ubuntuaddicted Год назад
@@90MichaelTaylor I ended up figuring it out. Went through all thr steps again. Just ensure the sync user has read/write on the parent directory
@90MichaelTaylor
@90MichaelTaylor Год назад
@@Ubuntuaddicted thanks, I figured out my issue also. I assumed it was making new folders in the /mnt directory but it was trying to make them in the root directory.
@jefferysparks1053
@jefferysparks1053 2 года назад
This is great, thanks!
@LoResDIY
@LoResDIY 2 года назад
Thank you
@George-bb9yi
@George-bb9yi 11 месяцев назад
Please do a soup to nuts on ClamAV antivirus on TrueNAS.
@GAment_11
@GAment_11 Год назад
Thank you for this tutorial, very helpful. I have a question on the final connection between Windows and TrueNAS. In your tutorial, you had a folder with video files in it in a Windows VM---that Windows folder was synced with TrueNAS---that is, files were synced from the Windows device ---> TrueNAS. My question is---can the other direction be had (TrueNAS folder with files in it ---> Windows device) at the start? That is, I already have a bunch of files on TrueNAS, and I want to share a folder on my TrueNAS with a connected Windows device (so when SyncThing is setup on a new Windows device....the data from TrueNAS is dumped onto the new device....and if I add a second device, the data from TrueNAS is dumped onto that new device as well). I assume this is possible and looking to try---just curious if you have attempted this. Again, thank you for your complete tutorial. Really helps.
@LoResDIY
@LoResDIY Год назад
Yep you can do that.
@biskero
@biskero Год назад
very cool ! I got already shared folders with 2 computer via TrueNAS samba share, how do I add syncthing?
@Shadowlan
@Shadowlan 2 года назад
I don't think I missed anything but when I type in "id syncthing" I get no user name found. When I just type "id" it comes up with uid for root group ids an wheel.
@LoResDIY
@LoResDIY 2 года назад
Try to reinstall syncthing sometime it doesn't work correctly the first time around.
@CostasKoulermou
@CostasKoulermou 2 года назад
Hey there Lo-Res DIY Greate video tutorial and very helpful I have 1 question I have connected my Domain Directory for my users to be able to access a Dataset i have created. How can i enable them o access the SyncThing Dataset so they can see the backed up files and folders? I tried to add in the ACL the Domain users group with no success Thank you
@LoResDIY
@LoResDIY 2 года назад
I added my user to the apps group, and everything worked out.
@crisman72
@crisman72 2 года назад
Hi, thanks for the video but I would like to see syncthing on Truenas Scale, can you made a video for that?
@LoResDIY
@LoResDIY Год назад
Yes I will, but I have a couple other videos that I want to do first. Might be a bit.
@rkbest9783
@rkbest9783 2 года назад
Great video ! I also have nextcloud running on same treunas where i set syncthing like you. but i am unable to backup nextcloud data via syncthing to remote PC with syncthing running for backup. Please make a tut to achive this.
@93DavidJ
@93DavidJ Год назад
Why did you go SyncTrayzor portable instead of the installer?
@aj-yk9vt
@aj-yk9vt 2 года назад
Once the files are backed up on TrueNAS, how do I gain access to them? I know how to do it normally, but not with SyncThing
@LoResDIY
@LoResDIY 2 года назад
You can add a user to the syncthing group and access it by mapping a drive, or putting syncthing on your desk or laptop and share the drive to it. If you choose the later you will be taking room from your local storage.
@aj-yk9vt
@aj-yk9vt 2 года назад
@@LoResDIY Thank you
@ierosgr
@ierosgr 2 года назад
There at 6.17 soneonw can see the frustrating bizzard way zfs shows how much storage each program/process uses. All tank uses 3.61tb and iocage even though it seems to use from scratch 2.83tb you have to substract 3.61-2.83 to find the real usage (probably I am also wrong and needs to calculate other factors as well like compression. For me is where zfs sucks biggggg time. As about syncthing i tried to use it back when I wanted to sync =transfer my AD user shared folders when I found out that the sync finished without transfering the ACLS and the attributes in general from the files. It was useless for me and used robocopy instead. I know slightly different usecase but I dont think it was to hard for syncthing to add extra options if someone wants to keep except his files their attributes as well Nice video by the way
@jacekdroid
@jacekdroid 2 года назад
Awesome tutorial, I was struggling last few days setting it up lol. I was wondering how would I go about showing files on TrueNAS or SyncThing on my phone but not actually downloading all of the files on to my phone? Say I have a document on TrueNAS or SyncThing folder and I just want to pull it up on my phone and view it or only download that one document.
@LoResDIY
@LoResDIY 2 года назад
You will need to either A) sign in (on you phone) as the user that has permission for the dataset. or B) Create a group that has your phone's username and SyncThing's username and give it permission over the dataset. Also I believe that SyncThing hides all files; so you will need to set your phone to show hidden files. I have never set a share up on my phone; so I'm not sure what you will need to do there, but I know this works on a desktop. Good luck and cheers
@abhishekaggarwal6473
@abhishekaggarwal6473 2 года назад
did u do it? i am struggling with it
@xkinformatica
@xkinformatica Год назад
Done this with success, is it possible to access the folder from the saved photos and documents with a smb share?
@LoResDIY
@LoResDIY Год назад
Yes add the correct permission for the dataset and you should be good to go.
@808singlefin
@808singlefin Год назад
First off, mahalo for all these detailed tutorials! One question, how do you get the 'browse' button to appear next to the Folder Path? SyncTrayzor doesn't show me that. I tried opening up in Firefox and Chrome as well and still no browse button. Any advice would be appreciated!
@AV-th6kn
@AV-th6kn Год назад
leave the default folder as it is, and create a new one. there you can change the path.
@SkullGamer69
@SkullGamer69 Год назад
dose this work even if you are not on the same network
@stanmoore9171
@stanmoore9171 Год назад
I'm using Syncthing onTrueNAS Scale and getting errors in syncing comparable to what you showed at 22:08. I see your reference to setting the user's UUID to 983 at 8:46. However, in Scale, there is no user named "synthing". The user I created has a UUID of 3000. I also added the "apps" user to the ACLs, which has a UUID of 568. I'm trying to sync with Windows computers. But I assume that the problems is the ACLs set for the storage datasets in TrueNAS Scale. Can you comment on the proper user credentials for using Syncthing on TrueNAS Scale?
@DodgeWrecker641
@DodgeWrecker641 2 года назад
How is this different than just running "backup" ?
@LoResDIY
@LoResDIY 2 года назад
You can designate a back up program to make a copy of a file on a set schedule and keep multiples of that file for an extended period of time. This allows you to go back multiple changes/days of a given file. With SyncThing once it is changed it is changed; no going back no redoes. It is changed and that is that.
@jorgeandretec
@jorgeandretec Год назад
Uma sugestão de tutorial, Plugin Duplicati com o Truenas.
@LoResDIY
@LoResDIY Год назад
Boa ideia. Saúde!
@brucet3270
@brucet3270 2 года назад
I was wondering if you were running Truenas scale bare metal or vm? Which way do you think is best?
@LoResDIY
@LoResDIY Год назад
Bare metal. I prefer to do it that way, but I know of people running it in a vm with no problems (until they want to do some fancy advanced stuff).
@sleekspeed22
@sleekspeed22 Год назад
@Lo-ResDIY, I know it takes alot of effort to get content out like this. Especially in tech where things changes so much. I'm having trouble with permissions and I think I can no longer change jail permissions as the syncthing plugin create the jail data set. I wasn't able to change the owner and group. Here is what I'm trying to do... I have a central set of folder on my TrueNAS server with source files (layer images etc) for my website... want to share that out to my laptops for us to use if we are on the road and need to make changes and those update to the source fields synch back to server for my home server when I get back home or online. I've been trying to add mount point to the syncthing jail data sets to the folders of source files. kinda thought the management portal would see the folders I added to mount... but it doesn't. Then I try to add the folder in the Syncthing Management portal and I get the error you mention at the end of this video... seems I have permission issues or the system is trying to keep me from accidentally overwriting my source files folder. I feel I'm missing some understanding here and am stuck. Do I need to give permission to the entire dataset that the web source files sit in to the Syncthing user or group? If yes, I wonder if I should create a new data set to move these files to as I don't think I want syncthing to have access to all of it. Honestly I don't quite understand how jails work with the source data sets and am I giving too much access to syncthing.
@wardog2118
@wardog2118 2 года назад
5:00 if you don't name your Syncthing jail anything including sync, it will be much faster and won't stop at 20%. This is a bug, still not fixed -.-
@LoResDIY
@LoResDIY 2 года назад
Thanks for sharing.
@reuseful2839
@reuseful2839 Год назад
My former installation broke. When I try to install by clicking save 4:26, I get "Error: HTTPConnectionPool(host='download.freebsd.org', port=80): Max retries exceeded with url: /ftp/releases/amd64 (Caused by NewConnectionError('< urllib3.connection.HTTPConnection object at 0x8282151f0 >: Failed to establish a new connection: [Errno 8] Name does not resolve'))"
@darkosplay8382
@darkosplay8382 Год назад
Thanks a lot !!
@LoResDIY
@LoResDIY Год назад
You are welcome! Cheers