My Windows machine and my Community Helper Script LXC both have a tick-box at the login page of web GUI that says “stay logged in” but now on this Ubuntu machine’s Syncthing web GUI it is not there. Installed using instructions from https://apt.syncthing.net/ for Debian/Ubuntu Packages. It’s syncing perfectly fine with my other devices. I looked into a suggestion on Github for the tick-box ( Add "stay logged in" checkbox to login dialog · Issue #9151 · syncthing/syncthing · GitHub ) which I have no idea how to implement if it’s not already included in this package. Hoping I can get some info on how to fix/add. I noticed that in the About section the version is “v1.27.2 ds4”……not updating??
One of your other recent posts mentions Debian 12/Bookworm, if it’s the same LXC container, it’s likely that Syncthing 1.19.2 is installed from Ubuntu’s repo instead of 2.0.10 from Syncthing’s APT repo (minimum of 1.27.3 is required for the “Stay logged in” checkbox).
Did you also follow the recommendation under the “Distribution Package Preferred Over This Version” section on apt.syncthing.net?
Yes that’s an LXC setup using the Community Scrips, but that is inside Proxmox in a container on a different piece of hardware and that one successfully updated to v2.0.10 (thanks for your help with that one!). This other issue now is on my Linux (Ubuntu) workstation. On this workstation I’m referring to I used the instructions from that website where it says “Debian/Ubuntu Packages” at the top, using scripts:
Ok, I see all the versions, but I’m not sure what I’m supposed to do with it. I run sudo apt update on my system all the time, shouldn’t that make it update? Also, should I run the “preferred” script you mentioned?
I don’t like running scripts without knowing all about it first, since I’m still learning and not always sure how to remove things I load accidentally or something. BUT I took your advice about the “preferred” script printf "Package: *\nPin: origin ``apt.syncthing.net``\nPin-Priority: 990\n" | sudo tee /etc/apt/preferences.d/syncthing.pref and ran sudo apt update and you’re a genius..AGAIN! Thanks for your help! My workstation is now running the latest v2.0.10 and it also has the tick-box for “Stay logged in”! Thanks again @gadget !!
apt-cache show syncthing is just informational, and it also helps confirm that additional repos are being properly searched.
Yes, but whenever there are multiple versions of a package, the one with the highest version number isn’t necessarily the one that’s chosen. Several different factors decide which packaged ends up being installed.