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

Web GUI broken after upgrade pfsense

Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
16 Posts 5 Posters 2.1k 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.
  • G
    gig93
    last edited by gig93 Mar 27, 2020, 4:39 PM Mar 27, 2020, 4:37 PM

    I just started working in 1 place and for first time with Pfsense . The guy before me said that i should update pfsense because i he was too lazy to do it and he was fierd and i was the new guy whatever. Pfsense was not updated since 2016. It was 2.3.1 version and it shows "unable to check for updates and also "Unable to retrieve package information." . I read here how to update to newer vesion when i get this errors and decide to do it, but it was mistake maybe and become a full mess ...
    Now im even afraid to reboot the router. I have internet now and everything just can't access Web GUI from browser, but i need it.

    For update i run this in shell

    pkg-static update -f
    pkg install pfSense-base
    pfSense-upgrade -d

    It shows some warnigs and now this is the screen i see
    90740394_174305100192458_5022986083990765568_n.jpg

    and after this my gui is broken when i try to open it i get 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 tried also
    pkg update -f
    pkg upgrade -f

    but no success

    I don't know what to do and how to fix this. I also created backup file before upgrade but dont know how to restore it from console...Sorry for the dumb question but now if i have the new version?

    I hope someone can help me. Sorry for bad english.

    1 Reply Last reply Reply Quote 0
    • K
      kiokoman LAYER 8
      last edited by kiokoman Mar 27, 2020, 5:18 PM Mar 27, 2020, 4:54 PM

      try with

      pkg-static upgrade pfSense-upgrade
      pfSense-upgrade -4
      pkg install -fy php72-pear-Net_IPv6-1.3.0.b2_2
      

      these errors in nearly all cases are a harmless side effect of the changes done during the upgrade.
      if everything is updated with that command try to reboot again and see if they are still there

      You could reinstall everything with

      pkg clean -ay; pkg upgrade -f
      

      ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
      Please do not use chat/PM to ask for help
      we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
      Don't forget to Upvote with the 👍 button for any post you find to be helpful.

      G 1 Reply Last reply Mar 30, 2020, 6:12 AM Reply Quote 0
      • S
        stephenw10 Netgate Administrator
        last edited by Mar 27, 2020, 5:35 PM

        Yes, you are hitting a php version mismatch coming from such an old pfSense version. You might try this:
        https://docs.netgate.com/pfsense/en/latest/install/upgrade-troubleshooting.html#upgrade-not-offered-library-errors

        To be sure though you could just install 2.4.5 clean and restore your config into it.

        Steve

        1 Reply Last reply Reply Quote 0
        • G
          gig93 @kiokoman
          last edited by gig93 Mar 30, 2020, 6:46 AM Mar 30, 2020, 6:12 AM

          @kiokoman said in Web GUI broken after upgrade pfsense:

          try with

          pkg-static upgrade pfSense-upgrade
          pfSense-upgrade -4
          pkg install -fy php72-pear-Net_IPv6-1.3.0.b2_2
          

          these errors in nearly all cases are a harmless side effect of the changes done during the upgrade.
          if everything is updated with that command try to reboot again and see if they are still there

          You could reinstall everything with

          pkg clean -ay; pkg upgrade -f
          

          I have tried the first one i get this
          Warning: Invalid argument supplied foreach() in PEAR/Command.php on line 249
          XML Extension not foind
          pkg: POST INSTALL script failed

          i have tried the second one pkg clean -ay; pkg upgrade -f i get this

          13.JPG

          14.JPG

          15.JPG

          12345.JPG

          I don't know how to do.

          The GUI give me the same error after reinstall everything and try the first command

          I also tried pkg-static clean -ay; pkg-static install -fy pkg pfSense-repo pfSense-upgrade gui still not working and give me the same error.

          Also my vpn connection i'snt working anymore

          1 Reply Last reply Reply Quote 0
          • K
            kiokoman LAYER 8
            last edited by kiokoman Mar 30, 2020, 9:42 AM Mar 30, 2020, 9:42 AM

            well,it's time to reinstall, save your /cf/conf/config.xml somewhere (with scp or winscp or a usb stick), do a clean install and restore from backup

            ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
            Please do not use chat/PM to ask for help
            we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
            Don't forget to Upvote with the 👍 button for any post you find to be helpful.

            G 1 Reply Last reply Apr 1, 2020, 12:06 PM Reply Quote 0
            • S
              stephenw10 Netgate Administrator
              last edited by Mar 30, 2020, 12:24 PM

              Yes I would reinstall clean from there. Even if you were able to regain access to the GUI there is no way you could be sure what you ended up with is correctly installed.

              Steve

              1 Reply Last reply Reply Quote 0
              • G
                gig93 @kiokoman
                last edited by Apr 1, 2020, 12:06 PM

                @kiokoman said in Web GUI broken after upgrade pfsense:

                well,it's time to reinstall, save your /cf/conf/config.xml somewhere (with scp or winscp or a usb stick), do a clean install and restore from backup

                What steps do I need to follow to do clean install and restore config file? It will be my first time? Iam noob in this.

                I first downloaded img file for memestick installation ver 2.4.5. I use Rufus 3.8 to create usb flash drive installation. Several partitions were created. One is 35MB. Can I make a folder there and put config.xml file inside? Then I have to boot from usb and is it possible during install to import the config.xml file or should I setup wan and lan somehow to access the web GUI and then import the file from there?
                Another question I have 2 backup files. The first i download i have cheked box "Do Not Backup RRD Data" and it is about 200kb. Second i dont check this box and xml file is about 5mb. Witch of this 2 files shoud i use to restore after ir during install.

                1 Reply Last reply Reply Quote 0
                • K
                  kiokoman LAYER 8
                  last edited by kiokoman Apr 1, 2020, 12:21 PM Apr 1, 2020, 12:17 PM

                  RRD = round robin database, it handle time series data such as network bandwidth, to populate the graph, it's up to you both are good,

                  https://docs.netgate.com/pfsense/en/latest/backup/automatically-restore-during-install.html

                  at the end of installation the firewall will restart. Once it’s up, if you had copied a config.xml file in the USB drive, it will automatically restore the configuration of pfSense. Note that add-on packages are reinstalled in the background and it might take a few minutes for them to be restored.

                  ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                  Please do not use chat/PM to ask for help
                  we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                  Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                  ? 1 Reply Last reply Apr 1, 2020, 12:22 PM Reply Quote 0
                  • ?
                    A Former User @kiokoman
                    last edited by Apr 1, 2020, 12:22 PM

                    @kiokoman Excuse my ignorance please. Put the config.xml in the install usb drive root folder (/)?

                    Thanks!

                    1 Reply Last reply Reply Quote 0
                    • K
                      kiokoman LAYER 8
                      last edited by Apr 1, 2020, 12:23 PM

                      modified,
                      read the official docs

                      ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                      Please do not use chat/PM to ask for help
                      we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                      Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                      1 Reply Last reply Reply Quote 0
                      • S
                        stephenw10 Netgate Administrator
                        last edited by Apr 1, 2020, 4:26 PM

                        This doc:
                        https://docs.netgate.com/pfsense/en/latest/backup/automatically-restore-during-install.html

                        Steve

                        1 Reply Last reply Reply Quote 0
                        • K
                          kiokoman LAYER 8
                          last edited by Apr 1, 2020, 4:30 PM

                          it's the same link of my post above 😎
                          I was still writing and editing my post when he replied

                          ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                          Please do not use chat/PM to ask for help
                          we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                          Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                          1 Reply Last reply Reply Quote 0
                          • S
                            stephenw10 Netgate Administrator
                            last edited by Apr 1, 2020, 4:31 PM

                            Ha, I guess I need more coffee! 🙄

                            1 Reply Last reply Reply Quote 0
                            • G
                              gig93
                              last edited by Apr 2, 2020, 5:55 AM

                              I will try to reinstall tomorrow after 5pm i hope with success. When i created usb i have 2 partition in First EFISys I have folder boot>efi i have 2 files Bootx64.efi and startup.nsh its only 778kb. Second partition is pfsense 35.4mb and readme and license txt files a create there folder "conf" and put config.xml? Is my usb stick created correct? Or just on PC i dont see other installation files...
                              12.JPG

                              One more question on install should i choose install pfsense or recover config.xml option? Thanx

                              1 Reply Last reply Reply Quote 0
                              • R
                                Rico LAYER 8 Rebel Alliance
                                last edited by Apr 2, 2020, 6:01 AM

                                With screenshots:
                                https://forum.netgate.com/topic/140169/update-failed/9

                                -Rico

                                1 Reply Last reply Reply Quote 0
                                • G
                                  gig93
                                  last edited by Apr 3, 2020, 2:56 PM

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 1
                                  1 out of 16
                                  • First post
                                    1/16
                                    Last post
                                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                    This community forum collects and processes your personal information.
                                    consent.not_received