Regression #12340
closedFactory Reset Menu Broken in webConfigurator
100%
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
Updated by Kris Phillips over 3 years ago
On further testing it appears it does still complete the factory reset, but it takes significantly longer as it seems to hang on something.
Updated by Kris Phillips over 3 years ago
Additionally testing: After the "factory reset" the wizard did not launch. Some components were reset, but not all.
Updated by Steve Wheeler over 3 years ago
- 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.
Updated by Steve Wheeler over 3 years ago
- Private changed from No to Yes
This same issue was fixed in the console by: https://gitlab.netgate.com/pfSense/factory/-/commit/f8b02f65792ae1e666b124bc53474fc2c943e4a4
The same fix applied to diag_defaults.php fixes this issue.
Updated by Steve Wheeler over 3 years ago
- Target version set to 64
- Private changed from Yes to No
Updated by Steve Wheeler over 3 years ago
This corrects it. Tested.
https://gitlab.netgate.com/pfSense/factory/-/merge_requests/22
Updated by Luiz Souza over 3 years ago
- Status changed from New to Feedback
2.6 was also affected, but I fixed quickly after I found the problem.
Both cases are fixed.
Updated by Luiz Souza over 3 years ago
- % Done changed from 0 to 100
- Affected Architecture All added
- Affected Architecture deleted (
amd64)
Updated by Jim Pingle over 3 years ago
- 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.
Updated by Jim Pingle about 3 years ago
- Plus Target Version changed from 21.09 to 22.01