Regression #12340
closed
Factory Reset Menu Broken in webConfigurator
Added by Kris Phillips over 3 years ago.
Updated about 3 years ago.
Plus Target Version:
22.01
Release Notes:
Force Exclusion
Affected Architecture:
All
Description
In the latest Sept 4th build of pfSense Plus 21.09 the Factory Reset menu under Diagnostics --> Factory Reset does not function and throws an error. Resetting from the serial console works fine.
Error Message:
Fatal error: Uncaught Error: Call to undefined function get_pkg_info() in /etc/inc/config.lib.inc:725
Stack trace:
#0 /usr/local/www/diag_defaults.php(51): reset_factory_defaults()
#1 {main}
thrown in /etc/inc/config.lib.inc on line 725
PHP ERROR: Type: 1, File: /etc/inc/config.lib.inc, Line: 725, Message: Uncaught Error: Call to undefined function get_pkg_info() in /etc/inc/config.lib.inc:725
Stack trace:
#0 /usr/local/www/diag_defaults.php(51): reset_factory_defaults()
#1 {main}
thrown
On further testing it appears it does still complete the factory reset, but it takes significantly longer as it seems to hang on something.
Additionally testing: After the "factory reset" the wizard did not launch. Some components were reset, but not all.
- Priority changed from Normal to Urgent
Confirmed in 21.09. Tested:
21.09-BETA (amd64)
built on Sun Sep 05 01:12:47 EDT 2021
FreeBSD 12.2-STABLE
2.6 is not affected.
- Private changed from No to Yes
- Target version set to 64
- Private changed from Yes to No
- Status changed from New to Feedback
2.6 was also affected, but I fixed quickly after I found the problem.
Both cases are fixed.
- % Done changed from 0 to 100
- Affected Architecture All added
- Affected Architecture deleted (
amd64)
- Tracker changed from Bug to Regression
- Project changed from pfSense Plus to pfSense
- Category changed from Web Interface to Web Interface
- Assignee set to Luiz Souza
- Target version changed from 64 to 2.6.0
- Release Notes changed from Default to Force Exclusion
- Affected Plus Version deleted (
21.09)
- Plus Target Version set to 21.09
Moving to main project since it did end up affecting both CE and Plus.
Excluding from release notes since it was not a problem in a release.
- Status changed from Feedback to Resolved
- Status changed from Resolved to Closed
- Plus Target Version changed from 21.09 to 22.01
Also available in: Atom
PDF