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

    Extremely frustrated with another failed update

    Scheduled Pinned Locked Moved General pfSense Questions
    19 Posts 6 Posters 1.7k Views
    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.
    • bmeeksB
      bmeeks @dreadnug
      last edited by

      @dreadnug said in Extremely frustrated with another failed update:

      @bmeeks That's the post I've been in this morning... the Squid service is already stopped, but when I run the upgrade command from the CLI I get a message about requiring 3 MiB more space and then "Aborting..."

      I have almost 10gb of free space on my Netgate 6100, so I'm starting to think the message about "more space" might be bad English or just an awkward informational message.

      Do you have RAM disks configured by chance? If so, you may need to either temporarily turn those off, or else make sure you have plenty of available space on /var.

      D 1 Reply Last reply Reply Quote 0
      • bmeeksB
        bmeeks
        last edited by

        The second post in this thread has some CLI commands to help identify where disk space issues may be happening: https://forum.netgate.com/topic/173263/can-t-upgrade-from-console.

        1 Reply Last reply Reply Quote 0
        • D
          dreadnug @dreadnug
          last edited by

          @dreadnug IMG_2946.jpg

          Is this an error re: 3 MiB, resulting in the abort? Or just an informational message referring to some space more than some other space?

          bmeeksB 1 Reply Last reply Reply Quote 0
          • gdpG
            gdp @dreadnug
            last edited by gdp

            @dreadnug Hi,

            Same here. About SQUID, I've found that the service fails to start and claims for a file mime.conf, so if that is your case, copy it that way:

            cp /usr/local/etc/squid/mime.conf.sample /usr/local/etc/squid/mime.conf

            About OpenVPN, see my post here, hope it helps:

            https://forum.netgate.com/topic/173235/openvpn-data-channel-offload-dco-failure-service-does-not-start-after-upgrade-to-version-22-05-release-amd64

            1 Reply Last reply Reply Quote 0
            • bmeeksB
              bmeeks @dreadnug
              last edited by

              @dreadnug:
              That particular message is an informational message simply stating the upgrade will consume an additional 3 MB of disk space. So in this case I don't believe that represents an "error" condition.

              D 1 Reply Last reply Reply Quote 0
              • D
                dreadnug @bmeeks
                last edited by

                @bmeeks I don't think so? This is what the output of one of the commands someone mentioned in another thread says...
                IMG_2947.jpg

                1 Reply Last reply Reply Quote 0
                • bmeeksB
                  bmeeks
                  last edited by

                  You need to be executing these command literally at a CLI prompt, not within the pfSense GUI.

                  Open either a direct console connection, or SSH into the firewall using PuTTY, and operate that way.

                  D 1 Reply Last reply Reply Quote 0
                  • D
                    dreadnug @bmeeks
                    last edited by

                    @bmeeks Oh... grrrr. Humans might want to know what "more" is referring to in terms of "more than what?" Maybe "pfSense-upgrade" is not the right command to run from the command prompt then to force an update from the CLI?

                    bmeeksB 1 Reply Last reply Reply Quote 0
                    • bmeeksB
                      bmeeks @dreadnug
                      last edited by

                      @dreadnug said in Extremely frustrated with another failed update:

                      @bmeeks Oh... grrrr. Humans might want to know what "more" is referring to in terms of "more than what?" Maybe "pfSense-upgrade" is not the right command to run from the command prompt then to force an update from the CLI?

                      I had been operating under the assumption you were using an actual command-prompt with my earlier replies. I had no idea you were using the GUI tool. That's not good as that tool is running wrapped by a PHP session. And if that session is killed, then any commands it was running are also killed.

                      Either use SSH to connect, or open a direct console session. With an SG-6100, that would mean using the USB to serial cable that came with the box. But connecting via SSH is also fine assuming you have enabled SSH access.

                      1 Reply Last reply Reply Quote 0
                      • D
                        dreadnug @bmeeks
                        last edited by

                        @bmeeks Oh... that must be the problem at this stage then. I will try to ssh into the Netgate. Thank you!

                        bmeeksB 1 Reply Last reply Reply Quote 0
                        • bmeeksB
                          bmeeks @dreadnug
                          last edited by

                          @dreadnug said in Extremely frustrated with another failed update:

                          @bmeeks Oh... that must be the problem at this stage then. I will try to ssh into the Netgate. Thank you!

                          You still may encounter the issue with Squid. Honestly, I would remove Squid, then upgrade, then reinstall Squid. It should retain all of your previous settings.

                          S 1 Reply Last reply Reply Quote 1
                          • S
                            SteveITS Galactic Empire @bmeeks
                            last edited by

                            @bmeeks said in Extremely frustrated with another failed update:

                            I would remove Squid, then upgrade, then reinstall Squid. It should retain all of your previous settings

                            @dreadnug Netgate recommends uninstalling packages as the "safest" path:
                            https://docs.netgate.com/pfsense/en/latest/install/upgrade-guide-prepare.html#packages

                            We don't use Squid but most have a setting to delete/retain configuration when uninstalling.

                            Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                            When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                            Upvote 👍 helpful posts!

                            1 Reply Last reply Reply Quote 1
                            • D
                              dreadnug
                              last edited by

                              @bmeeks Ok, thank you for the advice! Unfortunately ssh did not work (I'm assuming the IT contractor that set the firewall up initially did not enable it) and now I need to leave the physical location the device is at... so we'll be going into a second day of our Netgate being fubar and the irritated people that goes along with not having Internet access. Tomorrow I'll look for the USB cable.

                              bmeeksB johnpozJ 2 Replies Last reply Reply Quote 0
                              • bmeeksB
                                bmeeks @dreadnug
                                last edited by bmeeks

                                @dreadnug said in Extremely frustrated with another failed update:

                                @bmeeks Ok, thank you for the advice! Unfortunately ssh did not work (I'm assuming the IT contractor that set the firewall up initially did not enable it) and now I need to leave the physical location the device is at... so we'll be going into a second day of our Netgate being fubar and the irritated people that goes along with not having Internet access. Tomorrow I'll look for the USB cable.

                                You can quickly enable SSH access in the GUI. It's under SYSTEM > ADVANCED > Admin Access. Just check the box to enable it.

                                1 Reply Last reply Reply Quote 0
                                • johnpozJ
                                  johnpoz LAYER 8 Global Moderator @dreadnug
                                  last edited by johnpoz

                                  @dreadnug said in Extremely frustrated with another failed update:

                                  the IT contractor that set the firewall up initially did not enable it)

                                  You mean a firewall in front of pfsense? Even if ssh was not enabled on pfsense - its just a click in the gui to enable it, and then creating wan rule to allow ssh from where you at, etc.

                                  edit: @bmeeks -- haha jinx ;)

                                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                                  If you get confused: Listen to the Music Play
                                  Please don't Chat/PM me for help, unless mod related
                                  SG-4860 24.11 | Lab VMs 2.8, 24.11

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

                                    Yeah, what you see there is expected at the gui command prompt. You can't enter anything there that is interactive. If you absolutely had to run the upgrade from there you would use: pfSense-upgrade -y
                                    But you should never do that because you get zero feedback while it's running. You'll have no idea what it's doing or if it completed!
                                    Run it from the real command line or use the upgrade screen in the gui.

                                    Steve

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