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

    Botched Upgrade. Cant Access GUI. Help needed

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    10 Posts 4 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.
    • J
      juju
      last edited by

      Hello.

      I was trying to upgrade from pfsense 2.3.1 to 2.4. A previous auto upgrade attempt via the gui didnt work, and removed the option to even upagrde. So last night I followup some instructions here to attempt the upgrade via the command line in the gui. Now, I am getting this when i try to even access the gui:

      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')

      It seems to be working fine in the background. I am afraid to reboot fearing that it wont come back up. What do you guys advise?

      This is a custom pfsense box someone build for me a couple of years back with custom configuration. So I am looking for a way to save that config and get it back.

      ps: I am a novice at this.  Don't know how to use console but if i can get instructions on how to access the box to fix this, that will be great.

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        Before doing anything else, try this from a shell prompt:

        pkg install -fy pear-Net_IPv6-1.3.0.b2_2

        If that doesn't help, depending on the output of that command, there may be other things to try, but start there.

        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
        • J
          juju
          last edited by

          Ok - Here comes the newbie questions.  My pfsense box was custom built. Not sure how to connect to it via shell prompt. ( what cable do I need - console, usb, Ethernet ). I tried connecting via ssh but it kept timing out.

          Will appreciate some help to figure out how to connect. I cant reach the box at all.

          1 Reply Last reply Reply Quote 0
          • DerelictD
            Derelict LAYER 8 Netgate
            last edited by

            That depends on the hardware.

            It might be a VGA monitor and keyboard.

            Might be a serial port.

            Might be a USB port that presents as a serial converter.

            You built it so only you know.

            Chattanooga, Tennessee, USA
            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
            Do Not Chat For Help! NO_WAN_EGRESS(TM)

            1 Reply Last reply Reply Quote 0
            • J
              juju
              last edited by

              Someone built it for me.  I have attached a picture of the back of the machine here. Perhaps some can advise what cable to get to connect with my windows pc? I connected an ethernet cable to it and tried ssh but always timed out. so not sure how else to connect to it.

              IMG_0385.JPG
              IMG_0385.JPG_thumb

              1 Reply Last reply Reply Quote 0
              • DerelictD
                Derelict LAYER 8 Netgate
                last edited by

                Connect a monitor to the HDMI or DVI port and a USB keyboard.

                Chattanooga, Tennessee, USA
                A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                Do Not Chat For Help! NO_WAN_EGRESS(TM)

                1 Reply Last reply Reply Quote 0
                • J
                  juju
                  last edited by

                  Thank you! I am in! Doing what jimp instructed. Will report back.

                  So far it seems to be updating the core repository - first message that came up:

                  pkg: https://pkg.pfsense.org/pfsense_v2_4_2_amd64-core/meta.txz no address record
                  repository pfsense-core has no meta file, using default settings

                  then it said: unable to update repository pfsense-core
                  updating pfsense repository catalogue ..

                  all the error messages during boot was related to php failing to start

                  I also noticed that it was showing that i had 2.4.2.  - wondering if the upgrade worked but something got messed up

                  1 Reply Last reply Reply Quote 0
                  • J
                    juju
                    last edited by

                    @jimp:

                    Before doing anything else, try this from a shell prompt:

                    pkg install -fy pear-Net_IPv6-1.3.0.b2_2

                    If that doesn't help, depending on the output of that command, there may be other things to try, but start there.

                    Unable to update repository pfsense
                    error updating repositories

                    1 Reply Last reply Reply Quote 0
                    • J
                      juju
                      last edited by

                      So I decided to do a clean install whilst using the existing config in the process. It worked. I can now access the GUI and everything seems to be working.

                      However, during the reboot after the install there were lots of error messages - things not found. Also, i still see snort annd suricata shown under status -> services ( with a stopped status) though I have none of them even installed. I think something is still messed up. How can I clean this up?  Picture attached.

                      services.JPG
                      services.JPG_thumb

                      1 Reply Last reply Reply Quote 0
                      • GertjanG
                        Gertjan
                        last edited by

                        Hi,

                        When you (re) install, pfSense is clean - and then you set it up with your local settings. This could be as simple as : have it read a copy of your earlier config.xml file.

                        If this config file contains info about packages that were present at that time when the copy was made, pfSense will re-install the packages in the background. If the related settings are 'wrong', well, then many things can happen.

                        Just have a look at the config.xml file - it's very readable by humans) and use the magic key shortcut Ctrl-F and look for "snort" and "suricate".

                        If these are present, I advise you to re install pfSense again, NOT importing your config.xml, but use it as a guideline to redo your setup like WAN access, networks, etc. You'll be done in several minutes, and winding up with a clean box.

                        No "help me" PM's please. Use the forum, the community will thank you.
                        Edit : and where are the logs ??

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