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

    Failed upgrade to 22.05 on SG-1100

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    5 Posts 2 Posters 1.1k 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.
    • P
      Pangel
      last edited by

      I have tried to upgrade my SG-1100 from 21.05 to 22.05 but it has failed. After the upgrade have I not been able to contact the device, so I have connected a cable to the USB port and got this output:

      Installed packages to be REINSTALLED:
              libzmq4-4.3.4 [pfSense] (options changed)
      
      Number of packages to be installed: 3
      Number of packages to be upgraded: 23
      Number of packages to be reinstalled: 1
      
      The process will require 14 MiB more space.
      [1/27] Upgrading pam_ldap from 186 to 186_1...
      [1/27] Extracting pam_ldap-186_1: ......... done
      [2/27] Upgrading openvpn from 2.5.2_2 to 2.6.0_8...
      panic: ufs_dirbad: /: bad dir ino 47856 at offset 1024: mangled entry
      cpuid = 1
      time = 1659177486
      Uptime: 11s
      Automatic reboot in 15 seconds - press a key on the console to abort
      --> Press a key on the console to reboot,
      --> or switch off the system now.
      

      Then it reboots and the same thing happens again.
      Does anybody know what I should do?

      Thanks.

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

        @pangel You can try a filesystem check: https://docs.netgate.com/pfsense/en/latest/troubleshooting/filesystem-check.html

        Another option would be to reinstall.

        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
        • P
          Pangel
          last edited by

          @SteveITS Thanks for your reply. The fsck fixed the error and the rest of the upgrade completed.
          The firewall is now working and I can ssh into it.

          The web-interface is however not working. I get this when trying:

          Fatal error: Uncaught Error: Call to undefined function session_get_cookie_params() in /etc/inc/auth.inc:2127 Stack trace: #0 /etc/inc/authgui.inc(35): session_auth() #1 /usr/local/www/guiconfig.inc(60): require_once('/etc/inc/authgu...') #2 /usr/local/www/index.php(46): require_once('/usr/local/www/...') #3 {main} thrown in /etc/inc/auth.inc on line 2127 PHP ERROR: Type: 1, File: /etc/inc/auth.inc, Line: 2127, Message: Uncaught Error: Call to undefined function session_get_cookie_params() in /etc/inc/auth.inc:2127 Stack trace: #0 /etc/inc/authgui.inc(35): session_auth() #1 /usr/local/www/guiconfig.inc(60): require_once('/etc/inc/authgu...') #2 /usr/local/www/index.php(46): require_once('/usr/local/www/...') #3 {main} thrown
          

          I do not know how to fix this.

          Thanks.

          1 Reply Last reply Reply Quote 0
          • P
            Pangel
            last edited by

            I checked the 2 files and they seem to be empty:

            ls -al /usr/local/lib/php/20190902
            -rw-------  1 root  wheel        0 Jul 30 12:44 intl.so.so
            -rw-------  1 root  wheel        0 Jul 30 12:44 ldap.so.so
            

            So I guess I need to reinstall some package but I do not know which.

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

              @pangel I don’t know but if you aren’t 100% sure there are no other problems a reinstall is probably safest.

              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.