Syncthing simply isn't working on Synology NAS - can anyone give a hand? :)

AudriusButkevicius asked me to post here to get some wide input on what is probably misconfiguration due to a variety of factors. Any help is gratefully received, I am so close! (and not massively 'nix literate).

History:

Started this about 4 months ago. Version 11 syncthing update broke on both NAS boxes and didn’t start again until the package updates for 12. Since then it has picked back up, but all in all this has taken months to get to a workable state, and it’s not there yet.

For 6 folders totalling about 1.8TB it has taken literally months to index. Finally both are saying up to date… but they are not. one is missing nearly 100GB from one folder, the other is missing more than that from a different folder. They both show up to date. Last seen shows ?.

Rescan does nothing. I have tried pausing to resume but they will not pause. CPU is hovering around 30% av. with a rescan interval of 3600 (the NAS boxes aren’t beefy). I have restarted both boxes more than once. Local states and Global states don’t match on the devices. For a short while one wouldn’t start because I accidentally removed a < from the config.xml in vi but I replaced it and it starts fine now. I HAVE seen them syncing before, but since something went funny in the DS215J config file, nothing.

I still suspect something is broken… Here are the configs:

DS213J:

DS213j> vi config.xml
#<configuration version="12">
#    <folder id="Apps" path="/volume1/Apps/" ro="false" rescanIntervalS="3600" ig
#        <device id="BUQ2RB4-K7EAGWF-KGQGZRL-GO6AXC7-JEI5CAX-WODQ7J2-72LUDOP-2TAD
#        <device id="VX5ODWB-RUI6VJZ-73NG3CQ-ZEVVSVR-E72MH4Y-4IR5CHH-UIYBCIN-CF4U
#        <minDiskFreePct>1</minDiskFreePct>
#        <versioning></versioning>
#        <copiers>0</copiers>
#        <pullers>0</pullers>
#        <hashers>0</hashers>
#        <order>random</order>
#        <ignoreDelete>false</ignoreDelete>
#        <scanProgressIntervalS>0</scanProgressIntervalS>
#        <pullerSleepS>0</pullerSleepS>
#        <pullerPauseS>0</pullerPauseS>
#        <maxConflicts>-1</maxConflicts>
#        <disableSparseFiles>false</disableSparseFiles>
#    </folder>
#    <folder id="Backups" path="/volume1/Backups/" ro="false" rescanIntervalS="36
#        <device id="BUQ2RB4-K7EAGWF-KGQGZRL-GO6AXC7-JEI5CAX-WODQ7J2-72LUDOP-2TAD
#        <device id="VX5ODWB-RUI6VJZ-73NG3CQ-ZEVVSVR-E72MH4Y-4IR5CHH-UIYBCIN-CF4U
#        <minDiskFreePct>1</minDiskFreePct>
#        <versioning></versioning>
#        <copiers>0</copiers>
# - config.xml 1/144 0%
# <configuration version="12">
#    <folder id="Apps" path="/volume1/Apps/" ro="false" rescanIntervalS="3600" 
# ignorePerms="false" autoNormalize="true">
#        <device id="BUQ2RB4-K7EAGWF-KGQGZRL-GO6AXC7-JEI5CAX-WODQ7J2-72LUDOP-2TAD3QY"></device>
#        <device id="VX5ODWB-RUI6VJZ-73NG3CQ-ZEVVSVR-E72MH4Y-4IR5CHH-UIYBCIN-CF4URAK"></device>
#        <minDiskFreePct>1</minDiskFreePct>
#        <versioning></versioning>
#        <copiers>0</copiers>
#        <pullers>0</pullers>
#        <hashers>0</hashers>
#        <order>random</order>
#        <ignoreDelete>false</ignoreDelete>
#        <scanProgressIntervalS>0</scanProgressIntervalS>
#        <pullerSleepS>0</pullerSleepS>
#        <pullerPauseS>0</pullerPauseS>
#        <maxConflicts>-1</maxConflicts>
#        <disableSparseFiles>false</disableSparseFiles>
#    </folder>
#    <folder id="Backups" path="/volume1/Backups/" ro="false" rescanIntervalS="3600" 
# ignorePerms="false" autoNormalize="true">
#        <device id="BUQ2RB4-K7EAGWF-KGQGZRL-GO6AXC7-JEI5CAX-WODQ7J2-72LUDOP-2TAD3QY"></device>
#        <device id="VX5ODWB-RUI6VJZ-73NG3CQ-ZEVVSVR-E72MH4Y-4IR5CHH-UIYBCIN-CF4URAK"></device>
#        <minDiskFreePct>1</minDiskFreePct>
#        <versioning></versioning>
#        <copiers>0</copiers>
#        <pullers>0</pullers>
#        <hashers>0</hashers>
#        <order>random</order>
#        <ignoreDelete>false</ignoreDelete>
#        <scanProgressIntervalS>0</scanProgressIntervalS>
#        <pullerSleepS>0</pullerSleepS>
#        <pullerPauseS>0</pullerPauseS>
#        <maxConflicts>-1</maxConflicts>
#        <disableSparseFiles>false</disableSparseFiles>
#    </folder>
#    <folder id="Games" path="/volume1/Games/" ro="false" rescanIntervalS="3600" 
# ignorePerms="false" autoNormalize="true">
#        <device id="BUQ2RB4-K7EAGWF-KGQGZRL-GO6AXC7-JEI5CAX-WODQ7J2-72LUDOP-2TAD3QY"></device>
#        <device id="VX5ODWB-RUI6VJZ-73NG3CQ-ZEVVSVR-E72MH4Y-4IR5CHH-UIYBCIN-CF4URAK"></device>
#        <minDiskFreePct>1</minDiskFreePct>
#        <versioning></versioning>
#        <copiers>0</copiers>
#        <pullers>0</pullers>
#        <hashers>0</hashers>
#        <order>random</order>
#        <ignoreDelete>false</ignoreDelete>
#        <scanProgressIntervalS>0</scanProgressIntervalS>
#        <pullerSleepS>0</pullerSleepS>
#        <pullerPauseS>0</pullerPauseS>
#        <maxConflicts>-1</maxConflicts>
#        <disableSparseFiles>false</disableSparseFiles>
#    </folder>
#    <folder id="music" path="/volume1/music/" ro="false" rescanIntervalS="3600" 
# ignorePerms="false" autoNormalize="true">
#        <device id="BUQ2RB4-K7EAGWF-KGQGZRL-GO6AXC7-JEI5CAX-WODQ7J2-72LUDOP-2TAD3QY"></device>
#        <device id="VX5ODWB-RUI6VJZ-73NG3CQ-ZEVVSVR-E72MH4Y-4IR5CHH-UIYBCIN-CF4URAK"></device>
#        <minDiskFreePct>1</minDiskFreePct>
#        <versioning></versioning>
#        <copiers>0</copiers>
#        <pullers>0</pullers>
#        <hashers>0</hashers>
#        <order>random</order>
#        <ignoreDelete>false</ignoreDelete>
#        <scanProgressIntervalS>0</scanProgressIntervalS>
#        <pullerSleepS>0</pullerSleepS>
#- config.xml 1/144 0%




DS215J:
DS215j> vi config.xml
#<configuration version="12">
#<folder id="Apps" path="/volume1/Apps/" ro="false" rescanIntervalS="3600" ignore
#        <device id="BUQ2RB4-K7EAGWF-KGQGZRL-GO6AXC7-JEI5CAX-WODQ7J2-72LUDOP-2TAD
#        <device id="VX5ODWB-RUI6VJZ-73NG3CQ-ZEVVSVR-E72MH4Y-4IR5CHH-UIYBCIN-CF4U
#        <minDiskFreePct>1</minDiskFreePct>
#        <versioning></versioning>
#        <copiers>0</copiers>
#        <pullers>0</pullers>
#        <hashers>0</hashers>
#        <order>random</order>
#        <ignoreDelete>false</ignoreDelete>
#        <scanProgressIntervalS>0</scanProgressIntervalS>
#        <pullerSleepS>0</pullerSleepS>
#        <pullerPauseS>0</pullerPauseS>
#        <maxConflicts>-1</maxConflicts>
#        <disableSparseFiles>false</disableSparseFiles>
#    </folder>
#    <folder id="Backups" path="/volume1/Backups/" ro="false" rescanIntervalS="36
#        <device id="BUQ2RB4-K7EAGWF-KGQGZRL-GO6AXC7-JEI5CAX-WODQ7J2-72LUDOP-2TAD
#        <device id="VX5ODWB-RUI6VJZ-73NG3CQ-ZEVVSVR-E72MH4Y-4IR5CHH-UIYBCIN-CF4U
#        <minDiskFreePct>1</minDiskFreePct>
#        <versioning></versioning>
#        <copiers>0</copiers>
#- config.xml 1/144 0%
#<configuration version="12">
#<folder id="Apps" path="/volume1/Apps/" ro="false" rescanIntervalS="3600" ignorePerms="false" #autoNormalize="true">
#       <device id="BUQ2RB4-K7EAGWF-KGQGZRL-GO6AXC7-JEI5CAX-WODQ7J2-72LUDOP-2TAD3QY"></device>
#        <device id="VX5ODWB-RUI6VJZ-73NG3CQ-ZEVVSVR-E72MH4Y-4IR5CHH-UIYBCIN-CF4URAK"></device>
#        <minDiskFreePct>1</minDiskFreePct>
#        <versioning></versioning>
#        <copiers>0</copiers>
#        <pullers>0</pullers>
#        <hashers>0</hashers>
#        <order>random</order>
#        <ignoreDelete>false</ignoreDelete>
#        <scanProgressIntervalS>0</scanProgressIntervalS>
#        <pullerSleepS>0</pullerSleepS>
#        <pullerPauseS>0</pullerPauseS>
#        <maxConflicts>-1</maxConflicts>
#        <disableSparseFiles>false</disableSparseFiles>
#    </folder>
#    <folder id="Backups" path="/volume1/Backups/" ro="false" rescanIntervalS="3600" 
# ignorePerms="false" autoNormalize="true">
#        <device id="BUQ2RB4-K7EAGWF-KGQGZRL-GO6AXC7-JEI5CAX-WODQ7J2-72LUDOP-2TAD3QY"></device>
#        <device id="VX5ODWB-RUI6VJZ-73NG3CQ-ZEVVSVR-E72MH4Y-4IR5CHH-UIYBCIN-CF4URAK"></device>
#        <minDiskFreePct>1</minDiskFreePct>
#        <versioning></versioning>
#        <copiers>0</copiers>
#        <pullers>0</pullers>
#        <hashers>0</hashers>
#        <order>random</order>
#        <ignoreDelete>false</ignoreDelete>
#        <scanProgressIntervalS>0</scanProgressIntervalS>
#        <pullerSleepS>0</pullerSleepS>
#        <pullerPauseS>0</pullerPauseS>
#        <maxConflicts>-1</maxConflicts>
#        <disableSparseFiles>false</disableSparseFiles>
#    </folder>
#    <folder id="Games" path="/volume1/Games/" ro="false" rescanIntervalS="3600" 
# ignorePerms="false" autoNormalize="true">
#        <device id="BUQ2RB4-K7EAGWF-KGQGZRL-GO6AXC7-JEI5CAX-WODQ7J2-72LUDOP-2TAD3QY"></device>
#        <device id="VX5ODWB-RUI6VJZ-73NG3CQ-ZEVVSVR-E72MH4Y-4IR5CHH-UIYBCIN-CF4URAK"></device>
#        <minDiskFreePct>1</minDiskFreePct>
#        <versioning></versioning>
#        <copiers>0</copiers>
#        <pullers>0</pullers>
#        <hashers>0</hashers>
#        <order>random</order>
#        <ignoreDelete>false</ignoreDelete>
#        <scanProgressIntervalS>0</scanProgressIntervalS>
#        <pullerSleepS>0</pullerSleepS>
#        <pullerPauseS>0</pullerPauseS>
#        <maxConflicts>-1</maxConflicts>
#        <disableSparseFiles>false</disableSparseFiles>
#    </folder>
#    <folder id="music" path="/volume1/music/" ro="false" rescanIntervalS="3600" 
# ignorePerms="false" autoNormalize="true">
#        <device id="BUQ2RB4-K7EAGWF-KGQGZRL-GO6AXC7-JEI5CAX-WODQ7J2-72LUDOP-2TAD3QY"></device>
#        <device id="VX5ODWB-RUI6VJZ-73NG3CQ-ZEVVSVR-E72MH4Y-4IR5CHH-UIYBCIN-CF4URAK"></device>
#        <minDiskFreePct>1</minDiskFreePct>
#        <versioning></versioning>
#        <copiers>0</copiers>
#        <pullers>0</pullers>
#        <hashers>0</hashers>
#        <order>random</order>
#        <ignoreDelete>false</ignoreDelete>
#        <scanProgressIntervalS>0</scanProgressIntervalS>
#        <pullerSleepS>0</pullerSleepS>
#- config.xml 1/144 0%

Those are partial configs btw - use cat instead of vi.

Thanks, I noticed that, was trying to work out how. Will post the full ones!

A couple of screenshots would probably be helpful here.

Some things are calculated in the background (up to date status of connected devices, among others) which can probably take a long time with a lot of files and slow CPU.

<configuration version="12">
    <folder id="Apps" path="/volume1/Apps/" ro="false" rescanIntervalS="3600" ig                                                                                                                                                           norePerms="false" autoNormalize="true">
        <device id="BUQ2RB4-K7EAGWF-KGQGZRL-GO6AXC7-JEI5CAX-WODQ7J2-72LUDOP-2TAD                                                                                                                                                           3QY"></device>
        <device id="VX5ODWB-RUI6VJZ-73NG3CQ-ZEVVSVR-E72MH4Y-4IR5CHH-UIYBCIN-CF4U                                                                                                                                                           RAK"></device>
        <minDiskFreePct>1</minDiskFreePct>
        <versioning></versioning>
        <copiers>0</copiers>
        <pullers>0</pullers>
        <hashers>0</hashers>
        <order>random</order>
        <ignoreDelete>false</ignoreDelete>
        <scanProgressIntervalS>0</scanProgressIntervalS>
        <pullerSleepS>0</pullerSleepS>
        <pullerPauseS>0</pullerPauseS>
        <maxConflicts>-1</maxConflicts>
        <disableSparseFiles>false</disableSparseFiles>
    </folder>
    <folder id="Backups" path="/volume1/Backups/" ro="false" rescanIntervalS="36                                                                                                                                                           00" ignorePerms="false" autoNormalize="true">
        <device id="BUQ2RB4-K7EAGWF-KGQGZRL-GO6AXC7-JEI5CAX-WODQ7J2-72LUDOP-2TAD                                                                                                                                                           3QY"></device>
        <device id="VX5ODWB-RUI6VJZ-73NG3CQ-ZEVVSVR-E72MH4Y-4IR5CHH-UIYBCIN-CF4U                                                                                                                                                           RAK"></device>
        <minDiskFreePct>1</minDiskFreePct>
        <versioning></versioning>
        <copiers>0</copiers>
        <pullers>0</pullers>
        <hashers>0</hashers>
        <order>random</order>
        <ignoreDelete>false</ignoreDelete>
        <scanProgressIntervalS>0</scanProgressIntervalS>
        <pullerSleepS>0</pullerSleepS>
        <pullerPauseS>0</pullerPauseS>
        <maxConflicts>-1</maxConflicts>
        <disableSparseFiles>false</disableSparseFiles>
    </folder>
    <folder id="Games" path="/volume1/Games/" ro="false" rescanIntervalS="3600"                                                                                                                                                            ignorePerms="false" autoNormalize="true">
        <device id="BUQ2RB4-K7EAGWF-KGQGZRL-GO6AXC7-JEI5CAX-WODQ7J2-72LUDOP-2TAD                                                                                                                                                           3QY"></device>
        <device id="VX5ODWB-RUI6VJZ-73NG3CQ-ZEVVSVR-E72MH4Y-4IR5CHH-UIYBCIN-CF4U                                                                                                                                                           RAK"></device>
        <minDiskFreePct>1</minDiskFreePct>
        <versioning></versioning>
        <copiers>0</copiers>
        <pullers>0</pullers>
        <hashers>0</hashers>
        <order>random</order>
        <ignoreDelete>false</ignoreDelete>
        <scanProgressIntervalS>0</scanProgressIntervalS>
        <pullerSleepS>0</pullerSleepS>
        <pullerPauseS>0</pullerPauseS>
        <maxConflicts>-1</maxConflicts>
        <disableSparseFiles>false</disableSparseFiles>
    </folder>
    <folder id="music" path="/volume1/music/" ro="false" rescanIntervalS="3600"                                                                                                                                                            ignorePerms="false" autoNormalize="true">
        <device id="BUQ2RB4-K7EAGWF-KGQGZRL-GO6AXC7-JEI5CAX-WODQ7J2-72LUDOP-2TAD                                                                                                                                                           3QY"></device>
        <device id="VX5ODWB-RUI6VJZ-73NG3CQ-ZEVVSVR-E72MH4Y-4IR5CHH-UIYBCIN-CF4U                                                                                                                                                           RAK"></device>
        <minDiskFreePct>1</minDiskFreePct>
        <versioning></versioning>
        <copiers>0</copiers>
        <pullers>0</pullers>
        <hashers>0</hashers>
        <order>random</order>
        <ignoreDelete>false</ignoreDelete>
        <scanProgressIntervalS>0</scanProgressIntervalS>
        <pullerSleepS>0</pullerSleepS>
        <pullerPauseS>0</pullerPauseS>
        <maxConflicts>-1</maxConflicts>
        <disableSparseFiles>false</disableSparseFiles>
    </folder>
    <folder id="photo" path="/volume1/photo/" ro="false" rescanIntervalS="3600"                                                                                                                                                            ignorePerms="false" autoNormalize="true">
        <device id="BUQ2RB4-K7EAGWF-KGQGZRL-GO6AXC7-JEI5CAX-WODQ7J2-72LUDOP-2TAD                                                                                                                                                           3QY"></device>
        <device id="VX5ODWB-RUI6VJZ-73NG3CQ-ZEVVSVR-E72MH4Y-4IR5CHH-UIYBCIN-CF4U                                                                                                                                                           RAK"></device>
        <minDiskFreePct>1</minDiskFreePct>
        <versioning></versioning>
        <copiers>0</copiers>
        <pullers>0</pullers>
        <hashers>0</hashers>
        <order>random</order>
        <ignoreDelete>false</ignoreDelete>
        <scanProgressIntervalS>0</scanProgressIntervalS>
        <pullerSleepS>0</pullerSleepS>
        <pullerPauseS>0</pullerPauseS>
        <maxConflicts>-1</maxConflicts>
        <disableSparseFiles>false</disableSparseFiles>
    </folder>
    <folder id="video" path="/volume1/video/" ro="false" rescanIntervalS="3600"                                                                                                                                                            ignorePerms="false" autoNormalize="true">
        <device id="BUQ2RB4-K7EAGWF-KGQGZRL-GO6AXC7-JEI5CAX-WODQ7J2-72LUDOP-2TAD                                                                                                                                                           3QY"></device>
        <device id="VX5ODWB-RUI6VJZ-73NG3CQ-ZEVVSVR-E72MH4Y-4IR5CHH-UIYBCIN-CF4U                                                                                                                                                           RAK"></device>
        <minDiskFreePct>1</minDiskFreePct>
        <versioning></versioning>
        <copiers>0</copiers>
        <pullers>0</pullers>
        <hashers>0</hashers>
        <order>random</order>
        <ignoreDelete>false</ignoreDelete>
        <scanProgressIntervalS>0</scanProgressIntervalS>
        <pullerSleepS>0</pullerSleepS>
        <pullerPauseS>0</pullerPauseS>
        <maxConflicts>-1</maxConflicts>
        <disableSparseFiles>false</disableSparseFiles>
    </folder>
    <device id="BUQ2RB4-K7EAGWF-KGQGZRL-GO6AXC7-JEI5CAX-WODQ7J2-72LUDOP-2TAD3QY"                                                                                                                                                            name="DS215j" compression="metadata" introducer="false">
        <address>dynamic</address>
    </device>
    <device id="VX5ODWB-RUI6VJZ-73NG3CQ-ZEVVSVR-E72MH4Y-4IR5CHH-UIYBCIN-CF4URAK"                                                                                                                                                            name="DS213j" compression="metadata" introducer="false">
        <address>dynamic</address>
    </device>
    <gui enabled="true" tls="false">
        <address>0.0.0.0:7070</address>
        <user>*****</user>
        <password>$2a$10$uUihbm/8WM9LA8SFGFMxreq4hFGc2NjK8Cj2ibumf6SftTzP6eKJO</                                                                                                                                                           password>
        <apikey>vACN-9q8uxnpnAv0SBACc5bGj7E3FPSR</apikey>
        <theme>default</theme>
    </gui>
    <options>
        <listenAddress>tcp://0.0.0.0:22000</listenAddress>
        <globalAnnounceServer>default</globalAnnounceServer>
        <globalAnnounceEnabled>true</globalAnnounceEnabled>
        <localAnnounceEnabled>true</localAnnounceEnabled>
        <localAnnouncePort>21027</localAnnouncePort>
        <localAnnounceMCAddr>[ff12::8384]:21027</localAnnounceMCAddr>
        <relayServer>dynamic+</relayServer>
        <maxSendKbps>0</maxSendKbps>
        <maxRecvKbps>0</maxRecvKbps>
        <reconnectionIntervalS>60</reconnectionIntervalS>
        <relaysEnabled>true</relaysEnabled>
        <relayReconnectIntervalM>10</relayReconnectIntervalM>
        <startBrowser>false</startBrowser>
        <upnpEnabled>true</upnpEnabled>
        <upnpLeaseMinutes>60</upnpLeaseMinutes>
        <upnpRenewalMinutes>30</upnpRenewalMinutes>
        <upnpTimeoutSeconds>10</upnpTimeoutSeconds>
        <urAccepted>2</urAccepted>
        <urUniqueID>8d-7uo9y</urUniqueID>
        <urURL>******</urURL>
        <urPostInsecurely>false</urPostInsecurely>
        <urInitialDelayS>1800</urInitialDelayS>
        <restartOnWakeup>true</restartOnWakeup>
        <autoUpgradeIntervalH>12</autoUpgradeIntervalH>
        <keepTemporariesH>24</keepTemporariesH>
        <cacheIgnoredFiles>true</cacheIgnoredFiles>
        <progressUpdateIntervalS>5</progressUpdateIntervalS>
        <symlinksEnabled>true</symlinksEnabled>
        <limitBandwidthInLan>false</limitBandwidthInLan>
        <minHomeDiskFreePct>1</minHomeDiskFreePct>
        <releasesURL>********</releasesURL>
    </options>
</configuration>


DS215j> cat config.xml
<configuration version="12">
<folder id="Apps" path="/volume1/Apps/" ro="false" rescanIntervalS="3600" ignore                                                                                                                                                           Perms="false" autoNormalize="true">
        <device id="BUQ2RB4-K7EAGWF-KGQGZRL-GO6AXC7-JEI5CAX-WODQ7J2-72LUDOP-2TAD                                                                                                                                                           3QY"></device>
        <device id="VX5ODWB-RUI6VJZ-73NG3CQ-ZEVVSVR-E72MH4Y-4IR5CHH-UIYBCIN-CF4U                                                                                                                                                           RAK"></device>
        <minDiskFreePct>1</minDiskFreePct>
        <versioning></versioning>
        <copiers>0</copiers>
        <pullers>0</pullers>
        <hashers>0</hashers>
        <order>random</order>
        <ignoreDelete>false</ignoreDelete>
        <scanProgressIntervalS>0</scanProgressIntervalS>
        <pullerSleepS>0</pullerSleepS>
        <pullerPauseS>0</pullerPauseS>
        <maxConflicts>-1</maxConflicts>
        <disableSparseFiles>false</disableSparseFiles>
    </folder>
    <folder id="Backups" path="/volume1/Backups/" ro="false" rescanIntervalS="36                                                                                                                                                           00" ignorePerms="false" autoNormalize="true">
        <device id="BUQ2RB4-K7EAGWF-KGQGZRL-GO6AXC7-JEI5CAX-WODQ7J2-72LUDOP-2TAD                                                                                                                                                           3QY"></device>
        <device id="VX5ODWB-RUI6VJZ-73NG3CQ-ZEVVSVR-E72MH4Y-4IR5CHH-UIYBCIN-CF4U                                                                                                                                                           RAK"></device>
        <minDiskFreePct>1</minDiskFreePct>
        <versioning></versioning>
        <copiers>0</copiers>
        <pullers>0</pullers>
        <hashers>0</hashers>
        <order>random</order>
        <ignoreDelete>false</ignoreDelete>
        <scanProgressIntervalS>0</scanProgressIntervalS>
        <pullerSleepS>0</pullerSleepS>
        <pullerPauseS>0</pullerPauseS>
        <maxConflicts>-1</maxConflicts>
        <disableSparseFiles>false</disableSparseFiles>
    </folder>
    <folder id="Games" path="/volume1/Games/" ro="false" rescanIntervalS="3600"                                                                                                                                                            ignorePerms="false" autoNormalize="true">
        <device id="BUQ2RB4-K7EAGWF-KGQGZRL-GO6AXC7-JEI5CAX-WODQ7J2-72LUDOP-2TAD                                                                                                                                                           3QY"></device>
        <device id="VX5ODWB-RUI6VJZ-73NG3CQ-ZEVVSVR-E72MH4Y-4IR5CHH-UIYBCIN-CF4U                                                                                                                                                           RAK"></device>
        <minDiskFreePct>1</minDiskFreePct>
        <versioning></versioning>
        <copiers>0</copiers>
        <pullers>0</pullers>
        <hashers>0</hashers>
        <order>random</order>
        <ignoreDelete>false</ignoreDelete>
        <scanProgressIntervalS>0</scanProgressIntervalS>
        <pullerSleepS>0</pullerSleepS>
        <pullerPauseS>0</pullerPauseS>
        <maxConflicts>-1</maxConflicts>
        <disableSparseFiles>false</disableSparseFiles>
    </folder>
    <folder id="music" path="/volume1/music/" ro="false" rescanIntervalS="3600"                                                                                                                                                            ignorePerms="false" autoNormalize="true">
        <device id="BUQ2RB4-K7EAGWF-KGQGZRL-GO6AXC7-JEI5CAX-WODQ7J2-72LUDOP-2TAD                                                                                                                                                           3QY"></device>
        <device id="VX5ODWB-RUI6VJZ-73NG3CQ-ZEVVSVR-E72MH4Y-4IR5CHH-UIYBCIN-CF4U                                                                                                                                                           RAK"></device>
        <minDiskFreePct>1</minDiskFreePct>
        <versioning></versioning>
        <copiers>0</copiers>
        <pullers>0</pullers>
        <hashers>0</hashers>
        <order>random</order>
        <ignoreDelete>false</ignoreDelete>
        <scanProgressIntervalS>0</scanProgressIntervalS>
        <pullerSleepS>0</pullerSleepS>
        <pullerPauseS>0</pullerPauseS>
        <maxConflicts>-1</maxConflicts>
        <disableSparseFiles>false</disableSparseFiles>
    </folder>
    <folder id="photo" path="/volume1/photo/" ro="false" rescanIntervalS="3600"                                                                                                                                                            ignorePerms="false" autoNormalize="true">
        <device id="BUQ2RB4-K7EAGWF-KGQGZRL-GO6AXC7-JEI5CAX-WODQ7J2-72LUDOP-2TAD                                                                                                                                                           3QY"></device>
        <device id="VX5ODWB-RUI6VJZ-73NG3CQ-ZEVVSVR-E72MH4Y-4IR5CHH-UIYBCIN-CF4U                                                                                                                                                           RAK"></device>
        <minDiskFreePct>1</minDiskFreePct>
        <versioning></versioning>
        <copiers>0</copiers>
        <pullers>0</pullers>
        <hashers>0</hashers>
        <order>random</order>
        <ignoreDelete>false</ignoreDelete>
        <scanProgressIntervalS>0</scanProgressIntervalS>
        <pullerSleepS>0</pullerSleepS>
        <pullerPauseS>0</pullerPauseS>
        <maxConflicts>-1</maxConflicts>
        <disableSparseFiles>false</disableSparseFiles>
    </folder>
    <folder id="video" path="/volume1/video/" ro="false" rescanIntervalS="3600"                                                                                                                                                            ignorePerms="false" autoNormalize="true">
        <device id="BUQ2RB4-K7EAGWF-KGQGZRL-GO6AXC7-JEI5CAX-WODQ7J2-72LUDOP-2TAD                                                                                                                                                           3QY"></device>
        <device id="VX5ODWB-RUI6VJZ-73NG3CQ-ZEVVSVR-E72MH4Y-4IR5CHH-UIYBCIN-CF4U                                                                                                                                                           RAK"></device>
        <minDiskFreePct>1</minDiskFreePct>
        <versioning></versioning>
        <copiers>0</copiers>
        <pullers>0</pullers>
        <hashers>0</hashers>
        <order>random</order>
        <ignoreDelete>false</ignoreDelete>
        <scanProgressIntervalS>0</scanProgressIntervalS>
        <pullerSleepS>0</pullerSleepS>
        <pullerPauseS>0</pullerPauseS>
        <maxConflicts>-1</maxConflicts>
        <disableSparseFiles>false</disableSparseFiles>
    </folder>
    <device id="BUQ2RB4-K7EAGWF-KGQGZRL-GO6AXC7-JEI5CAX-WODQ7J2-72LUDOP-2TAD3QY"                                                                                                                                                            name="DS215j" compression="metadata" introducer="false">
        <address>dynamic</address>
    </device>
    <device id="VX5ODWB-RUI6VJZ-73NG3CQ-ZEVVSVR-E72MH4Y-4IR5CHH-UIYBCIN-CF4URAK"                                                                                                                                                            name="DS213j" compression="metadata" introducer="false">
        <address>dynamic</address>
    </device>
    <gui enabled="true" tls="false">
        <address>0.0.0.0:7070</address>
        <user>****</user>
        <password>****</                                                                                                                                                           password>
        <apikey>***</apikey>
        <theme>default</theme>
    </gui>
    <options>
        <listenAddress>tcp://0.0.0.0:22000</listenAddress>
        <globalAnnounceServer>default</globalAnnounceServer>
        <globalAnnounceEnabled>true</globalAnnounceEnabled>
        <localAnnounceEnabled>true</localAnnounceEnabled>
        <localAnnouncePort>21027</localAnnouncePort>
        <localAnnounceMCAddr>[ff12::8384]:21027</localAnnounceMCAddr>
        <relayServer>dynamic+***</relayServer>
        <maxSendKbps>0</maxSendKbps>
        <maxRecvKbps>0</maxRecvKbps>
        <reconnectionIntervalS>60</reconnectionIntervalS>
        <relaysEnabled>true</relaysEnabled>
        <relayReconnectIntervalM>10</relayReconnectIntervalM>
        <startBrowser>false</startBrowser>
        <upnpEnabled>true</upnpEnabled>
        <upnpLeaseMinutes>0</upnpLeaseMinutes>
        <upnpRenewalMinutes>30</upnpRenewalMinutes>
        <upnpTimeoutSeconds>10</upnpTimeoutSeconds>
        <urAccepted>2</urAccepted>
        <urUniqueID>****</urUniqueID>
        <urURL>****</urURL>
        <urPostInsecurely>false</urPostInsecurely>
        <urInitialDelayS>1800</urInitialDelayS>
        <restartOnWakeup>true</restartOnWakeup>
        <autoUpgradeIntervalH>12</autoUpgradeIntervalH>
        <keepTemporariesH>24</keepTemporariesH>
        <cacheIgnoredFiles>true</cacheIgnoredFiles>
        <progressUpdateIntervalS>5</progressUpdateIntervalS>
        <symlinksEnabled>true</symlinksEnabled>
        <limitBandwidthInLan>false</limitBandwidthInLan>
        <minHomeDiskFreePct>1</minHomeDiskFreePct>
        <releasesURL>****      </releasesURL>
    </options>
</configuration>

Please post your configuration as preformatted text, inside a block of 3 backticks, like this:

```
Your config here
```

This means it formats nicely (I had to edit your original post, and your new post’s been automatically held back by Discourse as it’s unreadable).

Thanks - I was trying to work out why the first worked. I’ll post it now.

I edited it for you.

Thank you calmh. Appreciated. I’ll put up screenshots too - they were on original post.

1 Like

DS213j

DS215j

The configs are also vertically truncated…

You should run syncthing with STTRACE=discovery,connections environment variable set and post the logs.

Also, relay pool URL seems to be broken, which might be the problem if both nodes are behind a NAT, yet the UI shows its fine.

Just to clarify, I had to remove all instances of links from the configs as the forum told me I could only post 1. I have masked therefore username, links, and truncated the discovery. Perhaps I should upload the configs clean as notepad files, as this seems to get in the way of analysis?

Audruis, I’m having no luck here - sorry, I may be missing syntax. I have run:

/volume1/@appstore/syncthing/bin/syncthing STTRACE=discovery,connections environment variable set

Is this correct?

ds215j.txt (10.5 KB) ds213j.txt (10.5 KB)

Run

STTRACE=discovery,connections /volume1/@appstore/syncthing/bin/syncthing

(or Audrius’s suggestion below - both have the same effect)

So in the shell, type:

export STTRACE=discovery,connections

Before you launch syncthing.

Thanks Canton, Andruis. So, I am very unfamiliar with linux in general, especially the flavour on the NAS boxes, and I usually interface in Windows. I’m using putty, and syncthing is run through the package on the boxes. I guess I stop it and then use that syntax to start it again?

Can I also ask where I would expect the logs and what they will look like?

I’ll give it a go and post back. Many thanks for your help, apologies for any slowness my end due to lack of knowledge.

No, thatprobably won’t work. Check with your package maintainer on how to set debug options.

Right, thanks. I’ll do that and repost those logs.