Hello,
When I make configuration changes to the web proxy I get the following error message:
{"errorMessage":"Template generation failed for internal service \"proxy\". See backend log for details.","errorTrace":"#0 [internal function]: OPNsense\\Base\\ApiMutableServiceControllerBase->reconfigureAction()\n#1 [internal function]: Phalcon\\Dispatcher\\AbstractDispatcher->callActionMethod(Object(OPNsense\\Proxy\\Api\\ServiceController), 'reconfigureActi...', Array)\n#2 [internal function]: Phalcon\\Dispatcher\\AbstractDispatcher->dispatch()\n#3 /usr/local/opnsense/www/api.php(24): Phalcon\\Mvc\\Application->handle('/api/proxy/serv...')\n#4 {main}","errorTitle":"Configuration exception"}
The webproxy (squid) is not functionaly.
Does somebody has any idea
Thank you very much with best regards
Can you post the whole error that has been logged in /var/log/system/latest.log - There might be a hint what exactly went wrong with the template generation.
Or here in the GUI /ui/diagnostics/log/core/configd
Hello, many thanks.
Here are the only entries that are written in /var/log/system/latest.log when I make changes to the web proxy configuration and the error message shown above is generated
2024-01-13T21:15:24 Notice configctl event @ 1705176923.62 exec: system event config_changed
2024-01-13T21:15:24 Notice configctl event @ 1705176923.62 msg: Jan 13 21:15:23 inter.zone.local config[29323]: config-event: new_config /conf/backup/config-1705176923.5809.xml
with best regards
Do this
configctl template reload OPNsense/Proxy
If its ERR look into the log file again and post the error.