Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - bkavanaugh

#1
I was attempting to set up letsencrypt + nginx today, and when trying to set the location, I am getting the following error (no error is displayed, it just doesn't save and close; I see this when I go to the dashboard):

PHP Fatal error:  Declaration of OPNsense\Base\Constraints\NgxBusyBufferConstraint::validate(Phalcon\Validation $validator, $attribute) must be compatible with Phalcon\Validation\AbstractValidator::validate(Phalcon\Validation $validation, $field): bool in /usr/local/opnsense/mvc/app/models/OPNsense/Base/Constraints/NgxBusyBufferConstraint.php on line 39

On an attempt to reinstall nginx, I got this error:

Fatal error: Declaration of OPNsense\Base\Constraints\NaxsiIdentifierConstraint::validate(Phalcon\Validation $validator, $attribute) must be compatible with Phalcon\Validation\AbstractValidator::validate(Phalcon\Validation $validation, $field): bool in /usr/local/opnsense/mvc/app/models/OPNsense/Base/Constraints/NaxsiIdentifierConstraint.php on line 95

Not sure if I got this on the initial install and just missed it.

I see some mentions of errors similar to these here: https://github.com/opnsense/core/issues/4012. Is nginx not currently compatible with 21.1.5, or am I doing something wrong in setup?