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:
Éric Gaspar 2022-07-16 16:02:39 +02:00
parent 2765ab4ef2
commit 79cdc2a70a
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -162,9 +162,6 @@ chown -R $app: "$final_path" "$datadir"
# picked up by Yunohost's auto-redact mecanism
admin_password="$(ynh_string_random --length=6)"
# Set the mysql.utf8mb4 config to true in config.php
exec_occ config:system:set mysql.utf8mb4 --type boolean --value="true"
# Install Nextcloud using a temporary admin user
exec_occ maintenance:install \
--database "mysql" --database-name $db_name \
@ -294,6 +291,9 @@ exec_occ db:add-missing-indices
exec_occ db:add-missing-columns
exec_occ db:convert-filecache-bigint -n
# Set the mysql.utf8mb4 config to true in config.php
exec_occ config:system:set mysql.utf8mb4 --type boolean --value="true"
#=================================================
# YUNOHOST MULTIMEDIA INTEGRATION
#=================================================