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

After upgrading to the latest 2.7 DEV the main web page is blank

CE 2.7.0 Development Snapshots (Retired)
4
16
1.7k
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
    D a l @D a l
    last edited by Oct 4, 2022, 7:45 AM

    @d-a-l
    If I SSH into to FW and choose option 12) PHP shell + pfSense tools and type in:

    pfSense shell: resetwebgui
    pfSense shell: exec
    

    It produces an error. Could it be related?

    Parse error: syntax error, unexpected end of file in /usr/local/sbin/pfSsh.php(374) : eval()'d code on line 6
    
    1 Reply Last reply Reply Quote 0
    • B
      bmeeks
      last edited by Oct 4, 2022, 1:40 PM

      These issues would indicate either a failed-to-complete upgrade attempt, or something is going wrong with the physical disk media. The "unexpected end of file" error screams corrupt file.

      If you have console access and/or SSH access, grab a copy of the config.xml file from /cf/conf and save it off the box (or, if you have Automatic Config Backup enabled, you can use that during the reinstall).

      Download a fresh pfSense DEVEL snapshot and reinstall from scratch importing the old config.xml (or restoring it from ACB if you had that enabled).

      D 1 Reply Last reply Oct 4, 2022, 8:19 PM Reply Quote 0
      • D
        D a l @bmeeks
        last edited by Oct 4, 2022, 8:19 PM

        @bmeeks
        Thanks for answering.
        Not exactly the answer I was hoping for, though. That's what we get for living on the edge I guess.
        Will the config.xml file restore everything?
        I remember having a hard time setting up the lagg interface and place VLANs on top of that.

        Thanks

        B 1 Reply Last reply Oct 4, 2022, 8:44 PM Reply Quote 0
        • B
          bmeeks @D a l
          last edited by bmeeks Oct 4, 2022, 8:47 PM Oct 4, 2022, 8:44 PM

          @d-a-l said in After upgrading to the latest 2.7 DEV the main web page is blank:

          @bmeeks
          Thanks for answering.
          Not exactly the answer I was hoping for, though. That's what we get for living on the edge I guess.
          Will the config.xml file restore everything?
          I remember having a hard time setting up the lagg interface and place VLANs on top of that.

          Thanks

          Yes, providing you have a recent backup that includes that configuration (or hopefully you can recover the actual config.xml file directly from the firewall before reinstalling).

          And, yes, using the DEVEL snapshots means putting up with breakage from time to time. That's why it's really not suitable for a production setup or even for a critical home setup. Best to play with DEVEL if you have a VM setup where you can instantly rollback to a previous snapshot. That assumes you take a snapshot before doing anything major when running pfSense as a virtual machine.

          D 2 Replies Last reply Oct 4, 2022, 8:47 PM Reply Quote 0
          • D
            D a l @bmeeks
            last edited by Oct 4, 2022, 8:47 PM

            @bmeeks Thanks.
            Will try this tomorrow.
            The actual file from the FW is backed up and good to go

            1 Reply Last reply Reply Quote 0
            • D
              D a l @bmeeks
              last edited by Oct 7, 2022, 1:06 PM

              @bmeeks
              Hi again. I've done some more testing on this

              I probably need to tell the whole story here:
              It all started when I did an upgrade from the 20220729-0600 build to the 20220922-1830 build I think it was.
              It failed to boot until I changed kernel in the startup.
              After that, the server booted, but no web page anymore.

              And now I can't even boot from the DEV ISO's located here

              But if I try to boot from the STABLE v.2.6. ISO, it seems to make it all the way to where the actual installation starts.

              This is why I think it must be something implemented in the latest DEV builds that causes the server to crash.

              Rolling back to an older BIOS does not help either

              I would love to try to go back to the 20220729-0600 BUILD / ISO, but that file is not located on the download page any more. If anyone has a link to it, it would be much appreciated.

              The 2 exact error messages from the DELL DRAC are:
              System BIOS has halted and is unable to continue.
              A CPU invalid opcode exception (type 0x06) occurred in the pre-boot UEFI environment. The software attempted to execute invalid code.

              1 Reply Last reply Reply Quote 0
              • B
                bmeeks
                last edited by Oct 7, 2022, 2:20 PM

                System BIOS has halted and is unable to continue.
                A CPU invalid opcode exception (type 0x06) occurred in the pre-boot UEFI environment. The software attempted to execute invalid code.

                That's an ominous sounding error ...

                I'm tagging @stephenw10 here because he is the hardware expert. Hopefully he will get notice of being mentioned in this thread and chime in.

                1 Reply Last reply Reply Quote 0
                • S
                  stephenw10 Netgate Administrator
                  last edited by Oct 8, 2022, 2:10 PM

                  Mmm, that's not something I've seen before. There is some work happening with the UEFI loader currently though so it's possible that has affected it.

                  I assume 2.6 installs and boots as expected on this hardware?

                  Steve

                  D 1 Reply Last reply Oct 9, 2022, 7:00 AM Reply Quote 0
                  • D
                    D a l @stephenw10
                    last edited by Oct 9, 2022, 7:00 AM

                    @stephenw10 yes, 2.6 seems to work fine

                    1 Reply Last reply Reply Quote 0
                    • S
                      stephenw10 Netgate Administrator
                      last edited by Oct 9, 2022, 11:45 AM

                      What did you change the kernel to when it initially failed to boot after upgrade?

                      If it loaded the kernel from the earlier FreeBSD 12 based snapshot it's not surprising that a lot of things didn't run correctly.

                      Where does it actually stop when you try to boot a current 2.7 snap?

                      D 1 Reply Last reply Oct 10, 2022, 7:24 AM Reply Quote 0
                      • D
                        D a l @stephenw10
                        last edited by Oct 10, 2022, 7:24 AM

                        @stephenw10
                        When I first upgraded to 20220922-1830 and it failed, I changed the kernel at the pfSense boot menu from kernel 1 to kernel 2 (the older kernel I guess), and then it booted. But no GUI anymore.
                        The firewall seems to work fine otherwise.
                        I have upgraded it many times since, and it always boots now, but no GUI.

                        The problem I have now is that I can't even boot the DEV ISO's to reinstall the FW software, as it crashes already before launching the installer wizard.
                        The v2.6 ISO boots fine

                        I will try to get you a picture from where it crashes

                        D G 2 Replies Last reply Oct 10, 2022, 7:39 AM Reply Quote 0
                        • D
                          D a l @D a l
                          last edited by Oct 10, 2022, 7:39 AM

                          Or better yet, is there a way to log the boot sequence to a file?

                          1 Reply Last reply Reply Quote 0
                          • G
                            Gertjan @D a l
                            last edited by Oct 10, 2022, 8:22 AM

                            @d-a-l said in After upgrading to the latest 2.7 DEV the main web page is blank:

                            The problem I have now is that I can't even boot the DEV ISO's to reinstall the FW software, as it crashes already before launching the installer wizard.

                            That has nothing to do with what's on the system's 'disk'.
                            If the installer stops "installing", go back to the previous stable version, like 2.6.0, and wait for a stable dev 2.7.0. to show up.

                            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
                            • S
                              stephenw10 Netgate Administrator
                              last edited by Oct 10, 2022, 11:43 AM

                              Or try re-installing 2.6 and upgrading to 2.7 again. See if the problem is at least repeatable.

                              If you enable a serial console you can get the full boot output that way. Otherwise you can get the dmesg output and /var/log/dmesg.boot via ssh.

                              Steve

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