File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -273,6 +273,23 @@ object.
273273``OPENWISP_CONTROLLER_CONTEXT `` can be used to define system-wide
274274configuration variables.
275275
276+ .. important ::
277+
278+ After modifying the system-defined variables in
279+ ``OPENWISP_CONTROLLER_CONTEXT ``, clear the cache to ensure that
280+ devices, templates, and VPN receive the updated configuration values:
281+
282+ .. code-block :: bash
283+
284+ cd /opt/openwisp2
285+ python manage.py clear_cache
286+
287+ System-defined variables can be referenced in VPN, Template, and
288+ Config objects. When these variables are updated, existing cached
289+ configurations that depend on them do not automatically reflect the
290+ new values. Consequently, devices may continue using outdated
291+ configurations unless the cache is cleared.
292+
276293For more information regarding how to use configuration variables in
277294OpenWISP, refer to :doc: `variables `.
278295
You can’t perform that action at this time.
0 commit comments