From c38c2ff9c735074728b74da7dfe44a8ad9170993 Mon Sep 17 00:00:00 2001 From: Anarion Dunedain Date: Tue, 28 Mar 2023 13:47:56 +0200 Subject: [PATCH] Duplicate website/docs/applications/other/nextcloud.md history in roles/nextcloud/docs/ history. --- roles/nextcloud/docs/nextcloud.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 roles/nextcloud/docs/nextcloud.md diff --git a/roles/nextcloud/docs/nextcloud.md b/roles/nextcloud/docs/nextcloud.md new file mode 100644 index 00000000..5cc5b062 --- /dev/null +++ b/roles/nextcloud/docs/nextcloud.md @@ -0,0 +1,27 @@ +--- +title: "Nextcloud" +--- + +Homepage: + +## Usage + +Set `nextcloud_enabled: true` in your `inventories//nas.yml` file. + +Tread carefully. + +External access may require that you manually configure your Fully Qualified Domain Name (FQDN) as a trusted domain within the application. There is an environment variable set up for this in the "nextcloud task" which will most likely make manual configuration unnecessary. If you get the following [screenshot](https://docs.nextcloud.com/server/14/admin_manual/installation/installation_wizard.html#trusted-domains) warning when trying to access nextcloud externally you'll need to manually set it up. + +This can be accomplished in two commands. + +```bash +# On the server where the docker containers are running +$ docker exec -it --user www-data nextcloud /bin/bash +$ php occ config:system:set trusted_domains INDEX_FOR_NEW_ENTRY_SEE_DOCS_LINK_BELOW --value=YOUR_FQDN_HERE --update-only +``` + +The above commands are documented in the administration guide for Nextcloud: + +* [set array values](https://docs.nextcloud.com/server/14/admin_manual/configuration_server/occ_command.html#setting-an-array-configuration-value) + +* [docker container docs, references environment variables](https://github.com/nextcloud/docker)