Check that nextcloud encryption gets enabled
This commit is contained in:
parent
e97168728b
commit
6e64539c93
|
@ -686,6 +686,11 @@ function install_nextcloud_main {
|
||||||
./occ status
|
./occ status
|
||||||
./occ app:list
|
./occ app:list
|
||||||
./occ app:enable encryption
|
./occ app:enable encryption
|
||||||
|
./occ encryption:enable
|
||||||
|
if [ ! "$?" = "0" ]; then
|
||||||
|
echo $'Encryption not enabled'
|
||||||
|
exit 73527
|
||||||
|
fi
|
||||||
./occ config:system:set appstoreenabled --value=false
|
./occ config:system:set appstoreenabled --value=false
|
||||||
chmod g+w /var/www/${NEXTCLOUD_DOMAIN_NAME}/htdocs/config/config.php
|
chmod g+w /var/www/${NEXTCLOUD_DOMAIN_NAME}/htdocs/config/config.php
|
||||||
chown -R www-data:www-data /var/www/${NEXTCLOUD_DOMAIN_NAME}/htdocs
|
chown -R www-data:www-data /var/www/${NEXTCLOUD_DOMAIN_NAME}/htdocs
|
||||||
|
|
Loading…
Reference in New Issue