mskenderian
Contributor
- Joined
- May 24, 2013
- Messages
- 100
@Joshua Parker Ruehlig any word on v0.10.19?
I can get it built, we're just working on a way to better update the PBIs in the FreeNAS repo. Expect latest syncthing sometime this week.@Joshua Parker Ruehlig any word on v0.10.19?
what your trying seems to be correct.I just installed syncthing, and the plugin doesn't want to start -- when I click the service status toggle it has a progress bar, but fails to turn on after a minute or so.
The jail is running, and I added storage to it. I logged into the shell for the jail and edited the config to use the shared storage mount for the default folder. Syncthing is running in the jail, and it creates a .stfolder file in the mounted storage. I dont see any log files in /var/db/syncthing and nothing relevant seems to be in /var/log. Running 'service syncthing restart' doesnt show any problems.
I'm new to FreeNAS, is there somewhere else I might be able to find a relevant logfile?
what your trying seems to be correct.
can you try running 'service syncthing status' to check if the process is running.
also can you ping the ST jail?
I'm guessing in /var/db/syncthingI've been getting this error pretty much non-stop, my files will sync for awhile, then poof I will get flooded with errors:
"23:52:04: Folder "Personal" isn't making progress - check logs for possible root cause. Pausing puller for 1m0s."
Where are these logs stored?
root@syncthing_1:/var/db/syncthing # ls cert.pem config.xml.v7 https-cert.pem index config.xml csrftokens.txt https-key.pem key.pem
034242.ldb 110395.ldb 111657.ldb 115722.ldb 115751.ldb 034243.ldb 110396.ldb 111658.ldb 115725.ldb 115752.ldb 038855.ldb 110397.ldb 111659.ldb 115726.ldb 115753.ldb 102343.ldb 110398.ldb 111660.ldb 115727.ldb 115756.ldb 102344.ldb 110399.ldb 111661.ldb 115730.ldb 115758.ldb 102345.ldb 110400.ldb 115285.ldb 115731.ldb 115759.ldb 102346.ldb 110401.ldb 115286.ldb 115732.ldb 115760.ldb 102347.ldb 110402.ldb 115708.ldb 115736.ldb 115761.ldb 102348.ldb 111011.ldb 115711.ldb 115737.ldb CURRENT 102349.ldb 111012.ldb 115712.ldb 115738.ldb LOCK 102350.ldb 111652.ldb 115715.ldb 115739.ldb LOG 102351.ldb 111653.ldb 115716.ldb 115742.ldb LOG.old 102352.ldb 111654.ldb 115717.ldb 115747.log MANIFEST-115672 109766.ldb 111655.ldb 115720.ldb 115749.ldb 109857.ldb 111656.ldb 115721.ldb 115750.ldb
Maybe the "LOG" file/folder?Code:root@syncthing_1:/var/db/syncthing # ls cert.pem config.xml.v7 https-cert.pem index config.xml csrftokens.txt https-key.pem key.pem
In the index folder I have these files:
Code:034242.ldb 110395.ldb 111657.ldb 115722.ldb 115751.ldb 034243.ldb 110396.ldb 111658.ldb 115725.ldb 115752.ldb 038855.ldb 110397.ldb 111659.ldb 115726.ldb 115753.ldb 102343.ldb 110398.ldb 111660.ldb 115727.ldb 115756.ldb 102344.ldb 110399.ldb 111661.ldb 115730.ldb 115758.ldb 102345.ldb 110400.ldb 115285.ldb 115731.ldb 115759.ldb 102346.ldb 110401.ldb 115286.ldb 115732.ldb 115760.ldb 102347.ldb 110402.ldb 115708.ldb 115736.ldb 115761.ldb 102348.ldb 111011.ldb 115711.ldb 115737.ldb CURRENT 102349.ldb 111012.ldb 115712.ldb 115738.ldb LOCK 102350.ldb 111652.ldb 115715.ldb 115739.ldb LOG 102351.ldb 111653.ldb 115716.ldb 115742.ldb LOG.old 102352.ldb 111654.ldb 115717.ldb 115747.log MANIFEST-115672 109766.ldb 111655.ldb 115720.ldb 115749.ldb 109857.ldb 111656.ldb 115721.ldb 115750.ldb
I'd check the syncthing forums. I don't know much about this program.The LOG/LOG.old/CURRENT/LOCK/MANIFEST entries are not folders, and I'm not exactly sure how to open them.
hmm, I think what they mean is syncthing doesn't actually log to a file. It just logs to the console that started it using STDout. We are starting syncthing using freebsd's daemon(8) utility and telling it to discard STDout & STDerr.I've seen it mentioned several times that the logs are in the STDout folder, but I'm not finding it. Hence why I thought I would post here :p
I've also bumped a forum post about a feature request to put a link or the locations of the log files somewhere so that people using the GUI can access them :S
I don't think it's in the current docs because it not the blessed way to d things.Can anyone share a link on how to install syncthing into an existing jail?
I'm trying to put all my plugins into one jail.
You could change how syncthing is started and make it log to a file by editing /usr/local/etc/rc.d/syncthing
command_args="-f -p ${pidfile} ${procname} -home=${syncthing_dir} -no-browser ${syncthing_args}"
command_args="-p ${pidfile} ${procname} -home=${syncthing_dir} -no-browser ${syncthing_args} > /tmp/syncthing.log 2>&1"
In the /usr/local/etc/rc.d/syncthing script I changed
Code:command_args="-f -p ${pidfile} ${procname} -home=${syncthing_dir} -no-browser ${syncthing_args}"
to
Code:command_args="-p ${pidfile} ${procname} -home=${syncthing_dir} -no-browser ${syncthing_args} > /tmp/syncthing.log 2>&1"
Now I can check the log output in /tmp/syncthing.log if syncthing has problems.
I did this, started/stopped syncthing, it creates the log, but then .... the log remains empty despite the gui telling me "check logs for possible root cause".
Ideas?