OPNsense Forum
Archive => 22.7 Legacy Series => Topic started by: meyergru on July 28, 2022, 04:56:05 pm
-
Seems I go first here...
Upgraded a few systems from 22.1.10 to 22.7 with only a few errors from HAproxy which like depreciation warnings because of the new PHP version - no worries, HAproxy works as before.
Good work!
-
I follwed the popular HAProxy + Let's Encrypt Wildcard Certificates + 100% A+ Rating (https://forum.opnsense.org/index.php?topic=23339.0) tutorial.
Some PHP errors are reported by OPNsense:
[28-Jul-2022 16:47:15 Etc/UTC] PHP Deprecated: Required parameter $expression follows optional parameter $description in /usr/local/opnsense/mvc/app/models/OPNsense/HAProxy/HAProxy.php on line 147
[28-Jul-2022 16:47:15 Etc/UTC] PHP Deprecated: Required parameter $testType follows optional parameter $description in /usr/local/opnsense/mvc/app/models/OPNsense/HAProxy/HAProxy.php on line 176
[28-Jul-2022 16:47:15 Etc/UTC] PHP Deprecated: Required parameter $type follows optional parameter $description in /usr/local/opnsense/mvc/app/models/OPNsense/HAProxy/HAProxy.php on line 176
[28-Jul-2022 16:47:15 Etc/UTC] PHP Deprecated: Required parameter $address follows optional parameter $description in /usr/local/opnsense/mvc/app/models/OPNsense/HAProxy/HAProxy.php on line 204
[28-Jul-2022 16:47:15 Etc/UTC] PHP Deprecated: Required parameter $port follows optional parameter $description in /usr/local/opnsense/mvc/app/models/OPNsense/HAProxy/HAProxy.php on line 204
[28-Jul-2022 16:47:15 Etc/UTC] PHP Deprecated: Required parameter $mode follows optional parameter $description in /usr/local/opnsense/mvc/app/models/OPNsense/HAProxy/HAProxy.php on line 204
[28-Jul-2022 16:47:15 Etc/UTC] PHP Deprecated: Required parameter $name follows optional parameter $enabled in /usr/local/opnsense/mvc/app/models/OPNsense/HAProxy/HAProxy.php on line 230
[28-Jul-2022 16:47:15 Etc/UTC] PHP Deprecated: Required parameter $mode follows optional parameter $enabled in /usr/local/opnsense/mvc/app/models/OPNsense/HAProxy/HAProxy.php on line 230
[28-Jul-2022 16:47:15 Etc/UTC] PHP Deprecated: Required parameter $algorithm follows optional parameter $enabled in /usr/local/opnsense/mvc/app/models/OPNsense/HAProxy/HAProxy.php on line 230
Those probably are the same errors you're seeing. But it still works!
-
A PR has already been merged to fix the issue. (https://github.com/opnsense/plugins/pull/3043) So all we have to do is wait for a new haproxy release.
-
I have these errors to, but also HAproxy not working
-
this is the error seen on the GUI:
An API exception occurred
/usr/local/opnsense/mvc/app/controllers/OPNsense/Base/ApiControllerBase.php:159: Error at /usr/local/opnsense/mvc/app/models/OPNsense/HAProxy/HAProxy.php:147 - Required parameter $expression follows optional parameter $description (errno=8192)
after clicking 'OK' the pages still show, but all config is empty
-
I have the exact issue.
Except for HAproxy, everything works..
-
Hi,
I upgradet a old System this Days to 22.7_10.2.
HAProxy Seams to work fine, but as soon as i add a new Condition or Rule they will not get written into /usr/local/etc/haproxy.conf.staging or /usr/local/etc/haproxy.conf
I can not see anything pointing to an error in logs or config validation.
Existing Rules/Conditions can be modified, and are written into the config for HAProxy.
Did someone have the same experience ?
My workaround currently is to mod the config Files manually.
Thx
Peysche