Browse Source
Merge pull request #355 from ericgaspar/20.0.3
Upgrade to 20.0.4
pull/358/head
Kayou
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with
9 additions and
18 deletions
README.md
README_fr.md
check_process
manifest.json
scripts/restore
scripts/upgrade
scripts/upgrade.d/upgrade.last.sh
@ -12,7 +12,7 @@ If you don't have YunoHost, please see [here](https://yunohost.org/#/install) to
[Nextcloud ](https://nextcloud.com ) gives you freedom and control over your own data. A personal cloud which runs on your own server. With Nextcloud you can synchronize your files over your devices.
[Nextcloud ](https://nextcloud.com ) gives you freedom and control over your own data. A personal cloud which runs on your own server. With Nextcloud you can synchronize your files over your devices.
**Shipped version:** 20.0.2
**Shipped version:** 20.0.4
## Screenshots
## Screenshots
@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
[Nextcloud ](https://nextcloud.com ) vous donne la liberté et le contrôle sur vos données. Un nuage personnel qui tourne sur votre serveur.
[Nextcloud ](https://nextcloud.com ) vous donne la liberté et le contrôle sur vos données. Un nuage personnel qui tourne sur votre serveur.
Avec NextCloud vous pouvez synchroniser vos fichiers sur vos appareils.
Avec NextCloud vous pouvez synchroniser vos fichiers sur vos appareils.
**Version incluse :** 20.0.2
**Version incluse :** 20.0.4
## Captures d'écran
## Captures d'écran
@ -18,8 +18,6 @@
incorrect_path=1
incorrect_path=1
port_already_use=0
port_already_use=0
change_url=1
change_url=1
;;; Levels
Level 5=auto
;;; Options
;;; Options
Email=
Email=
Notification=none
Notification=none
@ -6,7 +6,7 @@
"en" : "Online storage, file sharing platform and various other applications" ,
"en" : "Online storage, file sharing platform and various other applications" ,
"fr" : "Stockage en ligne, plateforme de partage de fichiers et diverses autres applications"
"fr" : "Stockage en ligne, plateforme de partage de fichiers et diverses autres applications"
} ,
} ,
"version" : "20.0.2 ~ynh1" ,
"version" : "20.0.4 ~ynh1" ,
"url" : "https://nextcloud.com" ,
"url" : "https://nextcloud.com" ,
"license" : "AGPL-3.0" ,
"license" : "AGPL-3.0" ,
"maintainer" : {
"maintainer" : {
@ -14,7 +14,7 @@
"email" : "apps@yunohost.org"
"email" : "apps@yunohost.org"
} ,
} ,
"requirements" : {
"requirements" : {
"yunohost" : ">= 3.8.0 "
"yunohost" : ">= 3.8.1 "
} ,
} ,
"multi_instance" : true ,
"multi_instance" : true ,
"services" : [
"services" : [
@ -102,7 +102,7 @@ ynh_script_progression --message="Reconfiguring PHP-FPM..." --weight=50
ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
ynh_restore_file --origin_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
# Recreate a dedicated php-fpm config
# Recreate a dedicated php-fpm config
ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint --package="$extra_php_dependencies"
ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint --phpversion=$phpversion --p ackage="$extra_php_dependencies"
#=================================================
#=================================================
# RESTORE THE CRON FILE
# RESTORE THE CRON FILE
@ -125,13 +125,6 @@ then
ynh_replace_string "\('datadirectory' =>.*\)$old_app" "\1$app" "$final_path/config/config.php"
ynh_replace_string "\('datadirectory' =>.*\)$old_app" "\1$app" "$final_path/config/config.php"
fi
fi
#=================================================
# CHECK THE PATH
#=================================================
# Normalize the URL path syntax
path_url=$(ynh_normalize_url_path --path_url=$path_url)
#=================================================
#=================================================
# UPGRADE DEPENDENCIES
# UPGRADE DEPENDENCIES
#=================================================
#=================================================
@ -155,7 +148,7 @@ ynh_system_user_create --username=$app
ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=2
ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=2
# Recreate a dedicated PHP-FPM config
# Recreate a dedicated PHP-FPM config
ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint --package="$extra_php_dependencies"
ynh_add_fpm_config --phpversion=$phpversion -- usage=$fpm_usage --footprint=$fpm_footprint --package="$extra_php_dependencies"
# Delete existing ini configuration file (backward compatibility)
# Delete existing ini configuration file (backward compatibility)
if [ -f /etc/php/$phpversion/fpm/conf.d/20-$app.ini ]; then
if [ -f /etc/php/$phpversion/fpm/conf.d/20-$app.ini ]; then
@ -1,7 +1,7 @@
#!/bin/bash
#!/bin/bash
# Last available n extcloud version
next_version = "20.0.2 "
# Last available N extcloud version
next_version = "20.0.4 "
# Nextcloud tarball checksum sha256
# Nextcloud tarball checksum sha256
nextcloud_source_sha256 = "be84c2ac7fba066ddc0637a4672b39628bbbd200dad8c00a0437a4765007dd21 "
nextcloud_source_sha256 = "4c2857d328b64d12fe283ec2f7030131ebe6e467dd4a033cf602fd07984a28a3 "