[SOLVED] No internet after upgrade to 22.01 [SG 3100]
-
No WAN access from LAN after update to 22.01. Tried to restore from rent backup but after the restore I’m still on 22.01. Seeing lots of notifications-
There were errors loading rules: LT to: DIOCADDRULENV: Operation not supported by device - The line in question reads [0]: @ 2022-2-15 21:58:56There are more but I can’t see anyway to attach a screenshot from my phone. There were also lots of php errors during upgrade.
-
Another notification-
20:31:21 PHP ERROR: Type: 1, File: /etc/inc/interfaces.inc, Line: 73, Message: Uncaught Error: Call to undefined function pfSense_interface_listget() in /etc/inc/interfaces.inc:73
Stack trace:
#0 /etc/inc/interfaces.inc(90): get_interface_arr(false)
#1 /etc/inc/interfaces.inc(6073): does_interface_exist('lan', false)
#2 /etc/inc/interfaces.inc(7395): get_real_interface('lan', 'inet')
#3 /etc/inc/interfaces.inc(6712): get_failover_interface('lan', 'inet')
#4 /usr/local/bin/dhcpd_gather_stats.php(41): get_interface_ip('lan')
#5 {main}
thrownThere are over 100 and I’m checking to see if any look relevant.
-
@wgstarks said in No internet after upgrade to 22.01 [SG 3100]:
after the restore I’m still on 22.01
Restoring a config file just uploads the XML file, processes it, and reboots. It doesn't replace the files on disk with older versions. If nothing else you can open a free ticket and Netgate will give you a firmware image.
-
J jimp moved this topic from Problems Installing or Upgrading pfSense Software on
-
There were errors loading rules: LT to: DIOCADDRULENV: Operation not supported by device - The line in question reads [0]: @ 2022-2-15 21:58:56
That's the full error output?
That looks like most of the line is missing.I would probably reinstall 22.01 clean and restore the config at this point too.
Steve
-
@stephenw10
That’s the full error. I rebooted multiple times and get an email notification with just that error every time. Did some searching but couldn’t figure out exactly what pf rule is failing to load. I’ve gotten the link to the recovery image (thanks to @SteveITS ) and will install it after work. I’m betting that will correct the problem. -
@wgstarks said in No internet after upgrade to 22.01 [SG 3100]:
20:31:21 PHP ERROR: Type: 1, File: /etc/inc/interfaces.inc, Line: 73, Message: Uncaught Error: Call to undefined function pfSense_interface_listget() in /etc/inc/interfaces.inc:73
This definitely suggests that something broke during the upgrade. More specifically, it looks like some files might well have been upgraded while others were left untouched or somehow got corrupted during the process.
Reinstall from scratch using the image provided by Netgate, restore the configuration backup, and see how that goes. My guess is it'll fix your problem.
-
Installing the recovery image and then a restore has fixed this issue. Thanks to everyone for their advice.