Parcourir la source

Closes #1828: Added warning about media directory permissions

Jeremy Stretch il y a 7 ans
Parent
commit
53998e0fff
1 fichiers modifiés avec 7 ajouts et 0 suppressions
  1. 7 0
      docs/installation/netbox.md

+ 7 - 0
docs/installation/netbox.md

@@ -88,6 +88,13 @@ Resolving deltas: 100% (1495/1495), done.
 Checking connectivity... done.
 Checking connectivity... done.
 ```
 ```
 
 
+!!! warning
+    Ensure that the media directory (`/opt/netbox/netbox/media/` in this example) and all its subdirectories are writable by the user account as which NetBox runs. If the NetBox process does not have permission to write to this directory, attempts to upload files (e.g. image attachments) will fail. (The appropriate user account will vary by platform.)
+
+    ```
+    # chown -R netbox:netbox /opt/netbox/netbox/media/
+    ```
+
 ## Install Python Packages
 ## Install Python Packages
 
 
 Install the required Python packages using pip. (If you encounter any compilation errors during this step, ensure that you've installed all of the system dependencies listed above.)
 Install the required Python packages using pip. (If you encounter any compilation errors during this step, ensure that you've installed all of the system dependencies listed above.)