Explorar o código

Closes #10806: Add warning to run deactivate prior to upgrade script

jeremystretch %!s(int64=3) %!d(string=hai) anos
pai
achega
35596ddcbc
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      docs/installation/3-netbox.md

+ 3 - 0
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
 ```