airbillion Posted October 18, 2016 Share Posted October 18, 2016 Would this container benefit if was based on your Xenial base rather than the Alpine base?? I only ask because it seems as though the Syncthing packages in Alpine do not get updated frequently...Syncthing is oficially up to 14.9 and the Alpine package is still at 14.5... Thaks for your hard work! Quote Link to comment
smashingtool Posted November 1, 2016 Share Posted November 1, 2016 We're now over 2 months behind on this one. I know being on the bleeding edge isn't a requirement, but some of the improvements would be very welcome: 14.7: Improvements in this release include faster (i.e., less CPU intensive) hashing on some Intel and ARM64 CPU:s, a more refined dark theme, CORS headers in the API, and an updated set of default discovery servers. 14.8: UPnP handling is corrected in the case where more than one router is detected. That second one in particular has been killing me. Any chance of an update? Or releasing a second container that goes back to the old style of auto-updating? Anyway, thanks guys, ya'll are great. Quote Link to comment
saarg Posted November 1, 2016 Share Posted November 1, 2016 We're now over 2 months behind on this one. I know being on the bleeding edge isn't a requirement, but some of the improvements would be very welcome: 14.7: Improvements in this release include faster (i.e., less CPU intensive) hashing on some Intel and ARM64 CPU:s, a more refined dark theme, CORS headers in the API, and an updated set of default discovery servers. 14.8: UPnP handling is corrected in the case where more than one router is detected. That second one in particular has been killing me. Any chance of an update? Or releasing a second container that goes back to the old style of auto-updating? Anyway, thanks guys, ya'll are great. We are dependent on the alpine package and that one is not updated yet. Auto-update is not coming back as far as I know. Quote Link to comment
sparklyballs Posted November 2, 2016 Share Posted November 2, 2016 switched to building from source now using the latest release tag from syncthing github, pull the new update just released. this should let us track updates now and keep the benefits of alpine's smaller image sizes. Quote Link to comment
smashingtool Posted November 2, 2016 Share Posted November 2, 2016 switched to building from source now using the latest release tag from syncthing github, pull the new update just released. this should let us track updates now and keep the benefits of alpine's smaller image sizes. Thank you! You guys are awesome!! Quote Link to comment
Forusim Posted November 13, 2016 Share Posted November 13, 2016 Hi, I have this docker working, but a couple of questions. I am only getting 1/2 listeners working, when I highlight it I see that the error is "x509: failed to load system roots and no roots provided". A google tells me this error in a docker container can be related to missing ca-certificates (http://blog.cloud66.com/x509-error-when-using-https-inside-a-docker-container/) and chance of a fix for this? Also how often does this docker get an update? or is it possible to in a update to the app in the docker, it is currently 14.3 but my other syncthing is up to 14.6. Thanks, Wob I have the same issue, but could not find a solution on the forums. Is this docker related and can´t be fixed? Quote Link to comment
CHBMB Posted November 13, 2016 Share Posted November 13, 2016 That was two months ago and several different versions. Can you post logs? Sent from my C6903 using Tapatalk Quote Link to comment
Forusim Posted November 20, 2016 Share Posted November 20, 2016 That was two months ago and several different versions. Can you post logs? Sent from my C6903 using Tapatalk Sorry for the late response. I have forwarded the port 22000/tpc in my router. My other Computer have SyncTrazor installed and no problem with listeners, even without port forwarding. Here the log from the latest (today) version: [s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] 10-adduser: executing... ------------------------------------- _ _ _ | |___| (_) ___ | / __| | |/ _ \ | \__ \ | | (_) | |_|___/ |_|\___/ |_| Brought to you by linuxserver.io We gratefully accept donations at: https://www.linuxserver.io/index.php/donations/ ------------------------------------- GID/UID ------------------------------------- User uid: 99 User gid: 100 ------------------------------------- [cont-init.d] 10-adduser: exited 0. [cont-init.d] done. [services.d] starting services [services.d] done. [N3NR5] 21:05:45 INFO: syncthing v0.14.11 "Dysprosium Dragonfly" (go1.7.3 linux-amd64) root@1d811a9194c4 2016-11-18 23:56:17 UTC [N3NR5] 21:05:45 INFO: My ID: N3NR5IH-32TD7WK-S35GX56-IBEUJCV-GCDTTNG-X2GH3CW-BRAQHR3-2UUW5QD [N3NR5] 21:05:46 INFO: Single thread hash performance is 81 MB/s using minio/sha256-simd (59 MB/s using crypto/sha256). [N3NR5] 21:05:46 INFO: Ready to synchronize eds5j-za7vw (readwrite) [N3NR5] 21:05:46 INFO: Ready to synchronize u1cie-txtwz (readwrite) [N3NR5] 21:05:47 INFO: Ready to synchronize efjk3-qmhgk (readwrite) [N3NR5] 21:05:47 INFO: TCP listener (0.0.0.0:22000) starting [N3NR5] 21:05:47 INFO: Using discovery server https://discovery-v4-2.syncthing.net/v2/?id=DVU36WY-H3LVZHW-E6LLFRE-Y1FN5E2-HILWRYP-OC2M47J-Z4PE62Y-ADIBDQC [N3NR5] 21:05:47 INFO: Using discovery server https://discovery-v4-3.syncthing.net/v2/?id=VK6HNJ3-VVMM66S-HAVWSFR-IXEHL2H-U4AQ4MW-UCPQBWX-J2L2UBK-NVZRDQZ [N3NR5] 21:05:47 INFO: Using discovery server https://discovery-v4-4.syncthing.net/v2/?id=LYXKCHX-VI3NYZR-ALCJBHF-WMZYSPK-QGEQ1A3-MPFYMSO-U56GTUK-NA2MIAW [N3NR5] 21:05:47 INFO: Completed initial scan (rw) of folder u1cie-txtwz [N3NR5] 21:05:47 INFO: Using discovery server https://discovery-v6-2.syncthing.net/v2/?id=DVU36WY-H3LVZHW-E6LLFRE-Y1FN5E2-HILWRYP-OC2M47J-Z4PE62Y-ADIBDQC [N3NR5] 21:05:47 INFO: Using discovery server https://discovery-v6-3.syncthing.net/v2/?id=VK6HNJ3-VVMM66S-HAVWSFR-IXEHL2H-U4AQ4MW-UCPQBWX-J2L2UBK-NVZRDQZ [N3NR5] 21:05:47 INFO: Using discovery server https://discovery-v6-4.syncthing.net/v2/?id=LYXKCHX-VI3NYZR-ALCJBHF-WMZYSPK-QGEQ1A3-MPFYMSO-U56GTUK-NA2MIAW [N3NR5] 21:05:47 INFO: Completed initial scan (rw) of folder eds5j-za7vw [N3NR5] 21:05:47 INFO: Device F6ZVAAX-5EC3UBL-FGWKRAI-4Q66B4K-E27LFXG-KEIEDSF-FN5DSOL-COVHPAL is "Computer1" at [dynamic] [N3NR5] 21:05:47 INFO: Device N3NR5IH-32TD7WK-S35GX56-IBEUJCV-GCDTTNG-X2GH3CW-BRAQHR3-2UUW5QD is "Tower" at [dynamic] [N3NR5] 21:05:47 INFO: Starting usage reporting [N3NR5] 21:05:47 INFO: GUI and API listening on 0.0.0.0:8384 [N3NR5] 21:05:47 INFO: Access the GUI via the following URL: http://127.0.0.1:8384/ 2016/11/20 21:05:47 Supervisor connections.Service: connections.Service: Failed service 'dynamic+https://relays.syncthing.net/endpoint' (1.000000 failures of 5.000000), restarting: true, error: "{dynamic+https://relays.syncthing.net/endpoint dynamic+https://relays.syncthing.net/endpoint} returned unexpectedly", stacktrace: [unknown stack trace] 2016/11/20 21:05:47 Supervisor connections.Service: connections.Service: Failed service 'dynamic+https://relays.syncthing.net/endpoint' (1.997534 failures of 5.000000), restarting: true, error: "{dynamic+https://relays.syncthing.net/endpoint dynamic+https://relays.syncthing.net/endpoint} returned unexpectedly", stacktrace: [unknown stack trace] 2016/11/20 21:05:47 Supervisor connections.Service: connections.Service: Failed service 'dynamic+https://relays.syncthing.net/endpoint' (2.992563 failures of 5.000000), restarting: true, error: "{dynamic+https://relays.syncthing.net/endpoint dynamic+https://relays.syncthing.net/endpoint} returned unexpectedly", stacktrace: [unknown stack trace] 2016/11/20 21:05:47 Supervisor connections.Service: connections.Service: Failed service 'dynamic+https://relays.syncthing.net/endpoint' (3.984105 failures of 5.000000), restarting: true, error: "{dynamic+https://relays.syncthing.net/endpoint dynamic+https://relays.syncthing.net/endpoint} returned unexpectedly", stacktrace: [unknown stack trace] 2016/11/20 21:05:47 Supervisor connections.Service: connections.Service: Failed service 'dynamic+https://relays.syncthing.net/endpoint' (4.974418 failures of 5.000000), restarting: true, error: "{dynamic+https://relays.syncthing.net/endpoint dynamic+https://relays.syncthing.net/endpoint} returned unexpectedly", stacktrace: [unknown stack trace] 2016/11/20 21:05:47 Supervisor connections.Service: Entering the backoff state. 2016/11/20 21:05:47 Supervisor connections.Service: connections.Service: Failed service 'dynamic+https://relays.syncthing.net/endpoint' (5.961885 failures of 5.000000), restarting: false, error: "{dynamic+https://relays.syncthing.net/endpoint dynamic+https://relays.syncthing.net/endpoint} returned unexpectedly", stacktrace: [unknown stack trace] [N3NR5] 21:05:47 INFO: Completed initial scan (rw) of folder efjk3-qmhgk [N3NR5] 21:05:50 INFO: Established secure connection to F6ZVAAX-5EC3UBL-FGWKRAI-4Q66B4K-E27LFXG-KEIEDSF-FN5DSOL-COVHPAL at 172.17.0.2:53692-131.201.90.76:22067 (Relay (Client)) [N3NR5] 21:05:50 INFO: Device F6ZVAAX-5EC3UBL-FGWKRAI-4Q66B4K-E27LFXG-KEIEDSF-FN5DSOL-COVHPAL client is "syncthing v0.14.11" named "Computer1" [N3NR5] 21:05:53 INFO: Connected to myself (N3NR5IH-22TD7WK-S35GX56-IBIUJCV-GCDTTNG-X2GHSCW-BRAQHR3-2UUW5QD) - should not happen [N3NR5] 21:05:53 INFO: Connected to myself (N3NR5IH-22TD7WK-S35GX56-IBIUJCV-GCDTTNG-X2GHSCW-BRAQHR3-2UUW5QD) - should not happen [N3NR5] 21:05:57 INFO: Connected to myself (N3NR5IH-22TD7WK-S35GX56-IBIUJCV-GCDTTNG-X2GHSCW-BRAQHR3-2UUW5QD) - should not happen [N3NR5] 21:05:57 INFO: Connected to myself (N3NR5IH-22TD7WK-S35GX56-IBIUJCV-GCDTTNG-X2GHSCW-BRAQHR3-2UUW5QD) - should not happen [N3NR5] 21:05:58 INFO: Detected 0 NAT devices The log is spammed with following mesages: 2016/11/20 21:20:46 Supervisor connections.Service: Exiting backoff state. 2016/11/20 21:20:46 Supervisor connections.Service: connections.Service: Failed service 'dynamic+https://relays.syncthing.net/endpoint' (1.000000 failures of 5.000000), restarting: true, error: "{dynamic+https://relays.syncthing.net/endpoint dynamic+https://relays.syncthing.net/endpoint} returned unexpectedly", stacktrace: [unknown stack trace] Quote Link to comment
StanC Posted December 27, 2016 Share Posted December 27, 2016 Is there a way to change the log output to a file? Quote Link to comment
bigtater Posted January 18, 2017 Share Posted January 18, 2017 I'm having an issue. I'm trying to use syncthing to backup my media folder on my phone(android) and I'm just wanting to do this when it's connected to my local network. I had it up and running then after turning off global discovery I lose connection. I setup my desktop with snyncthing real quick to see if it may be a droid issue and it appeared to do the same thing (i will verify this later today). I'm new to unraid so its very possible I missed something easy. Does anyone have any suggestions at what to look at? Thanks! Quote Link to comment
darkside40 Posted January 30, 2017 Share Posted January 30, 2017 Maybe somebody has the same problem. Since some days i cant sync my folder because Syncthing is complaining: "home disk has insufficient free space". But this cannot be. The folder resides on my cachedrive with 600GB of free space. Quote Link to comment
gaikokujinkyofusho Posted March 1, 2017 Share Posted March 1, 2017 I installed syncthing and it worked like a charm... until I started to tinker with it. I would really like the versions to be put on another share instead of mixed in with the existing dir tree. I went to the https://docs.syncthing.net/users/versioning.html page tried to follow the instructions (for linux) word for word modifying the version path (to the Share I want) in the sh script and in the command "box" (from syncthing webgui -> folders -> edit button on folder I made -> advanced settings -> file versioning -> external file versioning -> Command) I put the path, in my case /root/bin/onlylatest.sh The problem is, under folders its saying "Out of sync" and showing (in my case) 7 failed items, when I click on that it shows the items and each one shows an error "balloon" "fork/exec /root/bin/onlylatest.sh: permission denied" I was thinking maybe it was execute pemissions but I dbl checked and its -rwxr-xr-x 1 root root 376 Mar 1 02:51 onlylatest.sh* So I figure its executable, I thought maybe ownership might be an issue since in the syncthing page the example showed the person using the "Users/jb/bin" (I would have thought it would be /home but maybe other distros do it other ways). Ownership is just a bit over my head, I know its chown but down know the different users on the system, i just used root (horrible opsec I know). Thoughts? Quote Link to comment
saarg Posted March 1, 2017 Share Posted March 1, 2017 3 hours ago, gaikokujinkyofusho said: I installed syncthing and it worked like a charm... until I started to tinker with it. I would really like the versions to be put on another share instead of mixed in with the existing dir tree. I went to the https://docs.syncthing.net/users/versioning.html page tried to follow the instructions (for linux) word for word modifying the version path (to the Share I want) in the sh script and in the command "box" (from syncthing webgui -> folders -> edit button on folder I made -> advanced settings -> file versioning -> external file versioning -> Command) I put the path, in my case /root/bin/onlylatest.sh The problem is, under folders its saying "Out of sync" and showing (in my case) 7 failed items, when I click on that it shows the items and each one shows an error "balloon" "fork/exec /root/bin/onlylatest.sh: permission denied" I was thinking maybe it was execute pemissions but I dbl checked and its -rwxr-xr-x 1 root root 376 Mar 1 02:51 onlylatest.sh* So I figure its executable, I thought maybe ownership might be an issue since in the syncthing page the example showed the person using the "Users/jb/bin" (I would have thought it would be /home but maybe other distros do it other ways). Ownership is just a bit over my head, I know its chown but down know the different users on the system, i just used root (horrible opsec I know). Thoughts? Syncthing is run as the nobody user and therefore doesn't have permission to run the script. Move the script to the /config folder (inside the container)/on unraid that will be your syncthing appdata folder. Then chown it like this. chown nobody:users /path/to/your/script Quote Link to comment
Guest dranani Posted April 1, 2017 Share Posted April 1, 2017 I have syncthing set up with my work pc and my server. I have all my documents backed up to my server in case of failure or if I need a file while at home. I have encountered an issue recently where my files on the server are in read only mode when opened. I don't know if this is a syncthing issue or unraid user privileged issue because Windows 10 has always been a pain in the ass for me when it comes to connecting to my server in explorer. in unraid under shares it shows that I have read/write access. Anyone know what is going on? If you need more info i will gladly get it to you. I've also just noticed that it is saying that some or all files might not be protecting when it comes to said share and it has an option in the share's settings to "clone destinations". What's that about? I don't remember seeing that before. Quote Link to comment
local.bin Posted April 5, 2017 Share Posted April 5, 2017 I've tried fully removing and installing from scratch and I'm am still on v0.14.25, Linux (64 bit) "Dysprosium Dragonfly", while github is showing v0.14.26 as being available? https://github.com/syncthing/syncthing/releases/ Not urgent, just wondered if others had gotten the update already? Quote Link to comment
saarg Posted April 5, 2017 Share Posted April 5, 2017 7 minutes ago, local.bin said: I've tried fully removing and installing from scratch and I'm am still on v0.14.25, Linux (64 bit) "Dysprosium Dragonfly", while github is showing v0.14.26 as being available? https://github.com/syncthing/syncthing/releases/ Not urgent, just wondered if others had gotten the update already? As usual with our containers, image refreshes are done on Friday night and will have whatever new version you just must have. Quote Link to comment
local.bin Posted April 5, 2017 Share Posted April 5, 2017 On 02/11/2016 at 5:19 PM, sparklyballs said: switched to building from source now using the latest release tag from syncthing github, pull the new update just released. this should let us track updates now and keep the benefits of alpine's smaller image sizes. 1 hour ago, saarg said: As usual with our containers, image refreshes are done on Friday night Didn't know that, as I thought it was building from github latest release tags. 1 hour ago, saarg said: and will have whatever new version you just must have. 1 hour ago, local.bin said: Not urgent, just wondered if others had gotten the update already? Quote Link to comment
gaikokujinkyofusho Posted April 5, 2017 Share Posted April 5, 2017 This feels like a basic question but I haven't managed to answer it myself after reading. If I want to use syncthing on different shares does that mean I have to add a container for each share? I tried setting up one container with Host Path 1: as / and Host Path 2: /mnt/user/ (and within that the Container Path: as /) That didn't seem to work? Any details I am missing? I would love to have one container and then list all the shares I want to sync as folders via the syncthing webUI Quote Link to comment
scytherbladez Posted April 6, 2017 Share Posted April 6, 2017 (edited) On 06/04/2017 at 7:16 AM, gaikokujinkyofusho said: This feels like a basic question but I haven't managed to answer it myself after reading. If I want to use syncthing on different shares does that mean I have to add a container for each share? I tried setting up one container with Host Path 1: as / and Host Path 2: /mnt/user/ (and within that the Container Path: as /) That didn't seem to work? Any details I am missing? I would love to have one container and then list all the shares I want to sync as folders via the syncthing webUI You're close, in Syncthing you use the volume mapping name (Container path) when starting the "Folder Path" within Syncthing. For example if your "Host Path 1" container path is /sync (the default of Syncthing) and you've set it to /mnt/user/ then... In Syncthing when adding a folder, you'd start "Folder path" with /sync and it'll display what is available at /mnt/user/ Edited April 6, 2017 by scytherbladez Quote Link to comment
gaikokujinkyofusho Posted April 20, 2017 Share Posted April 20, 2017 (edited) Thanks for the reply, I just back from a trip and have time to try this out. Another question though. How can I change the "File Versionings Directory" location? That is, I would like syncthing to keep track of everything in: /sync/Music But have all older versions of files put in an identical (recreated) dir tree under /sync/Versions/ST Is that possible? having the older versions in the same tree as the newer versions was not ideal for my work flow so if I could have the older versions put in a different location that would be perfect! I was reading the "External File Versioning" on the syncthing site, I think that is what I need, but there are quite a few things I am not getting: I couldn't figure where to put the script it gave? I tried putting the script in /mnt/user/appdata/syncthing# but nothing seems to happen? I am wholly unconfident about editing the script and, for this scenario would I have to run the script every time I wanted the versions of a file put in this alternate location? Sorry but the paths part of dockers confuses me to no end, and now I am thinking I know even less about scripts than I originally thought Edited April 20, 2017 by gaikokujinkyofusho learned more Quote Link to comment
CHBMB Posted April 20, 2017 Share Posted April 20, 2017 This is how I do it. (Wife's name blurred out) As for the script I've never looked at this side of things, will try over the next week or so. Quote Link to comment
gaikokujinkyofusho Posted April 24, 2017 Share Posted April 24, 2017 Thanks for the example. I don't suppose your setup allows you to write the versions to an alternate location? (It doesn't seem like it from the paths you listed but... I am not sure about much lately when it comes to setting up syncthing). I am totally open to *not* using the script, I just got the impression that it was the way one had to go to specify an alternate location for the versions to be written, I'd be happy(er) if I didn't have to bother with the script and could just specify the alternate paths via the gui? Quote Link to comment
CHBMB Posted April 24, 2017 Share Posted April 24, 2017 12 minutes ago, gaikokujinkyofusho said: Thanks for the example. I don't suppose your setup allows you to write the versions to an alternate location? (It doesn't seem like it from the paths you listed but... I am not sure about much lately when it comes to setting up syncthing). I am totally open to *not* using the script, I just got the impression that it was the way one had to go to specify an alternate location for the versions to be written, I'd be happy(er) if I didn't have to bother with the script and could just specify the alternate paths via the gui? Can you post the link to the script stuff mate? Quote Link to comment
gaikokujinkyofusho Posted April 25, 2017 Share Posted April 25, 2017 Of course, sorry about that. Its buried in the syncthing docs here https://docs.syncthing.net/users/versioning.html#external-file-versioning Quote Link to comment
gaikokujinkyofusho Posted May 20, 2017 Share Posted May 20, 2017 Not to pry, but was anyone able to figure out how to get syncthing to write versions to an alternate location? 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.