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

Upgrade from 2.7.0 to 2.7.2: boot loop issue

Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
8 Posts 2 Posters 622 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.
  • P
    pareo
    last edited by pareo May 13, 2024, 3:53 PM May 13, 2024, 3:46 PM

    Hi,

    I run since several years Pfsense on a Zotac ZBOX-ID89 : https://www.zotac.com/old_zotac/index.php?id=170160&L=0&tx_zoprodisp_pi1%5Bel%5D=10&tx_zoprodisp_pi1%5Bproduid%5D=5191

    1. First, I had an issue to update it from console:

     0) Logout (SSH only)                  9) pfTop                                                                                                                                                                                                                                          
     1) Assign Interfaces                 10) Filter Logs                                                                                                                                                                                                                                    
     2) Set interface(s) IP address       11) Restart webConfigurator                                                                                                                                                                                                                        
     3) Reset webConfigurator password    12) PHP shell + pfSense tools                                                                                                                                                                                                                      
     4) Reset to factory defaults         13) Update from console                                                                                                                                                                                                                            
     5) Reboot system                     14) Disable Secure Shell (sshd)                                                                                                                                                                                                                    
     6) Halt system                       15) Restore recent configuration                                                                                                                                                                                                                   
     7) Ping host                         16) Restart PHP-FPM                                                                                                                                                                                                                                
     8) Shell      
                                                                                                                                                                                                                                                                       
                                                                                                                                                                                                                                                                                             
    Enter an option: 13                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                             
    ERROR: It was not possible to determine pkg remote version                                                                                                                                                                                                                               
    >>> Updating repositories metadata...                                                                                                                                                                                                                                                    
    Updating pfSense-core repository catalogue...                                                                                                                                                                                                                                            
    pkg-static: An error occured while fetching package
    pkg-static: An error occured while fetching package
    repository pfSense-core has no meta file, using default settings
    pkg-static: An error occured while fetching package
    pkg-static: An error occured while fetching package
    Unable to update repository pfSense-core
    Updating pfSense repository catalogue...
    pkg-static: An error occured while fetching package
    pkg-static: An error occured while fetching package
    repository pfSense has no meta file, using default settings
    pkg-static: An error occured while fetching package
    pkg-static: An error occured while fetching package
    Unable to update repository pfSense
    Error updating repositories!
    ERROR: It was not possible to determine pfSense-upgrade remote version
    ERROR: It was not possible to determine pfSense-upgrade remote version
    >>> Upgrading pfSense-upgrade... failed.
    

    2. So I ran "certctl rehash"

    Scanning /usr/share/certs/untrusted for certificates...
    Scanning /usr/share/certs/trusted for certificates...
    Scanning /usr/local/share/certs for certificates...
    

    3. And could run the update:
    update log

    4. But it never came back from reboot.
    Since I am away from this Pfsense, I asked a local user who sent me some videos and pictures: there is a boot loop, but I don't know why and how to fix it remotely (or giving basic instructions to non IT users).

    The pictures and video: https://imgur.com/a/DDhXP8o

    Could you please help me?

    Thanks in advance for your kind help!

    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by May 13, 2024, 5:06 PM

      Hmm, that looks like it tries to switch to the EFI console and then has an issue. An issue sufficiently bad that it just reboots.

      Did it have a monitor attached when it first failed?
      I have seen devices fail when trying to use 4K because it's a default.

      P 1 Reply Last reply May 13, 2024, 6:04 PM Reply Quote 0
      • P
        pareo @stephenw10
        last edited by May 13, 2024, 6:04 PM

        @stephenw10 thanks for your quick answer.
        As far as I know, the screen was only connected after the issue happened, to check if there were some relevant error messages.
        So no screen connected before this issue.

        1 Reply Last reply Reply Quote 0
        • S
          stephenw10 Netgate Administrator
          last edited by May 13, 2024, 6:25 PM

          Hmm, we've seen a few systems present like that. Mostly virtualised. However I've never seen a system reset like that when it did.

          Does that system have a com port? Is it enabled?

          P 1 Reply Last reply May 13, 2024, 8:24 PM Reply Quote 0
          • P
            pareo @stephenw10
            last edited by May 13, 2024, 8:24 PM

            @stephenw10 This one is not virtualized.
            This Zotac has indeed a com port:
            picture
            It is maybe enable in the BIOS, but :

            • there is nothing plugged in this port
            • this config has not changed and worked perfectly before this upgrade attempt.
            1 Reply Last reply Reply Quote 0
            • S
              stephenw10 Netgate Administrator
              last edited by May 13, 2024, 9:41 PM

              Hmm, can you check the serial console?

              Can you try booting legacy instead of UEFI?

              P 1 Reply Last reply May 14, 2024, 11:03 AM Reply Quote 0
              • P
                pareo @stephenw10
                last edited by May 14, 2024, 11:03 AM

                @stephenw10 It was already set to Legacy only:
                alt text

                So I made it changed to UEFI:
                alt text

                Which solved the boot loop, so Pfsense could finish its upgrade:
                alt text

                And voila, it was a relief to see this prompt!
                alt text

                Thanks for your kind help stephen in finding the solution remotely, you saved me a 3-hour drive!

                1 Reply Last reply Reply Quote 0
                • S
                  stephenw10 Netgate Administrator
                  last edited by May 14, 2024, 11:50 AM

                  Huh. Well that's unexpected. It was clearly loaded the EFI console previously. https://imgur.com/4lH0PK0

                  Good result though. 😁

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