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

    PHP Error on update from 2.4p2 to 2.5 in /etc/inc/certs.inc and /etc/inc/config.lib.inc

    Scheduled Pinned Locked Moved 2.5 Development Snapshots (Retired)
    27 Posts 9 Posters 4.1k 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.
    • B
      bsquared @jimp
      last edited by

      @jimp

      Same issue here as well from 2.4.4_2 to the latest 2.5 snapshot as of April 10.

      RRD and VMTools packages installed. RRD looks to be the common one from above.

      1 Reply Last reply Reply Quote 0
      • M
        maverick_slo
        last edited by

        Hi!

        I have:

        a) Removed all packages via GUI and upgraded, same error
        b) Used command "pkg delete pfSense-pkg-*", same error

        I dont think its a package thing.

        L 1 Reply Last reply Reply Quote 0
        • L
          LostInIgnorance @maverick_slo
          last edited by LostInIgnorance

          @maverick_slo Unfortunately I was coming to the same conclusion and had opened a ticket and was sited as a duplicate. I was working off of a fresh install, all packages uninstalled and then executing an upgrade. Seems to only be tied to any of my arm based systems to me. All of my Intel based ones seem to be working just fine. I abandoned the upgrading on any of my arm systems and am sticking with 2.4.4-p2 for now.

          Fatal error: Uncaught Error: Call to undefined function gettext() in /etc/inc/certs.inc:46
          
          Stack trace:
          
          #0 /etc/inc/functions.inc(32): require_once()
          
          #1 /etc/ecl.php(21): require_once('/etc/inc/functi...')
          
          #2 {main}
          
            thrown in /etc/inc/certs.inc on line 46
          
          
          1 Reply Last reply Reply Quote 0
          • M
            maverick_slo
            last edited by

            For me it`s a Hyper-V machineso no arm...

            1 Reply Last reply Reply Quote 0
            • rbgargaR
              rbgarga Developer Netgate Administrator
              last edited by

              There was a bug in pfSense-upgrade. It should be fixed on version 0.67

              Renato Botelho

              M 1 Reply Last reply Reply Quote 0
              • M
                maverick_slo @rbgarga
                last edited by

                @rbgarga
                Great!
                So next snap should be ok?

                rbgargaR 1 Reply Last reply Reply Quote 0
                • rbgargaR
                  rbgarga Developer Netgate Administrator @maverick_slo
                  last edited by

                  @maverick_slo said in PHP Error on update from 2.4p2 to 2.5 in /etc/inc/certs.inc and /etc/inc/config.lib.inc:

                  @rbgarga
                  Great!
                  So next snap should be ok?

                  yes

                  Renato Botelho

                  B 1 Reply Last reply Reply Quote 0
                  • B
                    bsquared @rbgarga
                    last edited by

                    @rbgarga said in PHP Error on update from 2.4p2 to 2.5 in /etc/inc/certs.inc and /etc/inc/config.lib.inc:

                    @maverick_slo said in PHP Error on update from 2.4p2 to 2.5 in /etc/inc/certs.inc and /etc/inc/config.lib.inc:

                    @rbgarga
                    Great!
                    So next snap should be ok?

                    yes

                    Excellent, thank you!

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

                      Just had a very similar, if not the same problem today, after deciding to test out 2.5.

                      From 2.4.4-p2, using the gui to upgrade.
                      System rebooted, but threw all manner of issues on the boot, leaving the system broken.

                      Root cause was at some point during the initial boot php-fpm crashed, and tried to write its core dump to /var/run/php-fpm.core
                      /var/run however is a 3.4MB ramdisk, so it failed to write the dump, and subsequently a lot of the upgrade process failed due to lack of disk space.

                      rbgargaR 1 Reply Last reply Reply Quote 0
                      • M
                        maverick_slo
                        last edited by

                        I just upgraded to 2.5 with no issues.

                        Thanks it`s fixed.

                        1 Reply Last reply Reply Quote 0
                        • rbgargaR
                          rbgarga Developer Netgate Administrator @tandyuk
                          last edited by

                          @tandyuk said in PHP Error on update from 2.4p2 to 2.5 in /etc/inc/certs.inc and /etc/inc/config.lib.inc:

                          Just had a very similar, if not the same problem today, after deciding to test out 2.5.

                          From 2.4.4-p2, using the gui to upgrade.
                          System rebooted, but threw all manner of issues on the boot, leaving the system broken.

                          Root cause was at some point during the initial boot php-fpm crashed, and tried to write its core dump to /var/run/php-fpm.core
                          /var/run however is a 3.4MB ramdisk, so it failed to write the dump, and subsequently a lot of the upgrade process failed due to lack of disk space.

                          This sounds like a different issue. I never heard about php-fpm crash during upgrade before

                          Renato Botelho

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

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