mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
commit
aac32e9e32
12 changed files with 22 additions and 14 deletions
|
@ -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/
|
||||
|
||||
|
|
|
@ -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/
|
||||
|
||||
|
|
|
@ -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&
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
)
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -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 ]
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue