Script: Update Tailscale on (nearly) all devices

Yup, no issues.

there is an issues

any comment ?

You are using the wrong script. Please follow the steps in the first post of this thread.

did it thank you for your help @admon

1 Like

Thank you for the script. It worked perfectly on my GL-A1300 to update the Tailscale version from 1.6.2 to 1.82.5

1 Like

Came to this forum to thank you for the script, worked perfectly.

1 Like

Maybe the update scripts ought to be pulled out of general threads and placed into a special update topic or linked on GL web pages. Wonder how hard it would be put these in gui?

2 Likes

I've did it several times remotely now. However, my remote routers are close enough that I could drive to them if something went wrong.

1 Like

Thanks for trusting me and my script that often :seal:

Love the script and used it on my Brume 2. Just got my Comet KVM - have you tried the update Tailscale on a Comet using the script?

I don't own a comet yet, but you can simply try it, I would say.

After upgrading to version 1.1.1, you can use tailscale in the UI interface

I suggest that a gui feature to update things like tailscale and adguard be considered as part of gl-inet web admin panel maybe?

They already declined integrating it. Therefor nothing I could do here.

2 Likes

Ok thanks.

script fails on comet but it pretends not to. Can't read version file, find and edit starting script or properly compress config data but continues.

EDIT: it was actually updated but required a reboot.

Hi, amazingly helpfull stuff, thx!
Is it possible to make an installation permanent after it has already been installed?
regards

You could run --restore and then restart the script to make the installation permanent.

Or run those lines manually:

        if grep -q "/root/tailscale_config_backup/" /etc/sysupgrade.conf; then
            sed -i '/\/root\/tailscale_config_backup\//d' /etc/sysupgrade.conf
        fi
        if ! grep -q "/root/tailscale_config_backup/$TIMESTAMP.tar.gz" /etc/sysupgrade.conf; then
            echo "/root/tailscale_config_backup/$TIMESTAMP.tar.gz" >>/etc/sysupgrade.conf
        fi
        if ! grep -q "/usr/sbin/tailscale" /etc/sysupgrade.conf; then
            echo "/usr/sbin/tailscale" >>/etc/sysupgrade.conf
        fi
        if ! grep -q "/usr/sbin/tailscaled" /etc/sysupgrade.conf; then
            echo "/usr/sbin/tailscaled" >>/etc/sysupgrade.conf
        fi
        if ! grep -q "/etc/config/tailscale" /etc/sysupgrade.conf; then
            echo "/etc/config/tailscale" >>/etc/sysupgrade.conf
        fi
        if ! grep -q "/etc/config/tailscale" /etc/sysupgrade.conf; then
            echo "/etc/config/tailscale" >>/etc/sysupgrade.conf
        fi
        if ! grep -q "/usr/bin/gl_tailscale" /etc/sysupgrade.conf; then
            echo "/usr/bin/gl_tailscale" >>/etc/sysupgrade.conf
        fi
1 Like

Could I also wait for a new tailscale version?

Totally, yep.