Browse Source

Update install

pull/338/head
ericgaspar 6 years ago
parent
commit
7e638dbaa8
No known key found for this signature in database GPG Key ID: 574F281483054D44
  1. 13
      scripts/install

13
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

Loading…
Cancel
Save