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

    Upgrade from 2.4.5 to 2.4.5_1 fails

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    5 Posts 2 Posters 697 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.
    • M
      mig
      last edited by

      I run 2.4.5 and started a system upgrade via Web UI. After pressing "Confirm" in "System / Update / System Update" the process gets stuck on "Please wait while the update system initializes" - never goes beyond that report line. Happened more than once.

      When I tried via cmd-line I see that:

      [2.4.5-RELEASE][admin@Firewall.localdomain]/root: pkg update -f
      Updating pfSense-core repository catalogue...
      Fetching meta.conf: 100%    163 B   0.2kB/s    00:01
      Fetching packagesite.txz: 100%    2 KiB   1.8kB/s    00:01
      Processing entries: 100%
      pfSense-core repository update completed. 7 packages processed.
      Updating pfSense repository catalogue...
      Fetching meta.conf: 100%    163 B   0.2kB/s    00:01
      Fetching packagesite.txz: 100%  139 KiB 142.8kB/s    00:01
      Processing entries: 100%
      pfSense repository update completed. 518 packages processed.
      All repositories are up to date.
      [2.4.5-RELEASE][admin@Firewall.localdomain]/root: pfSense-upgrade
      Another instance is already running... Aborting!
      [2.4.5-RELEASE][admin@Firewall.localdomain]/root:
      

      Looks like some "update-in-progress" flag got set and never reset. Could be a bug worth fixing.

      And could there be a way to easily fix it, for example, via reboot or manual flag removal?

      1 Reply Last reply Reply Quote 0
      • kiokomanK
        kiokoman LAYER 8
        last edited by kiokoman

        do a backup of your config from Diagnostics / backup and restore
        the package manager is indeed running, if it's stuck for a long time, search for it with ps auxwww
        kill the process
        and update from console
        at this point maybe it's better not to reboot until the process complete

        ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
        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.

        M 1 Reply Last reply Reply Quote 0
        • M
          mig @kiokoman
          last edited by

          @kiokoman When I rebooted the firewall, it got stuck (did not assign IPs to interfaces and never got to Web UI) and I had to connect a console via serial port. I could see about 10 restore points (each one saved before the Web UI upgrade request, I presume). At this point running pfSense-upgrade worked fine and succeeded. I presume a reboot cleared that "update-in-progress" flag.

          I now need to figure out why my firewall doesn't reboot :-(

          1 Reply Last reply Reply Quote 0
          • kiokomanK
            kiokoman LAYER 8
            last edited by kiokoman

            yeah the reboot cleared it but there is a possibility that your system was half upgraded after the reboot and something may not work at all.
            just to be sure that everything upgraded fine follow this doc
            https://docs.netgate.com/pfsense/en/latest/troubleshooting/upgrades.html
            if you still have trouble maybe it's better to reinstall

            ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
            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.

            M 1 Reply Last reply Reply Quote 1
            • M
              mig @kiokoman
              last edited by

              @kiokoman Thanks for the link. The upgrade log /conf/upgrade_log.latest.txt looks OK with a lot of expected stuff and no errors/warnings or anything else suspicious. Web UI also reports the expected version 2.4.5-RELEASE-p1 (amd64).

              I hope to find some time to investigate why rebooting fails but it'll have to wait for a quiet time...

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