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

    WebUI broken after package upgrade. require_once() error

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    3 Posts 2 Posters 1.2k 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.
    • D
      douglasg14b
      last edited by

      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-upgrade

      bit 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?
      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        Try this:

        pkg clean -ya
        pkg install -fy pear-Net_IPv6
        

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • D
          douglasg14b
          last edited by

          @jimp:

          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.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.