Skip to content
Snippets Groups Projects
Commit 6e64539c authored by Bob Mottram's avatar Bob Mottram
Browse files

Check that nextcloud encryption gets enabled

parent e9716872
No related branches found
No related tags found
No related merge requests found
......@@ -686,6 +686,11 @@ function install_nextcloud_main {
./occ status
./occ app:list
./occ app:enable encryption
./occ encryption:enable
if [ ! "$?" = "0" ]; then
echo $'Encryption not enabled'
exit 73527
fi
./occ config:system:set appstoreenabled --value=false
chmod g+w /var/www/${NEXTCLOUD_DOMAIN_NAME}/htdocs/config/config.php
chown -R www-data:www-data /var/www/${NEXTCLOUD_DOMAIN_NAME}/htdocs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment