|
|
@ -187,8 +187,8 @@ ynh_secure_remove --file="$nc_conf" |
|
|
#================================================= |
|
|
#================================================= |
|
|
|
|
|
|
|
|
# Check LDAP configuration to see if everything worked well |
|
|
# 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 |
|
|
# MOUNT HOME FOLDERS AS EXTERNAL STORAGE |
|
|
@ -273,12 +273,9 @@ exec_occ background:cron |
|
|
# POST-INSTALL MAINTENANCE |
|
|
# 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 |
|
|
# CONFIGURE THE HOOK FILE FOR USER CREATE |
|
|
|