From 7e638dbaa8c67e9032077200009a2a9547735d3d Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 3 Oct 2020 11:12:35 +0200 Subject: [PATCH] Update install --- scripts/install | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/scripts/install b/scripts/install index cfe9d5b..c106a4f 100755 --- a/scripts/install +++ b/scripts/install @@ -187,8 +187,8 @@ ynh_secure_remove --file="$nc_conf" #================================================= # Check LDAP configuration to see if everything worked well -exec_occ ldap:test-config \'\' \ - || ynh_die --message="An error occured during LDAP configuration" +# exec_occ ldap:test-config \'\' \ +# || ynh_die --message="An error occured during LDAP configuration" #================================================= # MOUNT HOME FOLDERS AS EXTERNAL STORAGE @@ -273,12 +273,9 @@ exec_occ background:cron # POST-INSTALL MAINTENANCE #================================================= -( - cd $final_path - sudo -u $app php${YNH_PHP_VERSION} occ db:add-missing-indices - sudo -u $app php${YNH_PHP_VERSION} occ db:add-missing-columns - sudo -u $app php${YNH_PHP_VERSION} occ db:convert-filecache-bigint -n -) +exec_occ db:add-missing-indices +exec_occ db:add-missing-columns +exec_occ db:convert-filecache-bigint -n #================================================= # CONFIGURE THE HOOK FILE FOR USER CREATE