Hello Team,
Do changes to the config.php file in /usr/share/nextcloud/config/ to add a trusted domain survive updates to Nextcloud or will this file be overwritten when Nextcloud updates so I’ll need to add in the trusted domain again?
Thanks!
dnutan
(Marc)
May 9, 2017, 8:26pm
2
AFAIK it survives updates, and backups of it are saved when using the regular Nethserver’s backup module.
2 Likes
Thanks @dnutan ! Much appreciated.
giacomo
(Giacomo Sanchietti)
May 14, 2017, 8:45pm
4
You can also use the built-in prop:
====================
nethserver-nextcloud
====================
This package can be installed before or after any user provider like nethserver-dc
and nethserver-directory.
If nethserver-dc or nethserver-directory are installed, the nethserver-nextcloud-save
event will automatically enable all local users.
The package does the following:
* create ``nextcloud`` mysql database
* create default database credentials: user `nextcloud` and password stored in ``/var/lib/nethserver/secrets/nextcloud``
* add trusted domains to use with web access
* create default credentials for web login: user `"admin"` and password `"Nethesis,1234"`
* set english as the default language
* set the user data directory as ``/var/lib/nethserver/nextcloud``
The configuration is stored inside the ``configuration`` db, under the ``nextcloud`` key.
This file has been truncated. show original