X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=inline;f=DOCUMENTATION.md;h=4def9de79877bcec150a3bb658ace5f1be70b53a;hb=8ece257945ea039664279ec80f5c0f501b0bf3fd;hp=25006ce2842e2ac2c10684275cb3cbe45bb6a89e;hpb=792ccef2c82a055a2cc4801de028312b0b1199ea;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/DOCUMENTATION.md b/DOCUMENTATION.md index 25006ce..4def9de 100644 --- a/DOCUMENTATION.md +++ b/DOCUMENTATION.md @@ -260,6 +260,22 @@ Nextcloud - Issues : https://docs.nextcloud.com/server/16/admin_manual/maintenance/manual_upgrade.html +- Farm : + Once a new instance thename is created, create the database: + ``` + CREATE USER nextcloud_thename WITH PASSWORD 'somepassword'; + CREATE DATABASE nextcloud_thename WITH OWNER nextcloud_thename; + ``` + Then add this to the config.php: + ``` + 'appstoreenabled' => false, + ``` + Then run: + ``` + nextcloud-occ-thename maintenance:install --database=pgsql --database-name=nextcloud_thename --database-host=/run/postgresql --database-user=nextcloud_thename --admin-user=immae --data-dir=/var/lib/nextcloud_farm/thename/data + ``` + Finally, edit the config.php to add the correct trusted domain + Flakes ------