WebUI broken after package upgrade. require_once() error
-
I was having errors upgrading from 2.32 to 2.4 as described in this thread: https://forum.pfsense.org/index.php?topic=130765.0
I executed the```
pkg install -y pfSense pfSense-base pfSense-repo pfSense-kernel-pfSense pfSense-rc pfSense-repo pfSense-upgradebit from jimp's post. The output looked fine, as though all the packages updated just fine. However, upon going somewhere else in the UI I got this error:
PHP ERROR: Type: 64, File: /etc/inc/config.inc, Line: 51, Message: require_once(): Failed opening required 'Net/IPv6.php' (include_path='.:/etc/inc:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg:/usr/local/www/classes:/usr/local/www/classes/Form')I get this whenever I try and go to the WebUI, so it's completely unavailable and broken. Any idea how I can fix this?
-
Try this:
pkg clean -ya pkg install -fy pear-Net_IPv6
-
Try this:
pkg clean -ya pkg install -fy pear-Net_IPv6
Didn't help, a user on another forum had me try this.
However, what did work was SSHing in and selecting the upgrade option from the PfSense menu in the command line. It showed that 1 package needed reinstalling, and it upgraded, and was good to go after.