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

    Automatic updates

    Scheduled Pinned Locked Moved General pfSense Questions
    17 Posts 10 Posters 7.4k Views 8 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.
    • GrimsonG Offline
      Grimson Banned
      last edited by

      That's simply a very bad, and stupid, idea.

      1 Reply Last reply Reply Quote 0
      • stephenw10S Offline
        stephenw10 Netgate Administrator
        last edited by

        I mean it is possible but I hesitate to even point you in the right direction.

        Maybe we've misunderstood you. You want to have pfSense OS updates applied automatically without you having to OK it first?

        Steve

        N 1 Reply Last reply Reply Quote 0
        • N Offline
          netgateuname @stephenw10
          last edited by

          @stephenw10
          I want to automate clicking on system -> update -> apply update in the web UI.

          1 Reply Last reply Reply Quote 0
          • stephenw10S Offline
            stephenw10 Netgate Administrator
            last edited by

            You realise at the very least that would reboot your firewall at a random time when you might be in the middle of an important download etc?

            Steve

            N 1 Reply Last reply Reply Quote 0
            • N Offline
              netgateuname @stephenw10
              last edited by

              @stephenw10
              Right, I can take the downtime, but it wouldn't be at a random time if I can schedule it with cron for example.

              1 Reply Last reply Reply Quote 0
              • stephenw10S Offline
                stephenw10 Netgate Administrator
                last edited by

                Well you could run pfSense-upgrade -y as a cron job but I highly recommend you don't! 😬

                Steve

                1 Reply Last reply Reply Quote 1
                • O Offline
                  oddussiben-3161
                  last edited by

                  this is cool @stephenw10 thank you.

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S Offline
                    stephenw10 Netgate Administrator
                    last edited by

                    I'm still recommending you don't do that however cool it may be. 😉

                    Steve

                    1 Reply Last reply Reply Quote 0
                    • O Offline
                      oddussiben-3161
                      last edited by

                      its a test machine, appreciate your concern.

                      1 Reply Last reply Reply Quote 0
                      • I Offline
                        inetquestion
                        last edited by

                        mkdir -p /tmp/upgrade && pfSense-upgrade -y | tee -a /tmp/upgrade/date +%Y.%m.%d-%H.%M.%S-upgrade.log

                        N 1 Reply Last reply Reply Quote 0
                        • N Offline
                          netblues @inetquestion
                          last edited by

                          Why automate something that has updates once a year typical?

                          chpalmerC 1 Reply Last reply Reply Quote 0
                          • chpalmerC Offline
                            chpalmer @netblues
                            last edited by

                            @netblues said in Automatic updates:

                            Why automate something that has updates once a year typical?

                            Snapshots.

                            I like the concept because I like to update my test box daily. but I also like to watch it as it updates so automatic updates would be out for me just for that reason.

                            Triggering snowflakes one by one..
                            Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                            1 Reply Last reply Reply Quote 0
                            • stephenw10S Offline
                              stephenw10 Netgate Administrator
                              last edited by

                              Yeah, about the only place I would consider doing this would be a test box running 2.5 snapshots where I'm specifically testing new snapshot failures.

                              Steve

                              1 Reply Last reply Reply Quote 0
                              • S Offline
                                serbus
                                last edited by

                                Hello!

                                https://forum.netgate.com/topic/137707/auto-update-check-checks-for-updates-to-base-system-packages-and-sends-email-alerts

                                John

                                Lex parsimoniae

                                provelsP 1 Reply Last reply Reply Quote 1
                                • provelsP Offline
                                  provels @serbus
                                  last edited by

                                  @serbus
                                  Stupid server tricks! I love it!

                                  Peder

                                  MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
                                  BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

                                  1 Reply Last reply Reply Quote 0
                                  • B Offline
                                    barrio603
                                    last edited by

                                    I have been running the cron update every other saturday at 1am and yet to have a problem.

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