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 37.9k 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.
    • mtarboxM
      mtarbox @stephenw10
      last edited by

      @stephenw10 well of course I jumped on that sword.
      Everything seemed fine when I left the house this morning, and I haven't had any angry texts yet today.

      Si vis pacem, para pactum.

      T 1 Reply Last reply Reply Quote 0
      • T
        tedquade @mtarbox
        last edited by

        @mtarbox 23.01-RC (amd64)
        built on Sun Jan 08 15:18:55 UTC 2023
        FreeBSD 14.0-CURRENT

        Upgrade was uneventful.

        Ted Quade

        C mtarboxM 2 Replies Last reply Reply Quote 1
        • C
          chickendog @tedquade
          last edited by

          @tedquade Nice! just came up for me too. Done without any issue as well.

          9308c0c5-fa6f-4ef7-8ee3-dc61e4af5b70-image.png

          1 Reply Last reply Reply Quote 1
          • mtarboxM
            mtarbox @tedquade
            last edited by

            @tedquade rolled it back, THANK GOODNESS FOR ZFS, rebooted to 23.01.b, and voila, there was the RC, all nice and shiny. Gave it the old cli razzle-dazzle, reboot, and after acknowledging things, all was good in my world. Also deleted the 23.05 environment.

            Si vis pacem, para pactum.

            1 Reply Last reply Reply Quote 2
            • S
              swampkracker
              last edited by

              Successful update to 23.01.r.20230108.1514

              M 1 Reply Last reply Reply Quote 0
              • M
                michaellacroix @swampkracker
                last edited by

                @swampkracker

                The dev branch on my pfsense still only shows 23.01.b.20230106.0600 available. No RC

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

                  If you're running 22.05 that's what it will show. Once you upgrade to that you will see RC available.

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    michaellacroix @stephenw10
                    last edited by

                    @stephenw10

                    OK, got it.. Thanks

                    1 Reply Last reply Reply Quote 0
                    • S
                      serzyfritz
                      last edited by

                      Updated this morning and everything looks to have gone well after a few reboots and reloads to make pfblocker happy.

                      However, I noticed that I no longer have any selections for Branch
                      9a5148fb-195b-4cff-a32e-f4f029a9a2c9-image.png
                      d9fd2ad7-37d6-4934-8b2b-59120654dc57-image.png

                      I was also expecting to now see an RC option but do not see that.

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

                        Most likely your NDI changed from that originally registered. Did you change the hardware?

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          serzyfritz @stephenw10
                          last edited by serzyfritz

                          @stephenw10 said in Attempting to update to 23.01 DEVEL corrupts my pfSense installation:

                          Most likely your NDI changed from that originally registered. Did you change the hardware?

                          Nope same exact hardware no changes. Was setup about a week and a half ago updated to plus and was waiting for the RC so I did the update this morning with no changes to hardware.

                          I can provide my ID if needed.

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

                            Yes, PM me your NDI so I can check it.

                            S 1 Reply Last reply Reply Quote 0
                            • P
                              pfsjap
                              last edited by

                              On Netgate 1100 upgrade from 22.05 to 23.01 didn't go well. After changing the update branch to Latest Development Snapshots, 23.01.b.20230106.0600 was offered and accepted. Gui showed the following errors early on, but other than that, upgrade seemed to go through:

                              Updating pfSense repository catalogue...
                              Fetching meta.conf: . done
                              Fetching packagesite.pkg: .......... done
                              Processing entries: 
                              pkg-static: Newer FreeBSD version for package wol:
                              To ignore this error set IGNORE_OSVERSION=yes
                              - package: 1400073
                              - running kernel: 1203506
                              
                              pkg-static: repository pfSense contains packages for wrong OS version: FreeBSD:14:aarch64
                              Processing entries... done
                              Unable to update repository pfSense
                              Error updating repositories!
                              

                              When 1100 restarted, Crash report greeted me:

                              Crash report begins.  Anonymous machine information:
                              
                              arm64
                              14.0-CURRENT
                              FreeBSD 14.0-CURRENT #0 plus-devel-main-n255998-693fad75fe3: Fri Jan  6 06:26:59 UTC 2023     root@freebsd:/var/jenkins/workspace/pfSense-Plus-snapshots-master-main/obj/aarch64/VbZl2vrO/var/jenkins/workspace/pfSense-Plus-snapshots-master-main/sources/Free
                              
                              Crash report details:
                              
                              PHP Errors:
                              [10-Jan-2023 12:00:31 UTC] PHP Warning:  Failed loading Zend extension 'opcache.so' (tried: /usr/local/lib/php/20210902/opcache.so (/usr/local/lib/php/20210902/opcache.so: Undefined symbol "zend_inheritance_cache_get"), /usr/local/lib/php/20210902/opcache.so.so (Cannot open "/usr/local/lib/php/20210902/opcache.so.so")) in Unknown on line 0
                              [10-Jan-2023 12:00:31 UTC] PHP Warning:  PHP Startup: session: Unable to initialize module
                              Module compiled with module API=20210902
                              PHP    compiled with module API=20190902
                              These options need to match
                               in Unknown on line 0
                              [10-Jan-2023 12:00:31 UTC] PHP Warning:  PHP Startup: bcmath: Unable to initialize module
                              Module compiled with module API=20210902
                              PHP    compiled with module API=20190902
                              These options need to match
                               in Unknown on line 0
                              .
                              .
                              .
                              10-Jan-2023 12:03:06 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'xmlreader.so' (tried: /usr/local/lib/php/20210902/xmlreader.so (/usr/local/lib/php/20210902/xmlreader.so: Undefined symbol "dom_node_class_entry"), /usr/local/lib/php/20210902/xmlreader.so.so (Cannot open "/usr/local/lib/php/20210902/xmlreader.so.so")) in Unknown on line 0
                              [10-Jan-2023 14:03:06 Europe/Helsinki] PHP Fatal error:  Uncaught TypeError: Return value of g_get() must be an instance of mixed, string returned in /etc/inc/globals.inc:411
                              Stack trace:
                              #0 /etc/inc/globals.inc(129): g_get('product_version')
                              #1 /etc/inc/config.inc(29): require_once('/etc/inc/global...')
                              #2 /usr/local/pkg/wireguard/includes/wg_service.inc(24): require_once('/etc/inc/config...')
                              #3 {main}
                                thrown in /etc/inc/globals.inc on line 411
                              [10-Jan-2023 14:03:17 Europe/Helsinki] PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /usr/local/pkg/pfblockerng/pfblockerng.inc:1475
                              Stack trace:
                              #0 /usr/local/pkg/pfblockerng/pfblockerng.inc(7241): pfb_build_if_list(true, false)
                              #1 /usr/local/pkg/pfblockerng/pfblockerng.inc(10790): sync_package_pfblockerng()
                              #2 /etc/inc/pkg-utils.inc(781) : eval()'d code(1): pfblockerng_php_pre_deinstall_command()
                              #3 /etc/inc/pkg-utils.inc(781): eval()
                              #4 /etc/inc/pkg-utils.inc(1093): eval_once('pfblockerng_php...')
                              #5 /etc/rc.packages(80): delete_package_xml('pfBlockerNG-dev...', 'deinstall')
                              #6 {main}
                                thrown in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 1475
                              
                              No FreeBSD crash data found.
                              

                              Checking update version failed, so before recovering back to 22.05 there was no harm in trying these commands mentioned earlier in this thread:

                              [22.05-RELEASE][root@plusdev-3.stevew.lan]/usr/local/libexec: rm /usr/local/etc/pkg/repos/pfSense.conf 
                              [22.05-RELEASE][root@plusdev-3.stevew.lan]/usr/local/libexec: ln /usr/local/share/pfSense/pkg/repos/pfSense-repo-devel.conf /usr/local/etc/pkg/repos/pfSense.conf
                              

                              After that update indicated that 23.01.r.20230108.1514 was available and that went through to 23.01-RC without errors.

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

                                Hmm, yeah those errors you see are the result of an incomplete upgrade for some reason.

                                I would guess it was because pfBlocker failed to complete it's uninstall script.

                                The initial error is expected the pfSense-upgrade script allows it to continue past the ABI mismatch.

                                1 Reply Last reply Reply Quote 0
                                • P
                                  pfsjap
                                  last edited by

                                  Upgraded from 22.05 to 23.01-BETA last month without any trouble pfBlogger being the same version as today (3.1.0_9).

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

                                    Hmm, could be a new bug caused by some other changes then. The errors you see before that though show a PHP version mismatch.

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      serzyfritz @stephenw10
                                      last edited by

                                      @stephenw10 said in Attempting to update to 23.01 DEVEL corrupts my pfSense installation:

                                      Yes, PM me your NDI so I can check it.

                                      Sent via Chat function

                                      P 1 Reply Last reply Reply Quote 0
                                      • P
                                        pistolpeet @serzyfritz
                                        last edited by pistolpeet

                                        Just updated to 23.01-BETA. Was expecting to see 23.01-RC. Even after a few reboots, update checks, and brach changes the option does not exist. Any guidance would be greatly appreciated.
                                        Screenshot 2023-01-10 at 4.50.41 PM.png

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

                                          There is some work happening the backend repos right now, that's expected.

                                          P M 2 Replies Last reply Reply Quote 0
                                          • P
                                            pistolpeet @stephenw10
                                            last edited by

                                            @stephenw10 Thank you!

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