Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    How to update to the latest Tailscale version?

    Scheduled Pinned Locked Moved Tailscale
    204 Posts 43 Posters 80.7k Views 46 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E Offline
      elvisimprsntr @lbm_
      last edited by

      @lbm_

      Did you restart the Tailscale daemon?

      L 1 Reply Last reply Reply Quote 1
      • L Offline
        lbm_ @elvisimprsntr
        last edited by

        @elvisimprsntr said in How to update to the latest Tailscale version?:

        @lbm_

        Did you restart the Tailscale daemon?

        DOh! That fixed it :)

        1 Reply Last reply Reply Quote 0
        • E Offline
          elvisimprsntr
          last edited by

          Updated CE 2.8.1 to 1.90.4.

          Looks like they are already working on .6

          Freshports

          pkg add -f https://pkg.freebsd.org/FreeBSD:15:amd64/latest/All/tailscale-1.90.4.pkg
          

          Changelog

          1 Reply Last reply Reply Quote 0
          • C Offline
            CarlMRoss @CarlMRoss
            last edited by

            For pfSense+ Version 25.0.7 FreeBSD 15.0-CURRENT: I had a recent issue after upgrading Tailscale to 1.90.4 and afterwards rebooting pfSense. Tailscale would not authenticate. After researching, I found a solution and a suggested workflow for future upgrades.

            First, I was able to get Tailscale to re-authenticate by executing the following commands (Tailscale Service was offline after the reboot):
            service tailscaled stop
            tailscale logout
            sysrc tailscaled_enable="YES"
            service tailscaled start
            tailscale up

            So that you know, here is the AI-generated one-liner for future upgrades on 25.x FreeBSD 15.0-CURRENT systems. I will test with the next available upgrade package:

            "service tailscaled stop && tailscale logout || true && fetch https://pkg.freebsd.org/FreeBSD:15:amd64/latest/All/tailscale-X.Y.Z.pkg || exit 1 && IGNORE_OSVERSION=yes pkg-static add -f tailscale-X.Y.Z.pkg && rm -f tailscale-X.Y.Z.pkg && sysrc tailscaled_enable="YES" && service tailscaled start && tailscale up && tailscale version && tailscale status"

            E 1 Reply Last reply Reply Quote 0
            • E Offline
              elvisimprsntr @CarlMRoss
              last edited by elvisimprsntr

              @CarlMRoss said in How to update to the latest Tailscale version?:

              upgrading Tailscale to 1.90.4 and afterwards rebooting pfSense

              Although I am on 2.8.1 CE, I have never observed the problem you encountered.

              All I've ever needed to do is restart the Tailscale daemon after upgrade.

              C 1 Reply Last reply Reply Quote 0
              • C Offline
                CarlMRoss @elvisimprsntr
                last edited by

                @elvisimprsntr Thank you. I would not be surprised if I ended up with a lengthy solution that works but needs significant improvement.

                I am using a Netgate 6100 with pfSense+, starting with version 24.x. I had updated Tailscale without trouble per this discussion by using pkg add -f https://pkg.freebsd.org/FreeBSD:15:amd64/latest/All/tailscale-x.y.z.pkg. This worked until pfSense+ version 25.0.07 (FreeBSD 15-CURRENT) and Tailscale upgrade 1.88.3.

                After several attempts and web searches, I was only able to install that upgrade by using: fetch https://pkg.freebsd.org/FreeBSD:15:amd64/latest/All/tailscale-1.88.3.pkg, and then IGNORE_OSVERSION=yes pkg-static add -f tailscale-1.88.3.pkg.

                Then, I could not restart Tailscale, no matter what I tried, including the sequence: service tailscaled stop, tailscale logout, service tailscaled start, and then tailscale up.

                1 Reply Last reply Reply Quote 0
                • E Offline
                  elvisimprsntr
                  last edited by

                  Updated CE 2.8.1 to 1.90.6.

                  Freshports

                  pkg add -f https://pkg.freebsd.org/FreeBSD:15:amd64/latest/All/tailscale-1.90.6.pkg
                  

                  Changelog

                  C 1 Reply Last reply Reply Quote 0
                  • C Offline
                    CarlMRoss @elvisimprsntr
                    last edited by

                    @elvisimprsntr Updated 25.0.7 to 1.90.6:

                    fetch https://pkg.freebsd.org/FreeBSD:15:amd64/latest/All/tailscale-1.90.6.pkg || exit 1 && IGNORE_OSVERSION=yes pkg-static add -f tailscale-1.90.6.pkg && rm -f tailscale-1.90.6.pkg

                    Installing tailscale-1.90.6...
                    package tailscale is already installed, forced install
                    Extracting tailscale-1.90.6: ...... done

                    tailscale version && tailscale status
                    1.90.6
                    long version: 1.90.6
                    go version: go1.25.3
                    Warning: client version "1.90.6" != tailscaled server version “1.90.4”

                    service tailscaled stop && tailscale logout || true && service tailscaled restart && service pfsense_tailscaled restart
                    Stopping tailscaled.
                    Waiting for PIDS: 3897.
                    Stopping tailscaled.
                    Waiting for PIDS: 27757.
                    tailscale 42315 - - Waiting for device tailscale0
                    tailscale 43079 - - Found device tailscale0
                    tailscale 43473 - - Added tailscale0 to interface group Tailscale
                    tailscale 43659 - - Bringing up tailscale0 with --auth-key=tskey-auth-xxxxxxxxxxxxxxxx --login-server=https://controlplane.tailscale.com
                    backend error: invalid key: API key does not exist

                    service tailscaled stop && tailscale logout || true && service tailscaled start && tailscale up && tailscale version && tailscale status
                    Stopping tailscaled.
                    Waiting for PIDS: 41895.
                    1.90.6
                    long version: 1.90.6
                    go version: go1.25.3
                    Success!

                    M 1 Reply Last reply Reply Quote 0
                    • M Offline
                      mightykong @CarlMRoss
                      last edited by

                      @CarlMRoss I've followed your very helpful instructions and got mine updated to 1.90.6. However, I did notice that tailscale does not start on reboot. Is this still happening for you as well? I can get it restarted with the commands you provided but having to do that manually is a concern.

                      C luckman212L 2 Replies Last reply Reply Quote 0
                      • C Offline
                        CarlMRoss @mightykong
                        last edited by

                        @mightykong Yes, my system also requires a restart after reboot, and what has worked for me is:

                        service tailscaled stop && tailscale logout || true && service tailscaled start && tailscale up

                        What has worked for updates included a [sysrc tailscaled_enable="YES"] that is supposed to handle tailscale restart after reboot, but it has not worked for me. I am looking into it, and others will be as well. In the meantime, this is my update one-liner command line:

                        service tailscaled stop && tailscale logout || true && fetch https://pkg.freebsd.org/FreeBSD:15:amd64/latest/All/tailscale-1.90.6.pkg || exit 1 && IGNORE_OSVERSION=yes pkg-static add -f tailscale-1.90.6.pkg && rm -f tailscale-1.90.6.pkg && service tailscaled start && tailscale up

                        Options: add && tailscale version && tailscale status to automate a first check; and, the "rm -f tailscale-1.90.6.pkg" is not needed, but once I saw the suggestion, I decided to keep it.

                        1 Reply Last reply Reply Quote 0
                        • luckman212L Offline
                          luckman212 LAYER 8 @mightykong
                          last edited by luckman212

                          @mightykong @CarlMRoss Looks like you might be experiencing https://github.com/tailscale/tailscale/issues/17793

                          I also have a 6100 + Tailscale 1.90.6 so I will test mine now.

                          update: I don't seem to be having this problem, which is odd because I'm usually that one guy in a thousand who has the strange bug that nobody else can reproduce.

                          Have you tried deleting the contents of /usr/local/pkg/tailscale/state ?

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.