Syncthing unstable problems due to old version

  • I have an RPI4 with OMV4 with no outstanding updates (as to my knowledge).


    I installed Syncthing plugin and tried to configure it to pair replicating folders with Windows10 PCs with SyncTrayzor (v1.1.24).


    Pairing is established but it is very unstable on the OMV side, with the service going up and down.
    Tracing Syncthing on the OMV side showed what looked an internal Syncthing problem.
    Problem and trace was reported to Syncthing.


    Answer :
    "syncthing v0.14.18-dfsg1 ... debian@debian 2017-04-29
    You need to upgrade to something recent, that’s all


    OMV 4 is apparently based on Debian 9 (“stretch”) which includes Syncthing 0.14.18 which is two and a half years old and has the bug you ran into. Sorry."
    https://forum.syncthing.net/t/…-and-restarts-cycle/13910


    On the OMV side it is reported version :
    ii openmediavault-syncthing 3.11.1 all Syncthing plugin for OpenMediaVault"


    Which I find no correspondence to Syncthings internal versioning.
    Nevertheless, i checked and this is the latest version available in OMV Extras for OMV4 Stable.


    So, what is your advice for overcoming this situation?


    Thank you.
    Ctx

  • OMV 4 is apparently based on Debian 9 (“stretch”) which includes Syncthing 0.14.18 which is two and a half years old and has the bug you ran into. Sorry."

    OMV 4.x is based on Debian 9 but omv-extras adds the official syncthing repo. If you have a package that old, you either don't have the syncthing repo enabled and/or you have something wrong with your sources. Post the output of the apt clean button in omv-extras.


    And you can tell the devs on the syncthing forum that 3.11.1 is the plugin version (openmediavault-syncthing package). Its version has more to do with the version of OMV that it works on than the version of syncthing. Since the plugin package has a dependency on syncthing, it installs the latest version of syncthing from the repo.

    omv 5.5.13 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.4.2
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

    Edited once, last by ryecoaaron ().

  • Many thanks for your time and the clarification.


    I installed Syncthing from the OMV extras and I see no updates waiting on "update management", and was (mistakenly) sure I had the latest available package ....


    As for the output of omv-aptclean I include it ai attachment.


    Thanks again for your support.
    Ctx
    omv-aptclean.txt

  • I installed Syncthing from the OMV extras and I see no updates waiting on "update management", and was (mistakenly) sure I had the latest available package ....

    The repo is enabled and everything looks ok. What is the output of: apt-cache policy syncthing

    omv 5.5.13 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.4.2
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • apt-cache policy syncthing
    syncthing:
    Installed: 0.14.18+dfsg1-2+b1
    Candidate: 0.14.18+dfsg1-2+b1
    Version table:
    1.3.0 500
    500 http://apt.syncthing.net syncthing/release armhf Packages
    1.2.2 500
    500 http://apt.syncthing.net syncthing/release armhf Packages
    0.14.37+ds1-1~bpo9+1 100
    100 http://httpredir.debian.org/debian stretch-backports/main armhf Packages
    *** 0.14.18+dfsg1-2+b1 900
    900 http://httpredir.debian.org/debian stretch/main armhf Packages
    100 /var/lib/dpkg/status

  • 900 httpredir.debian.org/debian stretch/main armhf Packages

    The debian repo on your system (not mine) is pinning the Debian repo higher than the syncthing. Normally they are both 500 and then you would get the highest version.



    Not sure what changed the pinning but you either need to remove the pinning or manually update syncthing with sudo apt-get install syncthing=1.3.0

    omv 5.5.13 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.4.2
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • To be sure ...
    Any specific steps required ? (stopping service, removing package, cleaning ...)


    Or just install/upgrade over current version ?

    You should be able to just run the command I gave you to upgrade your current version. This is what would happen if you installed an update from the Updates tab.

    omv 5.5.13 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.4.2
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • It worked as you said !


    I have now the latest version of Syncthing SW 1.3.0 within the same version as before of the Openmediavault-syncthing plugin package.


    And Syncthing is now working as expected (bug is over).


    Many thanks for your support.


    Cheers
    CTx

  • i'm having a very similar issue , OMV 4 with syncthing stuck on a very old version (1.1.4) :




    Not sure how to proceed from here ?

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!