Squid is not applying changes made through the web interface

Open
#5,811 3 comments 1 reaction 1 assignee View on GitHub

Maintainers usually reply within 1 day

@fichtner is already working on this.

Since Oct 20, 2026.

Assessment

This issue has not been assessed yet.

Description

bug upstream

Squid is not applying the settings made through the web interface. The "Apply" button is present and modifies the configuration file (I verified this via the CLI), but it does not apply the configuration. It is necessary to run squid -k reconfigure or restart the service for the changes to take effect.

After running some tests, I found that one of the commands being executed returns an error:

/usr/local/etc/rc.d/squid reload
/usr/local/etc/rc.d/squid: unknown directive 'reload'.
Usage: /usr/local/etc/rc.d/squid [fast|force|one|quiet](start|stop|restart|rcvar|enable|disable|delete|enabled|describe|extracommands|status|poll)

This command was discovered by analyzing the configuration file:

grep -n -A8 '^\[reload\]' \
    /usr/local/opnsense/service/conf/actions.d/actions_proxy.conf
39:[reload]
40-command:
41-    /usr/local/sbin/pluginctl -c webproxy reload;
42-    /usr/local/opnsense/scripts/proxy/deploy_error_pages.py;
43-    /usr/local/etc/rc.d/squid reload
44-parameters:
45-type:script
46-message:reload proxy
47-```




**To Reproduce**
Steps to reproduce the behavior:

1 - Go to "Squid web Proxy > Administration"
2 - Click "Apply" in any screen

**Expected behavior**
File conf is changed but no applied


**Environment**


OPNsense 26.7.1_1-amd64
Intel(R) Xeon(R) Silver 4314 CPU @ 2.40GHz (4 cores, 4 threads)
Dominant language
PHP
Stars
1.2k
Forks
926
Avg merge
1d 10h
Merged PRs (30d)
25

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from opnsense/plugins

All issues in opnsense/plugins

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.