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

Attempting to update to 23.01 DEVEL corrupts my pfSense installation

Scheduled Pinned Locked Moved Plus 23.01 Development Snapshots (Retired)
156 Posts 24 Posters 40.4k 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
    gabacho4 Rebel Alliance @stephenw10
    last edited by gabacho4 Nov 29, 2022, 3:50 PM Nov 29, 2022, 3:50 PM

    @stephenw10 I’m away right now but can easily reinstall 22.05 over the now broken installation and reattempt the 23.01 upgrade. Can you tell me specifically what commands you need me to run or screenshots to grab so that I can provide it? Has anyone at netgate been able to reproduce this issue?

    1 Reply Last reply Reply Quote 0
    • S
      stephenw10 Netgate Administrator
      last edited by Nov 29, 2022, 4:48 PM

      I would connect to the serial console and use option 13 at the menu to run the upgrade. Log the console output and should show everything we need to see.

      G 1 Reply Last reply Nov 29, 2022, 5:42 PM Reply Quote 0
      • G
        gabacho4 Rebel Alliance @stephenw10
        last edited by Nov 29, 2022, 5:42 PM

        @stephenw10 OK, fresh install of 22.05. Everything left at default; didn't even run the wizard. Go to Updates and first let it check for 22.05 updates. None. Set the repo to 23.01 and it tells me there is a build from today 29 Nov. Go into console and press 13 and here is what I get:

        Enter an option: 13
        
        >>> Creating automatic rollback boot environment... done.
        >>> Updating repositories metadata...
        Updating pfSense-core repository catalogue...
        Fetching meta.conf: . done
        Fetching packagesite.pkg: . done
        Processing entries: .. done
        pfSense-core repository update completed. 15 packages processed.
        Updating pfSense repository catalogue...
        Fetching meta.conf: . done
        Fetching packagesite.pkg: .......... done
        Processing entries: .......... done
        pfSense repository update completed. 551 packages processed.
        All repositories are up to date.
        >>> Locking package pkg... done.
        >>> Upgrading pfSense-upgrade... done.
        >>> Unlocking package pkg... done.
        >>> Setting vital flag on pfSense-upgrade... done.
        cp: /usr/local/etc/pkg/repos/pfSense.conf: No such file or directory
        >>> Updating repositories metadata...
        pkg-static: Unable to open '/usr/local/etc/pkg/repos//pfSense.conf':No such file or directory
        No active remote repositories configured.
        >>> Locking package pkg... done.
        >>> Upgrading pfSense-upgrade... failed.
        
        

        I have seen this message - /usr/local/etc/pkg/repos//pfSense.conf repeatedly.

        From this point, my pkg config will be all screwed up as I've reported.

        1 Reply Last reply Reply Quote 0
        • S
          stephenw10 Netgate Administrator
          last edited by Nov 29, 2022, 7:19 PM

          Ok, thanks. Testing....

          G M 2 Replies Last reply Nov 29, 2022, 7:45 PM Reply Quote 0
          • G
            gabacho4 Rebel Alliance @stephenw10
            last edited by Nov 29, 2022, 7:45 PM

            @stephenw10 look forward to seeing your findings.

            1 Reply Last reply Reply Quote 0
            • M
              mynamehear @stephenw10
              last edited by Nov 29, 2022, 7:54 PM

              @stephenw10 It also choked on mine as well when going to option 13 in addition to the web cinfigurator. Package repos were missing and constant Unable to Checks. FWIW and I'm probably wrong it seemed moving up and down between 2.6 to 2.7 and of course 22.05 to 23.01 was potentially corrupting a file that does not get deleted on fresh reinstalls. Why I say this is I had to use disk management software in order to truly blow away the disk and get a clean install, once done all installs went as expected.

              1 Reply Last reply Reply Quote 0
              • S
                stephenw10 Netgate Administrator
                last edited by Nov 29, 2022, 8:43 PM

                Ok I partially replicated that. Digging...

                G 1 Reply Last reply Nov 30, 2022, 2:04 PM Reply Quote 0
                • G
                  gabacho4 Rebel Alliance @stephenw10
                  last edited by Nov 30, 2022, 2:04 PM

                  @stephenw10 are you able to explain what you saw/found? Based on what I see, there is something jacked up with whatever file/information is downloaded by the router when I switch to the 23.01 repo. For kicks, I tried another fresh install, then switched to 23.01 repo....after the router downloaded whatever it pulls back from Netgate, 23.01 changed to 22.09 and then it couldn't check for updates. I tried again, and then 22.09 just became DEVEL. And now the router is unable to check for updates regardless of the repo I set. But it all starts the instant I try to use the devel repo. I feel like, and strongly suspect, that there is a bad configuration in whatever Netgate's setup/file is.

                  1 Reply Last reply Reply Quote 0
                  • S
                    stephenw10 Netgate Administrator
                    last edited by Nov 30, 2022, 2:15 PM

                    Yeah, we found the problem. Devs are working on a solution now.

                    Yes, the updated pfSebse-upgrade script is essentially switching to the new pkg system from 23.01 before it's actually pulled in the required info to use it.

                    A fix should be incoming shortly.

                    Steve

                    G 1 Reply Last reply Nov 30, 2022, 2:20 PM Reply Quote 0
                    • G
                      gabacho4 Rebel Alliance @stephenw10
                      last edited by Nov 30, 2022, 2:20 PM

                      @stephenw10 woohoo! I’m not a freaking lunatic! You’ve helped me save my sanity. Do you have an estimate when the fix might be live? I won’t hold your feet to the fire over it but just a ballpark idea.

                      1 Reply Last reply Reply Quote 0
                      • S
                        stephenw10 Netgate Administrator
                        last edited by stephenw10 Nov 30, 2022, 2:29 PM Nov 30, 2022, 2:27 PM

                        I was digging into it last night myself. I simply commented out the code to confirm what was breaking but that's not a fix. The main developer on this was also working on it so it may be fixed already. 😉
                        I'll reply here when I know more this morning.

                        Steve

                        Edit: It's not fixed yet, waiting to hear more...

                        G 2 Replies Last reply Nov 30, 2022, 2:36 PM Reply Quote 0
                        • G
                          gabacho4 Rebel Alliance @stephenw10
                          last edited by Nov 30, 2022, 2:36 PM

                          @stephenw10 ok will standby. I’m embarrassed to even think about the number of times I’ve reinstalled pfsense on that router over the last week as I’ve tried various combinations of ways to maybe get things to work.

                          T 1 Reply Last reply Dec 1, 2022, 9:34 PM Reply Quote 0
                          • T
                            tedquade @gabacho4
                            last edited by Dec 1, 2022, 9:34 PM

                            @gabacho4 Ran into the same issue. Posting here for updates on the matter.

                            Ted Quade

                            1 Reply Last reply Reply Quote 0
                            • G
                              gabacho4 Rebel Alliance @stephenw10
                              last edited by Dec 2, 2022, 1:45 PM

                              @stephenw10 wanted to check in and see if you had any idea when a fix would be completed. At this point, it’s been at least 2 weeks since I was able to install or update a 23.01 development build. Doing so itches a personal interest of course, but it’s also enabled me to help find bugs - including this show stopping bug/regression - and test fixes. I’d love to get back at it but have no ability.

                              Is this the redmine entry?

                              1 Reply Last reply Reply Quote 0
                              • S
                                stephenw10 Netgate Administrator
                                last edited by Dec 2, 2022, 4:44 PM

                                No that's not the Redmine entry for this. Let me see if there's an update yet....

                                G 1 Reply Last reply Dec 2, 2022, 4:55 PM Reply Quote 0
                                • G
                                  gabacho4 Rebel Alliance @stephenw10
                                  last edited by gabacho4 Dec 2, 2022, 4:55 PM Dec 2, 2022, 4:55 PM

                                  @stephenw10 that’d be great! Is there a redmine entry for this issue?

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    stephenw10 Netgate Administrator
                                    last edited by Dec 2, 2022, 5:11 PM

                                    Only internally right now. Let me see...

                                    1 Reply Last reply Reply Quote 0
                                    • C
                                      cloudroot
                                      last edited by Dec 5, 2022, 9:45 AM

                                      Trying to upgrade from 22.09 -> 23.01.a.20221205.0600 failing:

                                      ERROR: It was not possible to determine pkg remote version
                                      __RC=1 __REBOOT_AFTER=10
                                      ERROR: It was not possible to determine pkg remote version
                                      __RC=1 __REBOOT_AFTER=10
                                      >>> Updating repositories metadata... 
                                      pkg-static: Unable to open '/usr/local/etc/pkg/repos//pfSense.conf':No such file or directory
                                      No active remote repositories configured.
                                      >>> Locking package pkg... done.
                                      ERROR: It was not possible to determine pfSense-upgrade remote version
                                      >>> Unlocking package pkg... done.
                                      __RC=1 __REBOOT_AFTER=10
                                      ERROR: It was not possible to determine pfSense-upgrade remote version
                                      __RC=1 __REBOOT_AFTER=10
                                      >>> Upgrading pfSense-upgrade... failed.
                                      
                                      G 1 Reply Last reply Dec 5, 2022, 10:56 AM Reply Quote 0
                                      • G
                                        gabacho4 Rebel Alliance @cloudroot
                                        last edited by Dec 5, 2022, 10:56 AM

                                        @cloudroot yeah that’s the same issue. Guess it still hasn’t been fixed.

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          stephenw10 Netgate Administrator
                                          last edited by stephenw10 Dec 5, 2022, 1:50 PM Dec 5, 2022, 1:33 PM

                                          Indeed, I'm still hitting it this morning. Bug link incoming....

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

                                          P 1 Reply Last reply Dec 25, 2022, 4:07 PM Reply Quote 1
                                          25 out of 156
                                          • First post
                                            25/156
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received