Project

General

Profile

Actions

Regression #13559

closed

Feature #13446: Upgrade PHP from 7.4 to 8.1

GUI not starting after update to 2.7

Added by John Doe over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Category:
Web Interface
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
23.01
Release Notes:
Force Exclusion
Affected Version:
2.7.x
Affected Architecture:

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?

Actions #1

Updated by Christian McDonald over 1 year 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
Actions #3

Updated by Christian McDonald over 1 year ago

  • Release Notes changed from Default to Force Exclusion
Actions #4

Updated by Christian McDonald over 1 year ago

  • % Done changed from 0 to 100
Actions #5

Updated by Chris W over 1 year ago

Looks good. Upgraded from CE 2.6 to 2.7.0.a.20221013.0600 and the GUI started up on reboot as expected.

Actions #6

Updated by Kris Phillips over 1 year ago

Looks good here as well. This can be marked as resolved.

Actions #7

Updated by Jim Pingle over 1 year ago

  • Status changed from Feedback to Resolved
Actions #8

Updated by Jim Pingle over 1 year 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
Actions #9

Updated by Jim Pingle over 1 year ago

  • Tracker changed from Bug to Regression
Actions

Also available in: Atom PDF