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

    SG-1100 22.05 -> 23.01 -> 23.05 PHP errors

    Problems Installing or Upgrading pfSense Software
    2
    2
    540
    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.
    • C
      Cabledude
      last edited by Cabledude

      This is for the SG-1100. Netgate release announcement says only SG-1000 and 32bit intel aren't eligible, so I went for it.

      I've seen one similar topic for another model (SG-3100). This SG-1100 that went from 22.05 -> 23.01 and then directly on to 23.05. What you see below is just 1% of errors, I have counted over 60 pages of errors in the console log.

      22.05 -> 23.01:

      
      Warning: Undefined array key "honorsbaseinstall" in Role.php on line 173
      —
      Warning: foreach() argument must be of type array|object, null given in Command.php on line 249
      —
      Warning: Trying to access array offset on value of type null in Role.php on line 250
      —
      Warning: PHP Startup: Unable to load dynamic library 'xml.so' (tried: /usr/local/lib/php/20190902/xml.so (Cannot open "/usr/local/lib/php/20190902/xml.so"), /usr/local/lib/php/20190902/xml.so.so (Cannot open "/usr/local/lib/php/20190902/xml.so.so")) in Unknown on line 0
      —
      ===>   NOTICE:
      
      The vstr port currently does not have a maintainer. As a result, it is
      more likely to have unresolved issues, not be up-to-date, or even be removed in
      the future. To volunteer to maintain this port, please create an issue at:
      —
      =====
      Message from php81-libbe-0.1.4.1:
      
      --
      This file has been added to automatically load the installed extension:
      /usr/local/etc/php/ext-20-libbe.ini
      =====
      
      

      But the install did finish:

      [220/221] Reinstalling pkg-1.18.4_4...
      [220/221] Extracting pkg-1.18.4_4: .......... done
      [221/221] Reinstalling zip-3.0_1...
      [221/221] Extracting zip-3.0_1: .......... done
      Generating GIO modules cache
      Compiling glib schemas
      No schema files found: doing nothing.
      =====
      

      Then 23.01 -> 23.05:

      Warning: Undefined array key "config_vars" in Role.php on line 46
      
      Warning: Undefined array key "config_vars" in Role.php on line 46
      XML Extension not found
      pkg-static: POST-INSTALL script failed
      [142/142] Upgrading pfSense from 23.01 to 23.05...
      [142/142] Extracting pfSense-23.05: ..... done
      Generating GIO modules cache
      Compiling glib schemas
      No schema files found: doing nothing.
      =====
      

      Did also finish.

      I don't see any PHP errors on next boot.

      My gut feeling is I should request a 23.05 firmware image from Netgate. What do you think?

      Pete
      Home: SG-2100 + UniFi + Synology. SG-1100 retired
      Parents: SG-1100 + UniFi + Synology
      Testing: SG-1100 w/ 120GB SSD via ext USB (eMMC dead). Works great

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

        @Cabledude PHP errors are more or less expected when changing PHP versions during an upgrade. If it’s working with no errors after, I would not worry about it.

        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
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.