Przeglądaj źródła

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

jeremystretch 3 lat temu
rodzic
commit
35596ddcbc
1 zmienionych plików z 3 dodań i 0 usunięć
  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)
 * Builds the documentation locally (for offline use)
 * Aggregate static resource files on disk
 * 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
 ```no-highlight
 sudo /opt/netbox/upgrade.sh
 sudo /opt/netbox/upgrade.sh
 ```
 ```