Pfsense crashed after upgrading from 2.7.2 to 2.8.1
-
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 610No FreeBSD crash data found.||
Any ideas how to fix this without reinstalling Pfsense from zero? -
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?
-
@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 :) -
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
widgetssection 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; -
@stephenw10
thx
I fix this starting screen problem by deleting Disk widget.
But something goes wrong and now my Pfsense show me white screen with this text
" Fatal error: Uncaught Error: Failed opening required 'Net/IPv6.php' (include_path='.:/etc/inc:/usr/local/pfSense/include:/usr/local/pfSense/include/www:/usr/local/www:/usr/local/captiveportal:/usr/local/pkg:/usr/local/www/classes:/usr/local/www/classes/Form:/usr/local/share/pear:/usr/local/share/openssl_x509_crl/') in /etc/inc/util.inc:28 Stack trace: #0 /usr/local/www/guiconfig.inc(32): include_once() #1 /usr/local/www/index.php(46): require_once('/usr/local/www/...') #2 {main} thrown in /etc/inc/util.inc on line 28 "
But internet still works :)
I think easiest way will be fresh install, but should I use old back up (with disk widget deleted) on this install? -
Do you have the full report showing the complete stack trace from that php error?
Do you have a custom captive portal page?
You should be able to use a backup with or without the disks widget because a simple zfs mirror shouldn't have any problem there. But I would probably restore the config without it and then add it back manually to be sure.
-
@stephenw10
Thanks for the help
I installed and setup it from zero.