Failed upgrade to 22.05 on SG-1100
-
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.
-
@pangel You can try a filesystem check: https://docs.netgate.com/pfsense/en/latest/troubleshooting/filesystem-check.html
Another option would be to reinstall.
-
@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.
-
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.
-
@pangel I don’t know but if you aren’t 100% sure there are no other problems a reinstall is probably safest.