Document the need to symlink apps outside server root

Document that any apps path outside the server root must be symlinked from inside the server root.

Resolves issue https://github.com/nextcloud/server/issues/21292.
This commit is contained in:
Marco van Zwetselaar
2020-06-09 01:45:10 +03:00
parent bdfe8b40cd
commit 770e180bbf

View File

@@ -89,6 +89,13 @@ in that folder.
],
],
.. note:: Apps paths can be located outside the server root. However, for any
**path** outside the server root, you need to create a symlink in the server
root that points **url** to **path**.
For instance, if **path** is ``/var/local/lib/nextcloud/apps``, and **url**
is ``/apps2``, then you would do this in the server root:
``ln -sf /var/local/lib/nextcloud/apps ./apps2``
Using a self hosted apps store
------------------------------
@@ -112,4 +119,4 @@ To enable a self hosted apps store:
By default the apps store is enabled and configured to use ``https://apps.nextcloud.com/api/v1`` as apps store url. Nextcloud will fetch ``apps.json`` and ``categories.json`` from there. To use the defaults again remove **appstoreenabled** and **appstoreurl** from the configuration.
Example: If ``categories.json`` is available at ``https://apps.nextcloud.com/api/v1/categories.json`` the apps store url is ``https://apps.nextcloud.com/api/v1``.
Example: If ``categories.json`` is available at ``https://apps.nextcloud.com/api/v1/categories.json`` the apps store url is ``https://apps.nextcloud.com/api/v1``.