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

SG-5100: Auto updated to new packages, but still old pfSense

Scheduled Pinned Locked Moved Official Netgate® Hardware
5 Posts 2 Posters 710 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.
  • D
    DrPhil
    last edited by Mar 6, 2021, 2:20 AM

    I have a simple home setup (3 interfaces, a few simple firewall rules).

    My pfSense is still "2.4.5-Release".
    Today I rebooted my system, and I think some packages got auto upgraded (I don't even remember installing any to begin with - but maybe I did).

    Now

    1. My GUI doesn't work (502 Bad Gateway). 10 minutes ago it was giving me a different error (PHP ERROR: Type: 64, File: /etc/inc/config.inc, Line: 51, Message: require_once(): Failed opening required 'Net/IPv6.php')

    2. I can root into it (that's how I know the pfSense version - cat /etc/version). But if I choose "Restore recent configuration", I get this error (/usr/local/bin/php-cgi: Undefined symbol "alphasort@FBSD_1.5")

    What are my options?

    D 1 Reply Last reply Mar 6, 2021, 2:53 AM Reply Quote 0
    • D
      DrPhil @DrPhil
      last edited by Mar 6, 2021, 2:53 AM

      On the shell, I tried option 13 (Update from console) and I get this error message update_error.txt

      S 1 Reply Last reply Mar 6, 2021, 3:48 PM Reply Quote 0
      • S
        SteveITS Galactic Empire @DrPhil
        last edited by Mar 6, 2021, 3:48 PM

        @drphil I've never seen packages auto upgrade. I have seen comments that installing a package for a wrong/later version of pfSense can corrupt the package system by installing the later (FreeBSD 12) software on the earlier (FreeBSD 11) OS. See https://redmine.pfsense.org/issues/10464. If you can't update pfSense to 21.2 you may need to get a copy of the installer from Netgate and reinstall/restore. If you're trying to stay on 2.4.5, what I would do is:

        • install 2.4.5
        • set to Previous Stable Version in System/Updates
        • install desired packages
        • restore configuration
        • double check Previous Stable Version is still set

        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!

        D 1 Reply Last reply Mar 6, 2021, 7:37 PM Reply Quote 0
        • D
          DrPhil @SteveITS
          last edited by Mar 6, 2021, 7:37 PM

          Thank you @teamits.

          So, here's what I did

          1. Requested NetGate for the image file
          2. Reinstalled pfSense using these instructions

          It seems to be working fine for now. Three additional comments in case someone is interested

          1.1) NetGate support accidentally gave me "21.02-RELEASE-p1" instead of what I requested - "2.4.5".
          1.2) I didn't notice it until I was done installing. Now that it's working fine, I don't want to go through the trouble to downgrade

          1. I can see that I never installed any packages. The ones that auto updated were likely the default installations - aws-wizard, ipsec-profile-wizard, Netgate_Coreboot_Upgrade

          2. My only other action that could've triggered the packages to auto update is that I was testing my config backup. I basically saved config.xml on my local system, and then restored it (I was testing my "backup" process).

          S 1 Reply Last reply Mar 6, 2021, 7:47 PM Reply Quote 0
          • S
            SteveITS Galactic Empire @DrPhil
            last edited by Mar 6, 2021, 7:47 PM

            @drphil said in SG-5100: Auto updated to new packages, but still old pfSense:

            saved config.xml on my local system, and then restored it (

            That would be what did it. If it tried to reinstall the packages it would pull them from the current repo, so 21.02. Installing later software would install any dependencies for the newer OS as well. https://redmine.pfsense.org/issues/10464 Always select "Previous Stable Version" in System/Update if you want to stay on the older version.

            The Netgate version of pfSense does have a few packages preinstalled as you listed.

            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 0
            5 out of 5
            • First post
              5/5
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
              This community forum collects and processes your personal information.
              consent.not_received