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

    Pfsense crashed after upgrading from 2.7.2 to 2.8.1

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 2 Posters 1.8k Views 2 Watching
    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.
    • S Offline
      shteud1
      last edited by

      I performed update from 2.7.2 to 2.8.1
      And after boot Pfsense I got this crash report
      Dashboard filed. Only react on opening report page, from which I can go to any page except Dashboard. And it seems like fully works.
      It's looks like it partially updated 2.8.1 but not fully Oo
      Crash report begins. Anonymous machine information:

      amd64
      15.0-CURRENT
      FreeBSD 15.0-CURRENT #21 RELENG_2_8_1-n256095-47c932dcc0e9: Thu Aug 28 16:27:48 UTC 2025 root@pfsense-build-release-amd64-1.eng.atx.netgate.com:/var/jenkins/workspace/pfSense-CE-snapshots-2_8_1-main/obj/amd64/AupY3aTL/var/jenkins/workspace/pfSense-CE-

      Crash report details:

      ||PHP Errors:
      [13-Sep-2025 18:56:32 Europe/Kiev] PHP Fatal error: Uncaught TypeError: Nette\Utils\Html::insert(): Argument #2 ($child) must be of type Nette\HtmlStringable|string, null given, called in /usr/local/pfSense/include/vendor/nette/utils/src/Utils/Html.php on line 580 and defined in /usr/local/pfSense/include/vendor/nette/utils/src/Utils/Html.php:610
      Stack trace:
      #0 /usr/local/pfSense/include/vendor/nette/utils/src/Utils/Html.php(580): Nette\Utils\Html->insert(NULL, NULL)
      #1 /usr/local/www/widgets/include/disks.inc(100): Nette\Utils\Html->addHtml(NULL)
      #2 /usr/local/www/widgets/widgets/disks.widget.php(65): disks_compose_widget_table(Array)
      #3 /usr/local/www/index.php(428): include('/usr/local/www/...')
      #4 {main}
      thrown in /usr/local/pfSense/include/vendor/nette/utils/src/Utils/Html.php on line 610
      [13-Sep-2025 18:56:37 Europe/Kiev] PHP Fatal error: Uncaught TypeError: Nette\Utils\Html::insert(): Argument #2 ($child) must be of type Nette\HtmlStringable|string, null given, called in /usr/local/pfSense/include/vendor/nette/utils/src/Utils/Html.php on line 580 and defined in /usr/local/pfSense/include/vendor/nette/utils/src/Utils/Html.php:610
      Stack trace:
      #0 /usr/local/pfSense/include/vendor/nette/utils/src/Utils/Html.php(580): Nette\Utils\Html->insert(NULL, NULL)
      #1 /usr/local/www/widgets/include/disks.inc(100): Nette\Utils\Html->addHtml(NULL)
      #2 /usr/local/www/widgets/widgets/disks.widget.php(65): disks_compose_widget_table(Array)
      #3 /usr/local/www/index.php(428): include('/usr/local/www/...')
      #4 {main}
      thrown in /usr/local/pfSense/include/vendor/nette/utils/src/Utils/Html.php on line 610
      [13-Sep-2025 19:05:17 Europe/Kiev] PHP Fatal error: Uncaught TypeError: Nette\Utils\Html::insert(): Argument #2 ($child) must be of type Nette\HtmlStringable|string, null given, called in /usr/local/pfSense/include/vendor/nette/utils/src/Utils/Html.php on line 580 and defined in /usr/local/pfSense/include/vendor/nette/utils/src/Utils/Html.php:610
      Stack trace:
      #0 /usr/local/pfSense/include/vendor/nette/utils/src/Utils/Html.php(580): Nette\Utils\Html->insert(NULL, NULL)
      #1 /usr/local/www/widgets/include/disks.inc(100): Nette\Utils\Html->addHtml(NULL)
      #2 /usr/local/www/widgets/widgets/disks.widget.php(65): disks_compose_widget_table(Array)
      #3 /usr/local/www/index.php(428): include('/usr/local/www/...')
      #4 {main}
      thrown in /usr/local/pfSense/include/vendor/nette/utils/src/Utils/Html.php on line 610

      No FreeBSD crash data found.||
      Any ideas how to fix this without reinstalling Pfsense from zero?

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

        You can edit the config and remove the disks widget from the dashboard since that's what appears to be triggering the error.

        What disks do you have?

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

          @stephenw10 said in Pfsense crashed after upgrading from 2.7.2 to 2.8.1:

          You can edit the config and remove the disks widget from the dashboard since that's what appears to be triggering the error.

          What disks do you have?

          Thx
          I have 2x SSDs in RAID1 ZFS array (if I remember some crucial 64GB).
          How can I do what. Last time i do sth in PFsense was few years ago and don't remember anything :)

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

            Safest way is to backup the config from https://<your-firewall-ip>/diag_backup.php. Edit it then restore the config. That way pfSense will refuse to import it of you have typo'd something.

            Look in the config for the widgets section like:

            	<widgets>
            		<sequence>system_information:col1:open:0,disks:col1:open,interfaces:col2:open:0,services_status:col2:open:0,gateways:col2:open:0,snort_alerts:col2:open:0</sequence>
            		<period>10</period>
            		<gateways-0>
            			<descr><![CDATA[Gateways]]></descr>
            			<display_type>both_ip</display_type>
            			<gatewaysfilter>WAN_DHCP6</gatewaysfilter>
            		</gateways-0>
            	</widgets>
            

            Remove the disks widget. So there I would remove: disks:col1:open,

            But the widget should be fine with just a ZFS mirror. What do you see from?:
            zfs list; mount -p; geom disk list;

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