Regression #13559
closedFeature #13446: Upgrade PHP from 7.4 to 8.1
GUI not starting after update to 2.7
100%
Description
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-dev
Crash 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 1393
No 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-User
Any Idea what the cause of this is?
Updated by Christian McDonald about 2 years ago
- Status changed from New to Confirmed
- Assignee set to Christian McDonald
- Target version set to 2.7.0
- Plus Target Version set to 23.01
Updated by Christian McDonald about 2 years ago
- Status changed from Confirmed to Feedback
Updated by Christian McDonald about 2 years ago
- Release Notes changed from Default to Force Exclusion
Updated by Christian McDonald about 2 years ago
- % Done changed from 0 to 100
Applied in changeset 5a63c712e519b3a07f4e0877cd18f5199ec26278.
Updated by Chris W about 2 years ago
Looks good. Upgraded from CE 2.6 to 2.7.0.a.20221013.0600 and the GUI started up on reboot as expected.
Updated by Kris Phillips about 2 years ago
Looks good here as well. This can be marked as resolved.
Updated by Jim Pingle about 2 years ago
- Status changed from Feedback to Resolved
Updated by Jim Pingle about 2 years ago
- Subject changed from Web-GUI not starting after update to 2.7. to GUI not starting after update to 2.7
- Parent task set to #13446