users in jails are not shared with uses on the host. the only think they share back and forth is the UID/gid ownership of files.I just installed this from the plugins on Freenas 9.2.1.8 and I cant figure out the permissions stuff. My jails "storage" is on a dataset with nobody:nogroup yet syncthing is unable to create a directory.
Is there a step by step guide to setting this up on Freenas? I dont see any new users in my freenas webgui either.
I always reference this when I need to link users/groups:I just installed this from the plugins on Freenas 9.2.1.8 and I cant figure out the permissions stuff. My jails "storage" is on a dataset with nobody:nogroup yet syncthing is unable to create a directory.
Is there a step by step guide to setting this up on Freenas? I dont see any new users in my freenas webgui either.
you changed the permissions of the jail dataset, or a storage dataset being mounted into the jail?Thanks, I made the permissions of my syncthing_1 jail's dataset to nobody:nogroud. That seems to work fine for my home network.
Syncthing doesn't know anything about datasets vs directories. I suggest you just create a directory for it with ownership by the syncthing user (UID=983) or whith high enough permission levels for the syncthing user to write in there.Ok, my bad. I have deleted and re-installed and now I have "permission denied". Is this because the "storage" for my jail is a folder within a dataset and not an entire dataset?
Basically I have a dataset called "media" which I share on my network and its permissions are nobody:nogroup. with Sick Beard, CouchPotato, and Transmission it works with their respective folders within that dataset (/media/torrents /media/movies etc). but syncthing is unable to create its "default" folder because of permissions denied.
It's a possibility, but I'm not psychic, lol. 'ls -l' gives you this info.Thanks, since my Media dataset should be rw by anyone I thought it wouldnt matter the user for syncthing. If i tell syncthing to use the "root" of my media dataset it works great. then using syncthing "folder path" I am able to do as I wish.
Basically.
/mnt/tank1/media is mounted to /media/data in syncthing.
that works.
But
/mnt/tank1/media/syncthing mounted to /media/data doesnt work, permissions denied when trying to create a share folder like /media/data/default
Could it be because possibly the /syncthing forlder inside my /media dataset has different permissions somehow?
I try to update the plugin regularly and usually get the latest update in the repo within a few days. when there's a new update available you can just click update in Plugins>Installed tab.First off, to anyone who's worked on this, huge thanks for doing this! I got my first FreeNAS syncthing instance running yesterday and couldn't stop smiling!
I used the pbi for 0.10.7 and was dismayed to see it is already out of date, plus does not have the cli -upgrade function enabled. Then I calmed back down; saw that it is only one point-release behind, the upgrade would make zero difference, and there are people who really care about this plugin :)
I am, however, left wondering; what should we do once an important syncthing upgrade is inevitably released? I'm new to FreeNAS, so please use little words, ha. I also didn't make the jail manually as mentioned earlier in the thread if that affects the situation.
Thanks! —Narwhal
p.s. for all interested, the name-change to pulse was called off amicably; just a realization that the ind.ie integration was not so great a fit after all.
First off, to anyone who's worked on this, huge thanks for doing this! I got my first FreeNAS syncthing instance running yesterday and couldn't stop smiling!
I used the pbi for 0.10.7 and was dismayed to see it is already out of date, plus does not have the cli -upgrade function enabled. Then I calmed back down; saw that it is only one point-release behind, the upgrade would make zero difference, and there are people who really care about this plugin :)
I am, however, left wondering; what should we do once an important syncthing upgrade is inevitably released? I'm new to FreeNAS, so please use little words, ha. I also didn't make the jail manually as mentioned earlier in the thread if that affects the situation.
Thanks! —Narwhal
I would run 'service syncthing onestart' from the jails command line. logs would be in /var/db/syncthing, it doesn't use syslog like a good programAfter installing and adding a new repository, syncthing plugin won't start up anymore. It just loads for a bit and then stays OFF. jail/var/log/messages has nothing.
How to debug the reason it's not starting up?
it definitely needs to be available inside the jail. jails have no access/ idea about the filesystem of your host system. that's what the jail mount options are for.No logs in there:
[root@freenas] /mnt/magneto/jails/syncthing_1/var/db/syncthing# ls
./ ../ cert.pem config.xml csrftokens.txt key.pem
If I remove the repository from .xml it starts working. So for some reason, the repo config prevents it from running.
Does the repo path need to be inside the jail? I use /mnt/magneto/myaccount/repofolder for the path which is outside the jail.
update to 0.10.10? probably in a weekish. might take me a few days to get everything setup for FN9.3Yeah, I figured out I had to add it as storage first and then reference it locally. Thanks :)
Any time estimation for plugin update? I had to get 0.8x binaries for my machine because the latest release has incompatible IDs (length mismatch).