Web-GUI not starting after update to 2.7.
-
Greetings,
I have not found a thread that already mentioned it, so i post it here.
After I updated my pfSense from 2.6 to 2.7 the webgui would not reload. It only responded again after I restarted it via the shell (/etc/rc.restart_webgui).
After the GUI-Restart i had folloing php-Error:
Crash report begins. Anonymous machine information:
amd64
14.0-CURRENT
FreeBSD 14.0-CURRENT #0 devel-main-n255799-28f6f5e488e: Mon Oct 10 06:27:59 UTC 2022 root@freebsd:/var/jenkins/workspace/pfSense-CE-snapshots-master-main/obj/amd64/xD5UrgB8/var/jenkins/workspace/pfSense-CE-snapshots-master-main/sources/FreeBSD-src-devCrash report details:
PHP Errors:
[12-Oct-2022 09:52:03 Europe/Berlin] PHP Fatal error: Uncaught TypeError: ldap_get_entries(): Argument #2 ($result) must be of type LDAP\Result, bool given in /etc/inc/auth.inc:1393
Stack trace:
#0 /etc/inc/auth.inc(1393): ldap_get_entries(Object(LDAP\Connection), false)
#1 /etc/inc/auth.inc(356): ldap_get_groups('autodeploy', Array)
#2 /etc/inc/auth.inc(396): get_user_privileges(Array)
#3 /etc/inc/auth.inc(658): userHasPrivilege(Array, 'user-shell-acce...')
#4 /etc/inc/auth.inc(625): local_user_set(Array)
#5 /etc/rc.bootup(298): local_reset_accounts()
#6 {main}
thrown in /etc/inc/auth.inc on line 1393No FreeBSD crash data found.
Now i have to restart the WEB-GUI after every reboot. I have reproduced the same issue with a second VM and had the same error massage.
The only difference between the two VMs is that the first one is on version "2.7.0.a.20221010.0600" the other on version "2.7.0.a.20221013.0600"Following a few System Information:
VM
Hyper-v
2 CPU-Cores
1 GB RAM
5 GB SSD
usf
Login via LDAP-UserAny Idea what the cause of this is?
FYI: I opend a Bug-Tracker Ticket also: https://redmine.pfsense.org/issues/13559
-