Script: Update Tailscale on (nearly) all devices

Thanks for writing this! Did a few AX3000 flawlessly. Need to upgrade arose because headscale's latest version needs client capabilities 85 or higher. The tailscale version in openwrt repo was too low. Now rocking 1.80.0, reboot persistent.

Just went to 1.80.2 :slight_smile: Needed to check full version using the --no-tiny switch.
Thx again!

Why? Tiny version did not work?

Script did not offer that one. I mean it came out (here at least) literally a few hours before I did the update; I was already running v1.80.0 and it said that was the latest, so I pushed the --no-tiny option and it went to v1.80.2. All good, I am happy :-).

Ah, that happens when the Tailscale team does not push a new release on GitHub.
Happens from time to time.

1 Like

What is the reason for GL-iNet don't allow the updates available (for Tailscale and ADH)?
Not allowing the updates we can miss some security updates, like on Tailscale 1.78 and AdGuard Home 0.107.54

Because of system stability. You can update, if you want to & know what you are doing.

I updated to 1.80.0, show me in more detail how to update to 1.80.2?
Thanks!

If you have installed the script already, then from the Command Line run:

sh update-tailscale.sh --no-tiny

Until the compressed (tiny) binaries are available, you can run the script with that --no-tiny flag. It will run the script as normal, but will download the latest binaries, which are uncompressed.

If you wish (and do not have much space left on your device) the script very nicely (thanks to admon for his foresight here) asks if you want to compress them (y/n). Answering "y" will effectively compress them so they become defacto "tiny" binaries i.e. reduced size.

I personally did not do this, but it depends on your device and how much room you have left.

k.

4 Likes

GL-MT2500
sh update-tailscale.sh --no-tiny
I can confirm this works well: update takes a few minutes to compress but you're given a nice visual countdown of the progress / amazingly great job, @admon - loving this series of updates/process - Thank You!!

1 Like

The visual countdown isn't my work, it's built-in into upx - but thanks for the flowers :hibiscus:

1 Like

A new script version was pushed (don't worry, script will auto-update itself!) to support GL-SFT1200 (Opal) by Tiny Tailscale as well.

4 Likes

Does the script support the tailscale unstable track in any way?

I usually run the unstable track on all my devices - currently 1.81.76

No, sorry. Not supported and not planned.

On the subject of planned, as Tailscale do quite frequent updates, do you think there’s merit in adding a function to autoupdate tailscale (to latest Tiny or Non-Tiny if the latter is the latest) on startup or on a schedule set by the user?

I think it’d be a good enhancement to a great script.

Not possible right now because there isn't enough space on most devices to do a rollback if something fails :frowning:

Risk too high, imho.

No problem and thank you for considering and listing reasons why you think it's a no go, appreciated.

1 Like

It doesn't work for me in Firmware 4.7.2...

What should I do? Reset factory or update firmware?

Please post the output and errors

Tailscale dot is yellow and I can't see it on my Tailscale console.

I try to restore with --restore Restore tailscale to factory default, but doesn't downgrade tailscale