diff --git a/README.md b/README.md index 4007b2f..3370d99 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Online storage, file sharing platform and various other applications -**Shipped version:** 21.0.2~ynh1 +**Shipped version:** 21.0.3~ynh1 **Demo:** https://demo.nextcloud.com/ diff --git a/README_fr.md b/README_fr.md index aee7890..b338094 100644 --- a/README_fr.md +++ b/README_fr.md @@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour Stockage en ligne, plateforme de partage de fichiers et diverses autres applications -**Version incluse :** 21.0.2~ynh1 +**Version incluse :** 21.0.3~ynh1 **Démo :** https://demo.nextcloud.com/ diff --git a/check_process b/check_process index 8d88180..925817e 100644 --- a/check_process +++ b/check_process @@ -12,7 +12,10 @@ setup_private=0 setup_public=0 upgrade=1 - upgrade=1 from_commit=c864e086625363d91dde6ba78a652011a991a027 + #19.0.3 + upgrade=1 from_commit=a03e25fac417e2e03e53ed3a7b7ed05185637360 + #21.0.2 + upgrade=1 from_commit=fa1f0da48d3edbdf5bcb3b8b70a0687b4e878d11 backup_restore=1 multi_instance=1 incorrect_path=1 @@ -22,6 +25,8 @@ Email= Notification=none ;;; Upgrade options - ; commit=c864e086625363d91dde6ba78a652011a991a027 - name=[fix] php7.2-mcrypt doesn't exist (#253) + ; commit=a03e25fac417e2e03e53ed3a7b7ed05185637360 + name=Merge pull request #333 from ericgaspar/Upgrade-to-version-19.0.3 + ; commit=fa1f0da48d3edbdf5bcb3b8b70a0687b4e878d11 + name=Merge pull request #408 from YunoHost-Apps/21.0.2 manifest_arg=domain=DOMAIN&path=PATH&admin=USER&user_home=1& diff --git a/conf/extra_php-fpm.conf b/conf/extra_php-fpm.conf index 4b0d12d..adfd579 100644 --- a/conf/extra_php-fpm.conf +++ b/conf/extra_php-fpm.conf @@ -15,3 +15,6 @@ php_value[opcache.max_accelerated_files]=10000 php_value[opcache.memory_consumption]=128 php_value[opcache.save_comments]=1 php_value[opcache.revalidate_freq]=1 +; https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/caching_configuration.html#id1 +php_value[apc.enabled]=1 +php_value[apc.enable_cli]=1 diff --git a/conf/nextcloud.cron b/conf/nextcloud.cron index e040d0c..13de049 100644 --- a/conf/nextcloud.cron +++ b/conf/nextcloud.cron @@ -1 +1 @@ -*/15 * * * * __APP__ /usr/bin/php__PHPVERSION__ -f __FINAL_PATH__/cron.php +*/15 * * * * __APP__ /usr/bin/php__PHPVERSION__ --define apc.enable_cli=1 -f __FINAL_PATH__/cron.php diff --git a/manifest.json b/manifest.json index ccc8955..2d7a9d7 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Online storage, file sharing platform and various other applications", "fr": "Stockage en ligne, plateforme de partage de fichiers et diverses autres applications" }, - "version": "21.0.2~ynh1", + "version": "21.0.3~ynh1", "url": "https://nextcloud.com", "upstream": { "license": "AGPL-3.0", diff --git a/scripts/actions/add_multimedia_directories b/scripts/actions/add_multimedia_directories index 4dc7881..8b5a9af 100755 --- a/scripts/actions/add_multimedia_directories +++ b/scripts/actions/add_multimedia_directories @@ -28,7 +28,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) # Define a function to execute commands with `occ` exec_occ() { (cd "$final_path" && exec_as "$app" \ - php$YNH_PHP_VERSION occ --no-interaction --no-ansi "$@") + php$YNH_PHP_VERSION --define apc.enable_cli=1 occ --no-interaction --no-ansi "$@") } # Define a function to add an external storage diff --git a/scripts/actions/disable_maintenance b/scripts/actions/disable_maintenance index 0ea0edb..60e8738 100755 --- a/scripts/actions/disable_maintenance +++ b/scripts/actions/disable_maintenance @@ -42,7 +42,7 @@ ynh_script_progression --message="Disabling maintenance mode..." --weight=3 ( cd "$final_path" && exec_as "$app" \ - php$YNH_PHP_VERSION occ --no-interaction --no-ansi maintenance:mode --off + php$YNH_PHP_VERSION --define apc.enable_cli=1 occ --no-interaction --no-ansi maintenance:mode --off ) #================================================= diff --git a/scripts/change_url b/scripts/change_url index 5c6deb8..f4f54a2 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -102,7 +102,7 @@ ynh_script_progression --message="Applying Nextcloud specific modifications..." # Define a function to execute commands with `occ` exec_occ() { (cd "$final_path" && ynh_exec_as "$app" \ - php${phpversion} occ --no-interaction --no-ansi "$@") + php${phpversion} --define apc.enable_cli=1 occ --no-interaction --no-ansi "$@") } if [ $change_domain -eq 1 ] diff --git a/scripts/install b/scripts/install index 51d8b0f..1ca2fc6 100755 --- a/scripts/install +++ b/scripts/install @@ -143,7 +143,7 @@ ynh_script_progression --message="Installing Nextcloud..." --weight=30 # Define a function to execute commands with `occ` exec_occ() { (cd "$final_path" && ynh_exec_as "$app" \ - php${phpversion} occ --no-interaction --no-ansi "$@") + php${phpversion} --define apc.enable_cli=1 occ --no-interaction --no-ansi "$@") } # Set write access for the following commands diff --git a/scripts/upgrade b/scripts/upgrade index 205cc51..175c4ee 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -194,7 +194,7 @@ exec_occ() { NEXTCLOUD_PHP_VERSION="7.0" fi (cd "$final_path" && ynh_exec_as "$app" \ - php$NEXTCLOUD_PHP_VERSION occ --no-interaction --no-ansi "$@") + php$NEXTCLOUD_PHP_VERSION --define apc.enable_cli=1 occ --no-interaction --no-ansi "$@") } # Define a function to add an external storage diff --git a/scripts/upgrade.d/upgrade.last.sh b/scripts/upgrade.d/upgrade.last.sh index da7061c..72dca50 100755 --- a/scripts/upgrade.d/upgrade.last.sh +++ b/scripts/upgrade.d/upgrade.last.sh @@ -1,7 +1,7 @@ #!/bin/bash # Last available Nextcloud version -next_version="21.0.2" +next_version="21.0.3" # Nextcloud tarball checksum sha256 -nextcloud_source_sha256="5e5b38109a3485db5fd2d248f24478eabe6c0790ec10b030acbbee207d5511fe" +nextcloud_source_sha256="8adcd175c7a70c33332586fa9ce36d03ba02d1df5d4c334d1210201d3fb953ee"