2022-02-03T11:27:42 configd.py[15718] [342270de-c733-4f42-a177-ac64122631dc] Script action stderr returned "b'[03-Feb-2022 11:27:42] NOTICE: configuration file /usr/local/etc/php-fpm.conf test is successful\n\n[03-Feb-2022 11:27:42] NOTICE: configuration file /usr/local/etc/php-fpm.conf test is successful\n\nnginx: the configuration file /usr/local/etc/nginx/nginx.co'" 2022-02-03T11:27:42 configd.py[15718] [9e7ae3bb-a8a3-4ef0-b493-baedabdbb34c] trigger config changed event 2022-02-03T11:27:42 configd.py[15718] [fac01a40-ae95-4085-9787-1da7fab52d53] request pf current overall table record count and table-entries limit 2022-02-03T11:27:42 configd.py[15718] [342270de-c733-4f42-a177-ac64122631dc] reloading nginx 2022-02-03T11:27:42 configd.py[15718] [64c0b534-a0d3-4242-a2d8-bf8bf1f07b7d] Inline action failed with OPNsense/Nginx OPNsense/Nginx/nginx.conf 'dict object' has no attribute 'serverentries' at Traceback (most recent call last): File "/usr/local/opnsense/service/modules/template.py", line 267, in _generate content = j2_page.render(cnf_data) File "/usr/local/lib/python3.8/site-packages/jinja2/environment.py", line 1304, in render self.environment.handle_exception() File "/usr/local/lib/python3.8/site-packages/jinja2/environment.py", line 925, in handle_exception raise rewrite_traceback_stack(source=source) File "/usr/local/opnsense/service/modules/../templates/OPNsense/Nginx/nginx.conf", line 21, in top-level template code {% include "OPNsense/Nginx/http.conf" %} File "/usr/local/opnsense/service/modules/../templates/OPNsense/Nginx/http.conf", line 72, in top-level template code {% include "OPNsense/Nginx/upstream.conf" ignore missing with context %} File "/usr/local/opnsense/service/modules/../templates/OPNsense/Nginx/upstream.conf", line 15, in top-level template code {% for upstream_serveruuid in upstream.serverentries.split(',') %} File "/usr/local/lib/python3.8/site-packages/jinja2/environment.py", line 474, in getattr return getattr(obj, attribute) jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'serverentries' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/opnsense/service/modules/processhandler.py", line 506, in execute return ph_inline_actions.execute(self, inline_act_parameters) File "/usr/local/opnsense/service/modules/ph_inline_actions.py", line 51, in execute filenames = tmpl.generate(parameters) File "/usr/local/opnsense/service/modules/template.py", line 344, in generate raise render_exception File "/usr/local/opnsense/service/modules/template.py", line 335, in generate for filen 2022-02-03T11:27:42 configd.py[15718] generate template container OPNsense/Nginx
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'serverentries'
I did have an issue after updating to 21.7.7 where my Nginx wouldn't launch
Should I remove that from the nginx.conf file altogether
I could also try removing the last of the remnant entries I have in the web interface that reference the old server that I have removed from the upstream settings.
have backups of my entire opnsense based on backing it up to my Nextcloud dating back to what I believe is prior to the update and need for manual intervention so would that be useful?
# opnsense-patch -c plugins 6778f56
Plan A worked immediately.
Now if I can just figure out why it's not letting me adjust the max file size upload from 200m to 5000m