Upgrade resulted in loss of GUI



  • My clients router would not upgrade having the message "unable to check for updates". I followed the info here to upgrade the router manually: https://forum.pfsense.org/index.php?topic=138564.15. After the upgrade I now have the following line in the browser: 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').
    Is there a method to resolve this and return to the GUI interface?


  • Rebel Alliance Developer Netgate

    Upgraded from what version to what version?

    You can try this from the console:

    pkg check -d
    
    

    That will attempt to check for missing dependencies. That system appears to be missing at least the pear-Net_IPv6 package which is a part of the base install.



  • I had just upgraded the router to the most current version of the 2.3 and that worked correctly using the upgrade option in the GUI. But with the upgrade installed I could not go up to the 2.4 version. I used the code you sent and reply was "Checking all packages: 100%". Is there anything else I can do?



  • Upgrade from what version ?
    "2.3" as a reply isn't enough, knowing that "2.3" might be a "32 bit" version, and "2.4.x" is "64 bit" only, which means a simple upgrade will not work. A re-install - 5 minutes more work - will be needed.

    edit :

    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').
    Is there a method to resolve this and return to the GUI interface

    Use the quick and clean method :
    Consider system broken.
    Enter console, and grab a copy of the config file (it's here : /conf/config.xml ).
    After that, download a fresh copy of pfSense and re install.
    As soon as it is up - the GUI will work on LAN, import the config, restart and you're ok.