Syncthing unstable problems due to old version

    • OMV 4.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • 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."
      forum.syncthing.net/t/syncthin…-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
    • CTx wrote:

      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.0.14 usul | 64 bit | 5.0 proxmox kernel | omvextrasorg 5.1.4
      omv-extras.org plugins source code and issue tracker - github

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

      The post was edited 1 time, last by ryecoaaron ().

    • CTx wrote:

      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.0.14 usul | 64 bit | 5.0 proxmox kernel | omvextrasorg 5.1.4
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      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 apt.syncthing.net syncthing/release armhf Packages
      1.2.2 500
      500 apt.syncthing.net syncthing/release armhf Packages
      0.14.37+ds1-1~bpo9+1 100
      100 httpredir.debian.org/debian stretch-backports/main armhf Packages
      *** 0.14.18+dfsg1-2+b1 900
      900 httpredir.debian.org/debian stretch/main armhf Packages
      100 /var/lib/dpkg/status
    • CTx wrote:

      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.

      Display Spoiler

      aaron@nanopim4:~$ sudo apt-cache policy syncthing
      syncthing:
      Installed: (none)
      Candidate: 1.3.0
      Version table:
      1.3.0 500
      500 apt.syncthing.net syncthing/release arm64 Packages
      1.2.2 500
      500 apt.syncthing.net syncthing/release arm64 Packages
      0.14.37+ds1-1~bpo9+1 100
      100 httpredir.debian.org/debian stretch-backports/main arm64 Packages
      0.14.18+dfsg1-2+b1 500
      500 httpredir.debian.org/debian stretch/main arm64 Packages


      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.0.14 usul | 64 bit | 5.0 proxmox kernel | omvextrasorg 5.1.4
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • CTx wrote:

      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.0.14 usul | 64 bit | 5.0 proxmox kernel | omvextrasorg 5.1.4
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • i'm having a very similar issue , OMV 4 with syncthing stuck on a very old version (1.1.4) :



      Source Code

      1. root@backup-nas:~# apt-cache policy syncthing
      2. syncthing:
      3. Installed: 1.1.4
      4. Candidate: 1.1.4
      5. Version table:
      6. *** 1.1.4 100
      7. 100 /var/lib/dpkg/status
      8. 0.14.37+ds1-1~bpo9+1 100
      9. 100 http://httpredir.debian.org/debian stretch-backports/main amd64 Packages
      10. 0.14.18+dfsg1-2+b1 500
      11. 500 http://ftp.be.debian.org/debian stretch/main amd64 Packages
      12. root@backup-nas:~# apt-get install syncthing=1.3.0
      13. Reading package lists... Done
      14. Building dependency tree
      15. Reading state information... Done
      16. E: Version '1.3.0' for 'syncthing' was not found
      Display All
      Not sure how to proceed from here ?