From 5b51bcc5e7421fdbb4964b27bc0fda4b5946cf00 Mon Sep 17 00:00:00 2001 From: szaimen Date: Wed, 19 Jan 2022 18:40:43 +0100 Subject: [PATCH] add some docs ono LDAP and USER_SQL Signed-off-by: szaimen --- migration.md | 2 +- readme.md | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/migration.md b/migration.md index 11137b3a..94ce403e 100644 --- a/migration.md +++ b/migration.md @@ -20,7 +20,7 @@ The procedure for migrating only the files works like this: ### Migrate the files and the database **Please note**: this is much more complicated than migrating only the files and also not as failproof so be warned!
-Also, some special apps that e.g. implement custom user backends like the `user_sql` app will probably not work in Nextcloud AIO. Additionally, you will currently not be able to use local external storage in Nextcloud AIO since that is not supported, yet. See https://github.com/nextcloud/all-in-one/issues/76 +Also, you will currently not be able to use local external storage in Nextcloud AIO since that is not supported, yet. See https://github.com/nextcloud/all-in-one/issues/76 The procedure for migrating the files and the database works like this: 1. Make sure that your old instance is on exactly the same version like the version used in Nextcloud AIO. (e.g. 23.0.0) If not, simply upgrade your former installation to that version or wait until the version used in Nextcloud AIO got updated to the same version of your former installation or the other way around. diff --git a/readme.md b/readme.md index 6fa43f5c..b41a7f3a 100644 --- a/readme.md +++ b/readme.md @@ -104,5 +104,11 @@ You can move the whole docker library and all its files including all Nextcloud ### How to edit Nextclouds config.php file with a texteditor? You can edit Nextclouds config.php file directly from the host with your favorite text editor. E.g. like this: `sudo nano /var/lib/docker/volumes/nextcloud_aio_nextcloud/_data/config/config.php`. Make sure to not break the file though which might corrupt your Nextcloud instance otherwise. In best case, create a backup using the built-in backup solution before editing the file. +### LDAP +It is possible to connect to an existing LDAP server. You need to make sure that the LDAP server is reachable from the Nextcloud container. Then you can enable the LDAP app and configure LDAP in Nextcloud manually. If you don't have a LDAP server, yet recommended is to use this docker container: https://hub.docker.com/r/osixia/openldap/. Make sure here as well that Nextcloud can talk to the LDAP server. The easiest way is by adding the LDAP docker container to the docker network `nextcloud-aio`. Then you can connect to the LDAP container by its name from the Nextcloud container. + +### USER_SQL +If you want to use the user_sql app, the easiest way is to create an additional database container and add it to the docker network `nextcloud-aio`. Then the Nextcloud container should be able to talk to the database container using its name. + ### How to migrate from an already existing Nextcloud installation to Nextcloud AIO? Please see the following documentation on this: [migration.md](https://github.com/nextcloud/all-in-one/blob/main/migration.md)