瀏覽代碼

Update upgrading.md

make destination path for cp media absolute
systeembeheerder 5 年之前
父節點
當前提交
8ac2ee7b49
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/installation/upgrading.md

+ 1 - 1
docs/installation/upgrading.md

@@ -52,7 +52,7 @@ Also copy the LDAP configuration if using LDAP:
 Be sure to replicate your uploaded media as well. (The exact action necessary will depend on where you choose to store your media, but in general moving or copying the media directory will suffice.)
 
 ```no-highlight
-# cp -pr /opt/netbox-X.Y.Z/netbox/media/ netbox/netbox/
+# cp -pr /opt/netbox-X.Y.Z/netbox/media/ /opt/netbox/netbox/
 ```
 
 Also make sure to copy over any custom scripts and reports that you've made. Note that if these are stored outside the project root, you will not need to copy them. (Check the `SCRIPTS_ROOT` and `REPORTS_ROOT` parameters in the configuration file above if you're unsure.)