From 35596ddcbcce6b7287114b6e326d4c50be90151b Mon Sep 17 00:00:00 2001 From: jeremystretch Date: Thu, 8 Dec 2022 08:56:57 -0500 Subject: [PATCH] Closes #10806: Add warning to run deactivate prior to upgrade script --- docs/installation/3-netbox.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/installation/3-netbox.md b/docs/installation/3-netbox.md index 72c054e5b..a2a2d9df3 100644 --- a/docs/installation/3-netbox.md +++ b/docs/installation/3-netbox.md @@ -225,6 +225,9 @@ Once NetBox has been configured, we're ready to proceed with the actual installa * Builds the documentation locally (for offline use) * Aggregate static resource files on disk +!!! warning + If you still have a Python virtual environment active from a previous installation step, disable it now by running the `deactivate` command. This will avoid errors on systems where `sudo` has been configured to preserve the user's current environment. + ```no-highlight sudo /opt/netbox/upgrade.sh ```