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

    PfSense+ 22.05 -> 23.01 Boot Failure after Upgrade

    Scheduled Pinned Locked Moved General pfSense Questions
    31 Posts 7 Posters 5.6k 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.
    • jimpJ
      jimp Rebel Alliance Developer Netgate
      last edited by

      Also if you get those pkg errors, you might want to force a reinstall of pkg after selecting the previous stable/22.05 branch.

      : pkg-static bootstrap -f
      : pkg-static update -f
      

      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
      • R
        roach32 @SteveITS
        last edited by

        @steveits you rock! that worked great

        1 Reply Last reply Reply Quote 0
        • R
          roach32 @jimp
          last edited by roach32

          @jimp

          many thanks Jim. serial console isn't enabled. at any rate, I ordered a brand new server to replace this unit today since I have been wanting to upgrade to a proper powerful server to go the TNSR route and retire this one workstation-class box that isn't upgrading to 23.01. the 6 others will remain on pfsense +.

          1 Reply Last reply Reply Quote 0
          • SnkS
            Snk @jimp
            last edited by

            @jimp

            I'm also having this problem with Hyper-V, the system won't finish booting.
            I left it for more than 2 hours, before returning with the snapshot.
            It simply hangs on the message: masks 0x00ff0000. 0x0000ff00. 0x000000ff. 0xff000000
            And it doesn't go away for hours.

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              See: https://forum.netgate.com/topic/177220/latest-pfsense-23-01-beta-freezes-on-hyper-v

              SnkS 1 Reply Last reply Reply Quote 1
              • SnkS
                Snk @stephenw10
                last edited by

                @stephenw10

                My installation of pfsense has 15GB of disk, which leads me to believe that there is no space.
                I just tried to update again and it failed again.
                I'm completely tied hand and foot.

                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  Like it filled at update or was already full?

                  if you roll back to an earlier snapshot how much is used?

                  SnkS 1 Reply Last reply Reply Quote 0
                  • SnkS
                    Snk @stephenw10
                    last edited by

                    @stephenw10

                    This is my gpart status
                    c469d542-eee4-4325-9345-d64b0d7c8055-image.png

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      That doesn't show how much of the drive is in use. I assume you see a lot less used space in the hypervisor?

                      SnkS 1 Reply Last reply Reply Quote 0
                      • SnkS
                        Snk @stephenw10
                        last edited by Snk

                        @stephenw10

                        Do you think if I increase the size from 20GB to 80GB it will solve this installation error?

                        0d3d6979-7fbd-4fa9-bef2-0d0fd732c81b-image.png

                        1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by

                          Probably, if it;s simply filling the drive at upgrade.

                          SnkS 1 Reply Last reply Reply Quote 0
                          • SnkS
                            Snk @stephenw10
                            last edited by

                            @stephenw10

                            Would you have any tutorial on how to expand the space within pfsense?

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

                              In some cases, touch /root/force_growfs and then rebooting is sufficient. But that depends on which part of the disk is running out of space. That's quick and easy to try.

                              A clean install of a recent base is best if you can.

                              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!

                              SnkS 1 Reply Last reply Reply Quote 0
                              • SnkS
                                Snk @jimp
                                last edited by

                                @jimp

                                That's what I thought... I'm preparing the host to do a clean install of the 23.01 version and later return my backup.

                                1 Reply Last reply Reply Quote 0
                                • SnkS
                                  Snk
                                  last edited by

                                  I did a fresh install straight from version 2.6.0 to version 22.01 and 22.05. When going to s version 23.01 the same problem continues. Locks in masks and that's all... It's difficult.

                                  1 Reply Last reply Reply Quote 0
                                  • SnkS
                                    Snk
                                    last edited by

                                    Guys, any news? Did you manage to install the 23.01 version normally in Hyper-V or still nothing?

                                    1 Reply Last reply Reply Quote 0
                                    • stephenw10S
                                      stephenw10 Netgate Administrator
                                      last edited by

                                      No updates AFAIK. You're probably better posting in the linked thread above where we were looking at it during beta/RC.
                                      This is probably some issue between the boot loader and the environment presented by Hyper-V. But it only affects some instances. Testing here it always booted and ran fine.
                                      We are looking something similar we had to workaround in Azure that may also apply here. Unfortunately the workaround does not.

                                      Steve

                                      SnkS 1 Reply Last reply Reply Quote 0
                                      • SnkS
                                        Snk @stephenw10
                                        last edited by

                                        @stephenw10

                                        Hello, thanks!
                                        I'll follow up on the other thread then.
                                        I redid the installation from scratch, but the problem still persists.

                                        1 Reply Last reply Reply Quote 0
                                        • T
                                          ttmcmurry
                                          last edited by

                                          I'm experiencing a similar upgrade issue, but from pfSense CE 2.6.0 to 23.01, on Hyper-V 2022, VM configuration 10. There was a closed issue in redmine on this that I added more details to:

                                          https://redmine.pfsense.org/issues/13875

                                          I think there are two issues happening, and they seem unrelated, but they are exposed by the boot-time freeze as outlined in this thread:

                                          1. /etc/hostid isn't been saved/set after a successful upgrade. this is solveable manually after upgrade while pfSense 23.01 is running with a command in the pfSense shell
                                          2. Even if /etc/hostid is corrected, the VM freezes if being started from a power-off state, in the manner communicated.

                                          I can reproduce this 100% of the time. The only thing that makes pfSense actually start up is resetting the VM several times until it boots.

                                          1 Reply Last reply Reply Quote 0
                                          • stephenw10S
                                            stephenw10 Netgate Administrator
                                            last edited by

                                            The hostid error shown at boot is harmless:

                                            can't find '/etc/hostid'
                                            

                                            Unless you've found something different?

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