瀏覽代碼

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

jeremystretch 3 年之前
父節點
當前提交
35596ddcbc
共有 1 個文件被更改,包括 3 次插入0 次删除
  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
 ```