From 191e4ad13cd63402925f78ec4f5d903b32262871 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Fri, 1 Mar 2024 21:38:35 +0100 Subject: [PATCH 1/2] make sure the log folder exists before moving the logs to it --- manifest.toml | 2 +- scripts/upgrade | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 2610260..c3ff03a 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Nextcloud" description.en = "Online storage, file sharing platform and various other applications" description.fr = "Stockage en ligne, plateforme de partage de fichiers et diverses autres applications" -version = "28.0.3~ynh1" +version = "28.0.3~ynh2" maintainers = ["kay0u"] diff --git a/scripts/upgrade b/scripts/upgrade index c6ea89a..643add7 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -242,6 +242,8 @@ then # it would be better in the ENSURE DOWNWARD COMPATIBILITY section # but it must be after the exec_occ() definition, so it's here if [ -f "$data_dir/data/nextcloud.log" ]; then + mkdir -p "/var/log/$app" + chmod 750 "/var/log/$app" mv "$data_dir"/data/nextcloud.log* "/var/log/$app" # adapt the nextcloud config exec_occ config:system:set logfile --value="/var/log/$app/nextcloud.log" From bc340d1bed4f83aed36859cd7ed55a5421661018 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 1 Mar 2024 20:39:08 +0000 Subject: [PATCH 2/2] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8d063f1..b844477 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ In addition to Nextcloud core features, the following are made available with th * Serve `/.well-known` paths for CalDAV and CardDAV on the domain only if it's not already served - i.e. by Baïkal -**Shipped version:** 28.0.3~ynh1 +**Shipped version:** 28.0.3~ynh2 **Demo:** https://demo.nextcloud.com/ diff --git a/README_fr.md b/README_fr.md index f2e1700..c8dec5c 100644 --- a/README_fr.md +++ b/README_fr.md @@ -29,7 +29,7 @@ En plus des fonctionnalités principales de Nextcloud, les fonctionnalités suiv * Utilise l'adresse `/.well-known` pour la synchronisation CalDAV et CardDAV du domaine si aucun autre service ne l'utilise déjà - par exemple, Baïkal -**Version incluse :** 28.0.3~ynh1 +**Version incluse :** 28.0.3~ynh2 **Démo :** https://demo.nextcloud.com/