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

handle mimetype migrations

This commit is contained in:
Éric Gaspar 2024-09-03 14:35:21 +02:00
parent 6f7509a790
commit e8690ba2e0

View file

@ -274,6 +274,12 @@ then
# Then remove the config file
ynh_secure_remove --file="$nc_conf"
# Occasionally new mimetypes are added to better handle certain file types.
# Migrating the mimetypes take a long time on larger instances
# so this is not done automatically during upgrades.
# Use the command `occ maintenance:repair --include-expensive` to perform the migrations.
exec_occ maintenance:repair --include-expensive
#=================================================
# ALLOW USERS TO DISCONNECT FROM NEXTCLOUD
#=================================================