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

    php fatal error after latest update

    Scheduled Pinned Locked Moved General pfSense Questions
    7 Posts 2 Posters 1.3k 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.
    • T
      theedude
      last edited by

      Netgate SG-4860 with 21.02

      I'm also noticing that the "Obtaining update status" just spins on the widget and never finishes.

      Crash report details:

      PHP Errors:
      [01-Mar-2021 03:01:00 America/Chicago] PHP Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (@) at position 0 (@): Unexpected character in /etc/inc/certs.inc:712
      Stack trace:
      #0 /etc/inc/certs.inc(712): DateTime->__construct('@', Object(DateTimeZone))
      #1 /etc/inc/certs.inc(730): cert_format_date(NULL, NULL, false)
      #2 /etc/inc/certs.inc(1975): cert_get_dates('-----BEGIN CERT...', true, false)
      #3 /etc/inc/certs.inc(2254): cert_get_lifetime(Array, true)
      #4 /etc/inc/periodic.inc(31): cert_notify_expiring()
      #5 /etc/rc.periodic(27): periodic_daily()
      #6 {main}
      thrown in /etc/inc/certs.inc on line 712

      No FreeBSD crash data found.
      _

      See the upgrade log file below

      [21.02-RELEASE][admin@eriknet.localhost]/etc/inc: less /conf/upgrade_log.latest.txt

      Setting vital flag on php72... done.
      Updating repositories metadata... done.
      21.02 version of pfSense is available
      Removing vital flag from php72... done.
      Reinstalling pkg due to ABI change...
      Checking integrity... done (0 conflicting)
      The following 1 package(s) will be affected (of 0 checked):

      Installed packages to be REINSTALLED:
      pkg-1.16.1 [pfSense]

      Number of packages to be reinstalled: 1
      [1/1] Reinstalling pkg-1.16.1...
      [1/1] Extracting pkg-1.16.1: .......... done
      You may need to manually remove /usr/local/etc/pkg.conf if it is no longer needed.

      Upgrading necessary core packages...
      Checking for upgrades (2 candidates): .. done
      Processing candidates (2 candidates): .. done
      Checking integrity... done (0 conflicting)
      The following 2 package(s) will be affected (of 0 checked):

      Installed packages to be UPGRADED:
      pfSense-base: 2.4.5_1 -> 21.02 [pfSense-core]
      pfSense-default-config-serial: 2.4.5_1 -> 21.02 [pfSense-core]

      Number of packages to be upgraded: 2

      The process will require 32 MiB more space.
      [1/2] Upgrading pfSense-default-config-serial from 2.4.5_1 to 21.02...
      [1/2] Extracting pfSense-default-config-serial-21.02: .. done
      [2/2] Upgrading pfSense-base from 2.4.5_1 to 21.02...
      [2/2] Extracting pfSense-base-21.02: .. done
      ===> Keeping a copy of current version mtree
      ===> Removing schg flag from base files
      ===> Extracting new base tarball
      ===> Removing static obsoleted files

      Upgrading necessary packages...
      Checking for upgrades (99 candidates): .......... done
      Processing candidates (99 candidates): .......... done
      Checking integrity... done (51 conflicting)

      • php74-7.4.15 [pfSense] conflicts with php72-7.2.29 [installed] on /usr/local/bin/php
      • php74-7.4.15 [pfSense] conflicts with php72-hash-7.2.29 [installed] on /usr/local/include/php/ext/hash/php_hash.h
      • php74-pecl-rrd-2.0.1_1 [pfSense] conflicts with php72-pecl-rrd-2.0.1_1 [installed] on /usr/local/include/php/ext/rrd/rrd_info.h
      • php74-simplepie-1.5.1_1 [pfSense] conflicts with php72-simplepie-1.5.1_1 [installed] on /usr/local/www/simplepie/simplepie.inc
      • php74-curl-7.4.15 [pfSense] conflicts with php72-curl-7.2.29 [installed] on /usr/local/include/php/ext/curl/config.h
      • php74-tokenizer-7.4.15 [pfSense] conflicts with php72-tokenizer-7.2.29 [installed] on /usr/local/include/php/ext/tokenizer/config.h
      • php74-mbstring-7.4.15 [pfSense] conflicts with php72-mbstring-7.2.29 [installed] on /usr/local/include/php/ext/mbstring/php_mbregex.h
      • php74-session-7.4.15 [pfSense] conflicts with php72-session-7.2.29 [installed] on /usr/local/include/php/ext/session/php_session.h
      • php74-opcache-7.4.15 [pfSense] conflicts with php72-opcache-7.2.29 [installed] on /usr/local/include/php/ext/opcache/zend_file_cache.h
      • php74-xmlwriter-7.4.15 [pfSense] conflicts with php72-xmlwriter-7.2.29 [installed] on /usr/local/include/php/ext/xmlwriter/config.h
      • php74-xmlreader-7.4.15 [pfSense] conflicts with php72-xmlreader-7.2.29 [installed] on /usr/local/include/php/ext/xmlreader/config.h
      • php74-dom-7.4.15 [pfSense] conflicts with php72-dom-7.2.29 [installed] on /usr/local/include/php/ext/dom/dom_ce.h
        /conf/upgrade_log.latest.txt
      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

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

        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!

        T 2 Replies Last reply Reply Quote 1
        • T
          theedude @jimp
          last edited by

          @jimp
          I will attempt this later today and post result. Thank you.

          1 Reply Last reply Reply Quote 0
          • T
            theedude @jimp
            last edited by

            @jimp this seemed to clear up the error. So thank you for that. However, the update widget wheel still spins and never shows up to date. Anything I can do about that?

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

              Found a thread saying to try enable or disable "State Table Size" in System Information widget. Apparently it has to be enabled for the update thing on the widget to work. Anyway that did the trick.

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

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

                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!

                T 1 Reply Last reply Reply Quote 0
                • T
                  theedude @jimp
                  last edited by

                  @jimp
                  Thank you, all good now. Solved.

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