1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00

Update install

This commit is contained in:
ericgaspar 2020-10-03 11:12:35 +02:00
parent 6e5449def9
commit 7e638dbaa8
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -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 \'\' \ # exec_occ ldap:test-config \'\' \
|| ynh_die --message="An error occured during LDAP configuration" # || 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
#================================================= #=================================================
( exec_occ db:add-missing-indices
cd $final_path exec_occ db:add-missing-columns
sudo -u $app php${YNH_PHP_VERSION} occ db:add-missing-indices exec_occ db:convert-filecache-bigint -n
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
)
#================================================= #=================================================
# CONFIGURE THE HOOK FILE FOR USER CREATE # CONFIGURE THE HOOK FILE FOR USER CREATE