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

    How to update to the latest Tailscale version?

    Scheduled Pinned Locked Moved Tailscale
    213 Posts 43 Posters 87.2k 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
      last edited by elvisimprsntr

      Finally took the plunge and installed CE 2.8.1 on a spare appliance and updated to 1.88.3_2

      Changelog

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

      Freshports

      I applied the tailscale patch. No observed issues.

      Screenshot 2025-10-18 at 1.57.21โ€ฏPM.png

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

        Updated CE 2.8.1 to 1.90.1.

        There is already a .2 and .3 ๐Ÿ˜•

        Changelog

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

        Freshports

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

          @elvisimprsntr

          Seems like only the client was updated ๐Ÿค”

          tailscale status
          Warning: client version "1.90.1" != tailscaled server version "1.88.3"
          
          E 1 Reply Last reply Reply Quote 0
          • 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 ?

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

                                  @luckman212 I had a nice chat with Netgate Support Bot, https://www.netgate.com/support. I added some highlights below:

                                  "Netgate Support Bot
                                  This is a known issue reported by multiple users: enabling Tailscale with sysrc tailscaled_enable="YES" does not always auto-start Tailscale after a pfSense reboot. The current workaround is to run the following after each reboot manually:
                                  service tailscaled stop && tailscale logout || true && service tailscaled start && tailscale up"

                                  "Netgate Support Bot
                                  Based on all available Netgate forum reports, there is no conclusive evidence that the failure to auto-start Tailscale after reboot when using sysrc tailscaled_enable="YES" is specifically due to Tailscaleโ€™s state being stored in a RAM disk. The root cause is still under investigation by the community. Most users confirm that a manual restart is required post-boot regardless of RAM disk settings."

                                  I will check the RAM Disk settings to learn more, but given others' lack of success, I will not experiment with it at this time. Here's what the Chatbot has to say:

                                  "Netgate Support Bot
                                  Yes, you can disable the RAM disk for /var to test if it helps persist Tailscale's state across reboots. Disabling the RAM disk for /var moves log files, RRD graph data, DHCP leases, and package data storage back to disk instead of volatile memory.
                                  Impacts and considerations:
                                  The firewall will write these files directly to disk, so settings and logs will persist through reboots and power losses.
                                  Packages that write to /var, including Tailscale and packages like pfBlockerNG, Snort, or Squid, will have better persistence.
                                  However, disk write activity will increase, especially for logging, RRD data, and DHCP leases.
                                  Disabling the RAM disk reduces the risk of data loss after an improper shutdown, but you may lose some of the benefits (e.g., lower disk wear) intended for devices with fragile storage (e.g., low-cost flash or SD cards).
                                  Some packages may behave differently on disk vs RAM disk and should be tested after reboot.
                                  To disable the RAM disk:ย Go to System > Advanced > Miscellaneous > RAM Disk Settings in pfSense. Uncheck 'Use RAM Disks' for /var, then Save and Reboot.
                                  If you use logging or packages that need persistent state (like VPNs, reporting, DHCP), disabling the RAM disk usually increases reliability but may wear storage more.""

                                  "Netgate Support Bot
                                  There is no direct evidence in available Netgate forum discussions that deleting the contents of /usr/local/pkg/tailscale/state resolves Tailscale's reboot persistence issue. Most reports focus on restarting the Tailscale service or re-running the 'tailscale up' command after reboot, rather than deleting state files. Deleting this directory could clear a corrupted state or force a fresh authentication. Still, it may also remove valid connections or authentication data, requiring you to re-authenticate Tailscale after reboot.

                                  This approach might temporarily resolve glitches caused by a stale state. It is still not an established solution for reboot persistence, and you should only try it with the expectation that re-authentication will likely be required afterward. Always back up any config or state you plan to remove, just in case."

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

                                    I never reboot my appliance except for pfSense version upgrades or patches which require reboot. it's supposed to be a 24/7/365 always on device.

                                    M C 2 Replies Last reply Reply Quote 0
                                    • M Offline
                                      mightykong @elvisimprsntr
                                      last edited by

                                      @elvisimprsntr Great in theory, not in practice. I'm the same, but there are unforseen events. Power outages, crashes, etc. And yes, I'm running a UPS.

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

                                        @elvisimprsntr I agree and only reboot after upgrades and Patches that require it, or in a rare, desperate attempt to fix a persistent problem. As I see it, for now, Version 25.x requires a different workflow for Tailscale updates than CE versions; we have an update workflow that doesn't require a reboot unless it coincides with applying Patches, which I did a few days ago. And we also have a workflow for restarting Tailscale after a reboot that doesn't require creating a new Authentication Code, as I did a couple of times when it all started.

                                        Thank you for keeping us up to date with Tailscale and all the good advice.

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

                                          @luckman212, Thanks for your suggestion. I will check what I have in /usr/local/pkg/tailscale/state, and also the RAM disk settings others have brought up. I could learn more about where Tailscale and pfSense store system files. If I find anything worth sharing, I will let you know.

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

                                            Updated CE 2.8.1 to 1.90.6_1.

                                            Freshports

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

                                            Changelog

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