Coder Social home page Coder Social logo

Comments (8)

kozec avatar kozec commented on June 9, 2024

On another note, Syncthing-GTK somehow doesn't seem to update the syncthing binary. My openSUSE system was still at 0.10.9 - manually updated meanwhile - while Windows had already happily updated to 0.10.11. Any chance something went wrong with the "Updated URL for Syncthing updater" change in v0.5.2?

Yes, either that or internal version that updater is using is wrong. Can you please try to run
grep INTERNAL /usr/lib/python2.7/site-packages/syncthing_gtk/app.py
and post result here?

from syncthing-gtk.

 avatar commented on June 9, 2024

It reads "v0.5.2", but you misunderstood me...

Syncthing-GTK doesn't seem to update the SYNCTHING BINARY (~/bin/syncthing).
Updates of Syncthing-GTK you publish to your OBS repo are offered for update anyway.

The issue was that syncthing (the daemon binary) was at 0.10.9 while there's already 0.10.11 out ... and Syncthing-GTK didn't update. Saw no error/warn/debug message in any log that would give a clue about why it wouldn't pickup the newer syncthing binary release.

EDIT: On Windows it works fine ... both of my Windows boxes are updated to syncthing 0.10.11 (again, the EXE, not Syncthing-GTK). Also, the binary update worked with Syncthing-GTK 0.5.1 (on Linux).

from syncthing-gtk.

kozec avatar kozec commented on June 9, 2024

It reads "v0.5.2", but you misunderstood me...

I undetstood what do you mean, this INTERNAL_VERSION is used when Syncthing daemon binary is updated. It helps to prevent ST-GTK to download too new, incompatible daemon version. If that's the case, message like Note: Not using latest, unsupported Syncthing version v0.10.11 ; Using v0.10.8 instead is printed to stdout durring update.

Now, with INTERNAL_VERSION = v0.5.2 that shouldn't be a problem.

Two other things may prevent upgrading: If Syncthing daemon is not launched by Syncthing-GTK, but, for example, by rc.script, manually, or just left running by prior ST-GTK instance. And update checking happens only once per day normally, so if last one happened just before v0.10.11 was released, it may take a while until it's downloaded.
In any case, you can force update check by opening UI Settings dialog and closing it with Save button. If there is any problem preventing update, it will be printed to stdout.

from syncthing-gtk.

kozec avatar kozec commented on June 9, 2024

Can you, please, confirm if this is still problem with release 0.5.3?

from syncthing-gtk.

 avatar commented on June 9, 2024

Gave it a quick test with openSUSE (Andrew needs to make the DEB for Mint/Ubuntu first;)) ...

  • Exited Synthing-GTK.
  • mv ~/.config/autostart ~/.config/nostart
  • Installed the new openSUSE release
  • Started Syncthing GTK
  • Went into the Preferences
  • Unchecked/Checked the Autostart option
  • Directory + .desktop file got created perfectly

Yet another problem solved (never dared to imagine that a Linux distro would ship without ~/.config/autostart already existing - I love that "edge case" scenarios that reveal bugs one never thought about).

from syncthing-gtk.

kozec avatar kozec commented on June 9, 2024

And how about updater bug?

from syncthing-gtk.

 avatar commented on June 9, 2024

Exited and replaced ~/bin/syncthing with 0.10.9 from my last week's /home backup.

Fired it back up and it does what I expected it to do ... it found the newer 0.10.11 release, downloaded the file, and issued the "will restart in 60 seconds" notification.

While you said it checks once a day I somehow always had the impression it also checks at starting up - maybe I was just lucky that it always updated right after booting up the computer and logging in.

from syncthing-gtk.

kozec avatar kozec commented on June 9, 2024

Well, it check on startup, but only if at least one day passed since last check.

Anyway, thanks for reporting :)

from syncthing-gtk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.