From 3a01e13c8882904ff34a316ac5e75ef1edb169d0 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Wed, 17 Apr 2024 11:57:34 -0400 Subject: [PATCH] Misc cleanup --- docs/plugins/removal.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/plugins/removal.md b/docs/plugins/removal.md index a0f33a2e0..f5e81bdc0 100644 --- a/docs/plugins/removal.md +++ b/docs/plugins/removal.md @@ -9,7 +9,7 @@ Disable the plugin by removing it from the `PLUGINS` list in `configuration.py`. ## Remove its Configuration -Delete hte plugin's entry (if any) in the `PLUGINS_CONFIG` dictionary in `configuration.py`. +Delete the plugin's entry (if any) in the `PLUGINS_CONFIG` dictionary in `configuration.py`. !!! tip If there's a chance you may reinstall the plugin, consider commenting out any configuration parameters instead of deleting them. @@ -18,6 +18,12 @@ Delete hte plugin's entry (if any) in the `PLUGINS_CONFIG` dictionary in `config Run the `reindex` management command to reindex the global search engine. This will remove any stale entries pertaining to objects provided by the plugin. +```no-highlight +$ cd /opt/netbox/netbox/ +$ source /opt/netbox/venv/bin/activate +(venv) $ python3 manage.py reindex +``` + ## Uninstall its Python Package Use `pip` to remove the installed plugin: