diff --git a/ALL_README.md b/ALL_README.md
index 152f2e7..4ed64dd 100644
--- a/ALL_README.md
+++ b/ALL_README.md
@@ -5,4 +5,5 @@
- [Irakurri README euskaraz](README_eu.md)
- [Lire le README en français](README_fr.md)
- [Le o README en galego](README_gl.md)
+- [Baca README dalam bahasa bahasa Indonesia](README_id.md)
- [阅读中文(简体)的 README](README_zh_Hans.md)
diff --git a/README.md b/README.md
index b892592..81eb8a6 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@ It shall NOT be edited by hand.
# Nextcloud for YunoHost
-[](https://dash.yunohost.org/appci/app/nextcloud)  
+[](https://ci-apps.yunohost.org/ci/apps/nextcloud/)  
[](https://install-app.yunohost.org/?app=nextcloud)
@@ -16,20 +16,14 @@ It shall NOT be edited by hand.
## Overview
-Nextcloud Hub is a fully open-source on-premises content collaboration platform. Teams access, share and edit their documents, chat and participate in video calls and manage their mail and calendar and projects across mobile, desktop and web interfaces.
+Nextcloud lets you access and synchronize data, files, contacts and calendars between different devices (PCs or mobiles), or share them with other people (with or without accounts), and also offers advanced communication and collaborative working features. Nextcloud features its own application mechanism (see also [Nextcloud's app store](https://apps.nextcloud.com/)) for specific functionalities.
-### YunoHost-specific features
+In the context of YunoHost, Nextcloud integrates with the SSO / user portal (YunoHost accounts are automatically connected to Nextcloud).
-In addition to Nextcloud core features, the following are made available with this package:
-
- * Integrate with YunoHost users and SSO - i.e. logout button
- * Allow one user to be the administrator (set at the installation)
- * Allow multiple instances of this application
- * Optionally access the user home folder from Nextcloud files (set at the installation, the sharing is enabled by default)
- * Serve `/.well-known` paths for CalDAV and CardDAV on the domain only if it's not already served - i.e. by Baïkal
+The `/.well-known` address will be automatically configured for CalDAV and CardDAV synchronization if no other service such as Baïkal is already using it.
-**Shipped version:** 29.0.2~ynh1
+**Shipped version:** 29.0.4~ynh1
**Demo:**
diff --git a/README_es.md b/README_es.md
index 3ed8bc1..9b75f1c 100644
--- a/README_es.md
+++ b/README_es.md
@@ -5,7 +5,7 @@ No se debe editar a mano.
# Nextcloud para Yunohost
-[](https://dash.yunohost.org/appci/app/nextcloud)  
+[](https://ci-apps.yunohost.org/ci/apps/nextcloud/)  
[](https://install-app.yunohost.org/?app=nextcloud)
@@ -16,20 +16,14 @@ No se debe editar a mano.
## Descripción general
-Nextcloud Hub is a fully open-source on-premises content collaboration platform. Teams access, share and edit their documents, chat and participate in video calls and manage their mail and calendar and projects across mobile, desktop and web interfaces.
+Nextcloud lets you access and synchronize data, files, contacts and calendars between different devices (PCs or mobiles), or share them with other people (with or without accounts), and also offers advanced communication and collaborative working features. Nextcloud features its own application mechanism (see also [Nextcloud's app store](https://apps.nextcloud.com/)) for specific functionalities.
-### YunoHost-specific features
+In the context of YunoHost, Nextcloud integrates with the SSO / user portal (YunoHost accounts are automatically connected to Nextcloud).
-In addition to Nextcloud core features, the following are made available with this package:
-
- * Integrate with YunoHost users and SSO - i.e. logout button
- * Allow one user to be the administrator (set at the installation)
- * Allow multiple instances of this application
- * Optionally access the user home folder from Nextcloud files (set at the installation, the sharing is enabled by default)
- * Serve `/.well-known` paths for CalDAV and CardDAV on the domain only if it's not already served - i.e. by Baïkal
+The `/.well-known` address will be automatically configured for CalDAV and CardDAV synchronization if no other service such as Baïkal is already using it.
-**Versión actual:** 29.0.2~ynh1
+**Versión actual:** 29.0.4~ynh1
**Demo:**
diff --git a/README_eu.md b/README_eu.md
index e1df5a3..8b722e4 100644
--- a/README_eu.md
+++ b/README_eu.md
@@ -5,7 +5,7 @@ EZ editatu eskuz.
# Nextcloud YunoHost-erako
-[](https://dash.yunohost.org/appci/app/nextcloud)  
+[](https://ci-apps.yunohost.org/ci/apps/nextcloud/)  
[](https://install-app.yunohost.org/?app=nextcloud)
@@ -16,20 +16,14 @@ EZ editatu eskuz.
## Aurreikuspena
-Nextcloud Hub is a fully open-source on-premises content collaboration platform. Teams access, share and edit their documents, chat and participate in video calls and manage their mail and calendar and projects across mobile, desktop and web interfaces.
+Nextcloud lets you access and synchronize data, files, contacts and calendars between different devices (PCs or mobiles), or share them with other people (with or without accounts), and also offers advanced communication and collaborative working features. Nextcloud features its own application mechanism (see also [Nextcloud's app store](https://apps.nextcloud.com/)) for specific functionalities.
-### YunoHost-specific features
+In the context of YunoHost, Nextcloud integrates with the SSO / user portal (YunoHost accounts are automatically connected to Nextcloud).
-In addition to Nextcloud core features, the following are made available with this package:
-
- * Integrate with YunoHost users and SSO - i.e. logout button
- * Allow one user to be the administrator (set at the installation)
- * Allow multiple instances of this application
- * Optionally access the user home folder from Nextcloud files (set at the installation, the sharing is enabled by default)
- * Serve `/.well-known` paths for CalDAV and CardDAV on the domain only if it's not already served - i.e. by Baïkal
+The `/.well-known` address will be automatically configured for CalDAV and CardDAV synchronization if no other service such as Baïkal is already using it.
-**Paketatutako bertsioa:** 29.0.2~ynh1
+**Paketatutako bertsioa:** 29.0.4~ynh1
**Demoa:**
diff --git a/README_fr.md b/README_fr.md
index 0bb2d4d..f59d583 100644
--- a/README_fr.md
+++ b/README_fr.md
@@ -5,7 +5,7 @@ Il NE doit PAS être modifié à la main.
# Nextcloud pour YunoHost
-[](https://dash.yunohost.org/appci/app/nextcloud)  
+[](https://ci-apps.yunohost.org/ci/apps/nextcloud/)  
[](https://install-app.yunohost.org/?app=nextcloud)
@@ -16,20 +16,14 @@ Il NE doit PAS être modifié à la main.
## Vue d’ensemble
-Nextcloud Hub est la plate-forme de collaboration de contenu sur site entièrement open source. Les équipes accèdent, partagent et modifient leurs documents, discutent et participent à des appels vidéo et gèrent leur courrier, leur calendrier et leurs projets sur des interfaces mobiles, de bureau et Web.
+Nextcloud permet de rendre accessible et de synchroniser ses données, fichiers, contacts, agendas entre différents appareils (ordinateurs ou mobiles), ou de les partager avec d'autres personnes (avec ou sans comptes), et propose également des fonctionnalités avancées de communication et de travail collaboratif. Nextcloud dispose de son propre mécanisme d'applications (voir aussi [le store d'apps de Nextcloud](https://apps.nextcloud.com/)) pour disposer des fonctionnalités spécifiques.
-### Caractéristiques spécifiques YunoHost
+Dans le cadre de YunoHost, Nextcloud s'intègre avec le SSO / portail utilisateur (les comptes YunoHost sont automatiquements connectés à Nextcloud).
-En plus des fonctionnalités principales de Nextcloud, les fonctionnalités suivantes sont incluses dans ce package :
-
- * Intégration avec les utilisateurs YunoHost et le SSO - exemple, le bouton de déconnexion
- * Permet à un utilisateur d'être l'administrateur (choisi à l'installation)
- * Permet de multiples instances de cette application
- * Accès optionnel au répertoire home depuis les fichiers Nextcloud (à activer à l'installation, le partage étant activé par défaut)
- * 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
+L'adresse `/.well-known` sera automatiquement configuré pour la synchronisation CalDAV et CardDAV si aucun autre service tel que Baïkal ne l'utilise déjà.
-**Version incluse :** 29.0.2~ynh1
+**Version incluse :** 29.0.4~ynh1
**Démo :**
diff --git a/README_gl.md b/README_gl.md
index bbd9686..9a823a3 100644
--- a/README_gl.md
+++ b/README_gl.md
@@ -5,7 +5,7 @@ NON debe editarse manualmente.
# Nextcloud para YunoHost
-[](https://dash.yunohost.org/appci/app/nextcloud)  
+[](https://ci-apps.yunohost.org/ci/apps/nextcloud/)  
[](https://install-app.yunohost.org/?app=nextcloud)
@@ -16,20 +16,14 @@ NON debe editarse manualmente.
## Vista xeral
-Nextcloud Hub is a fully open-source on-premises content collaboration platform. Teams access, share and edit their documents, chat and participate in video calls and manage their mail and calendar and projects across mobile, desktop and web interfaces.
+Nextcloud lets you access and synchronize data, files, contacts and calendars between different devices (PCs or mobiles), or share them with other people (with or without accounts), and also offers advanced communication and collaborative working features. Nextcloud features its own application mechanism (see also [Nextcloud's app store](https://apps.nextcloud.com/)) for specific functionalities.
-### YunoHost-specific features
+In the context of YunoHost, Nextcloud integrates with the SSO / user portal (YunoHost accounts are automatically connected to Nextcloud).
-In addition to Nextcloud core features, the following are made available with this package:
-
- * Integrate with YunoHost users and SSO - i.e. logout button
- * Allow one user to be the administrator (set at the installation)
- * Allow multiple instances of this application
- * Optionally access the user home folder from Nextcloud files (set at the installation, the sharing is enabled by default)
- * Serve `/.well-known` paths for CalDAV and CardDAV on the domain only if it's not already served - i.e. by Baïkal
+The `/.well-known` address will be automatically configured for CalDAV and CardDAV synchronization if no other service such as Baïkal is already using it.
-**Versión proporcionada:** 29.0.2~ynh1
+**Versión proporcionada:** 29.0.4~ynh1
**Demo:**
diff --git a/README_id.md b/README_id.md
new file mode 100644
index 0000000..71cbfaa
--- /dev/null
+++ b/README_id.md
@@ -0,0 +1,55 @@
+
+
+# Nextcloud untuk YunoHost
+
+[](https://ci-apps.yunohost.org/ci/apps/nextcloud/)  
+
+[](https://install-app.yunohost.org/?app=nextcloud)
+
+*[Baca README ini dengan bahasa yang lain.](./ALL_README.md)*
+
+> *Paket ini memperbolehkan Anda untuk memasang Nextcloud secara cepat dan mudah pada server YunoHost.*
+> *Bila Anda tidak mempunyai YunoHost, silakan berkonsultasi dengan [panduan](https://yunohost.org/install) untuk mempelajari bagaimana untuk memasangnya.*
+
+## Ringkasan
+
+Nextcloud lets you access and synchronize data, files, contacts and calendars between different devices (PCs or mobiles), or share them with other people (with or without accounts), and also offers advanced communication and collaborative working features. Nextcloud features its own application mechanism (see also [Nextcloud's app store](https://apps.nextcloud.com/)) for specific functionalities.
+
+In the context of YunoHost, Nextcloud integrates with the SSO / user portal (YunoHost accounts are automatically connected to Nextcloud).
+
+The `/.well-known` address will be automatically configured for CalDAV and CardDAV synchronization if no other service such as Baïkal is already using it.
+
+
+**Versi terkirim:** 29.0.4~ynh1
+
+**Demo:**
+
+## Tangkapan Layar
+
+
+
+## Dokumentasi dan sumber daya
+
+- Website aplikasi resmi:
+- Dokumentasi pengguna resmi:
+- Dokumentasi admin resmi:
+- Depot kode aplikasi hulu:
+- Gudang YunoHost:
+- Laporkan bug:
+
+## Info developer
+
+Silakan kirim pull request ke [`testing` branch](https://github.com/YunoHost-Apps/nextcloud_ynh/tree/testing).
+
+Untuk mencoba branch `testing`, silakan dilanjutkan seperti:
+
+```bash
+sudo yunohost app install https://github.com/YunoHost-Apps/nextcloud_ynh/tree/testing --debug
+atau
+sudo yunohost app upgrade nextcloud -u https://github.com/YunoHost-Apps/nextcloud_ynh/tree/testing --debug
+```
+
+**Info lebih lanjut mengenai pemaketan aplikasi:**
diff --git a/README_zh_Hans.md b/README_zh_Hans.md
index d97e0ed..465182e 100644
--- a/README_zh_Hans.md
+++ b/README_zh_Hans.md
@@ -5,7 +5,7 @@
# YunoHost 上的 Nextcloud
-[](https://dash.yunohost.org/appci/app/nextcloud)  
+[](https://ci-apps.yunohost.org/ci/apps/nextcloud/)  
[](https://install-app.yunohost.org/?app=nextcloud)
@@ -16,20 +16,14 @@
## 概况
-Nextcloud Hub is a fully open-source on-premises content collaboration platform. Teams access, share and edit their documents, chat and participate in video calls and manage their mail and calendar and projects across mobile, desktop and web interfaces.
+Nextcloud lets you access and synchronize data, files, contacts and calendars between different devices (PCs or mobiles), or share them with other people (with or without accounts), and also offers advanced communication and collaborative working features. Nextcloud features its own application mechanism (see also [Nextcloud's app store](https://apps.nextcloud.com/)) for specific functionalities.
-### YunoHost-specific features
+In the context of YunoHost, Nextcloud integrates with the SSO / user portal (YunoHost accounts are automatically connected to Nextcloud).
-In addition to Nextcloud core features, the following are made available with this package:
-
- * Integrate with YunoHost users and SSO - i.e. logout button
- * Allow one user to be the administrator (set at the installation)
- * Allow multiple instances of this application
- * Optionally access the user home folder from Nextcloud files (set at the installation, the sharing is enabled by default)
- * Serve `/.well-known` paths for CalDAV and CardDAV on the domain only if it's not already served - i.e. by Baïkal
+The `/.well-known` address will be automatically configured for CalDAV and CardDAV synchronization if no other service such as Baïkal is already using it.
-**分发版本:** 29.0.2~ynh1
+**分发版本:** 29.0.4~ynh1
**演示:**
diff --git a/conf/nginx.conf b/conf/nginx.conf
index 0300bad..5a4f22a 100644
--- a/conf/nginx.conf
+++ b/conf/nginx.conf
@@ -102,7 +102,7 @@ location ^~ __PATH__/ {
# `/nextcloud/index.php` to the URI, resulting in a HTTP 500 error response.
location ~ \.php(?:$|/) {
# Required for legacy support
- rewrite ^__PATH__/(?!index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|ocs-provider\/.+|.+\/richdocumentscode\/proxy|.+\/richdocumentscode_arm64\/proxy) __PATH__/index.php$request_uri;
+ rewrite ^__PATH__/(?!index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|ocs-provider\/.+|.+\/richdocumentscode(_arm64)?\/proxy) __PATH__/index.php$request_uri;
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
set $path_info $fastcgi_path_info;
diff --git a/doc/DESCRIPTION.md b/doc/DESCRIPTION.md
index 3d35dc4..67150c8 100644
--- a/doc/DESCRIPTION.md
+++ b/doc/DESCRIPTION.md
@@ -1,11 +1,5 @@
-Nextcloud Hub is a fully open-source on-premises content collaboration platform. Teams access, share and edit their documents, chat and participate in video calls and manage their mail and calendar and projects across mobile, desktop and web interfaces.
+Nextcloud lets you access and synchronize data, files, contacts and calendars between different devices (PCs or mobiles), or share them with other people (with or without accounts), and also offers advanced communication and collaborative working features. Nextcloud features its own application mechanism (see also [Nextcloud's app store](https://apps.nextcloud.com/)) for specific functionalities.
-### YunoHost-specific features
+In the context of YunoHost, Nextcloud integrates with the SSO / user portal (YunoHost accounts are automatically connected to Nextcloud).
-In addition to Nextcloud core features, the following are made available with this package:
-
- * Integrate with YunoHost users and SSO - i.e. logout button
- * Allow one user to be the administrator (set at the installation)
- * Allow multiple instances of this application
- * Optionally access the user home folder from Nextcloud files (set at the installation, the sharing is enabled by default)
- * Serve `/.well-known` paths for CalDAV and CardDAV on the domain only if it's not already served - i.e. by Baïkal
+The `/.well-known` address will be automatically configured for CalDAV and CardDAV synchronization if no other service such as Baïkal is already using it.
diff --git a/doc/DESCRIPTION_fr.md b/doc/DESCRIPTION_fr.md
index 6131f48..b9229dc 100644
--- a/doc/DESCRIPTION_fr.md
+++ b/doc/DESCRIPTION_fr.md
@@ -1,11 +1,5 @@
-Nextcloud Hub est la plate-forme de collaboration de contenu sur site entièrement open source. Les équipes accèdent, partagent et modifient leurs documents, discutent et participent à des appels vidéo et gèrent leur courrier, leur calendrier et leurs projets sur des interfaces mobiles, de bureau et Web.
+Nextcloud permet de rendre accessible et de synchroniser ses données, fichiers, contacts, agendas entre différents appareils (ordinateurs ou mobiles), ou de les partager avec d'autres personnes (avec ou sans comptes), et propose également des fonctionnalités avancées de communication et de travail collaboratif. Nextcloud dispose de son propre mécanisme d'applications (voir aussi [le store d'apps de Nextcloud](https://apps.nextcloud.com/)) pour disposer des fonctionnalités spécifiques.
-### Caractéristiques spécifiques YunoHost
+Dans le cadre de YunoHost, Nextcloud s'intègre avec le SSO / portail utilisateur (les comptes YunoHost sont automatiquements connectés à Nextcloud).
-En plus des fonctionnalités principales de Nextcloud, les fonctionnalités suivantes sont incluses dans ce package :
-
- * Intégration avec les utilisateurs YunoHost et le SSO - exemple, le bouton de déconnexion
- * Permet à un utilisateur d'être l'administrateur (choisi à l'installation)
- * Permet de multiples instances de cette application
- * Accès optionnel au répertoire home depuis les fichiers Nextcloud (à activer à l'installation, le partage étant activé par défaut)
- * 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
+L'adresse `/.well-known` sera automatiquement configuré pour la synchronisation CalDAV et CardDAV si aucun autre service tel que Baïkal ne l'utilise déjà.
diff --git a/manifest.toml b/manifest.toml
index 0c89952..7b855d6 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 = "29.0.2~ynh1"
+version = "29.0.4~ynh1"
maintainers = ["kay0u"]
@@ -57,45 +57,45 @@ ram.runtime = "512M"
[install.system_addressbook_exposed]
ask.en = "Should there be a system address book listing all users, accessible by all users?"
ask.fr = "Devrait-il y avoir un carnet d'adresses système listant tous les comptes, accessible par tous les comptes ?"
- type = "select"
- choices = ["yes", "no"]
- default = "yes"
+ type = "boolean"
+ default = true
[resources]
[resources.sources]
[resources.sources.main]
- url = 'https://download.nextcloud.com/server/releases/nextcloud-29.0.2.tar.bz2'
- sha256 = '2d49d297dc340092021057823e8e78a312bc00f56de7d8677ac790590918ab17'
+ url = 'https://download.nextcloud.com/server/releases/nextcloud-29.0.4.tar.bz2'
+ sha256 = '19c469e264b31ee80400f8396460854546569e88db4c15fc0854e192f96027eb'
[resources.sources.28]
- url = 'https://download.nextcloud.com/server/releases/nextcloud-28.0.0.tar.bz2'
- sha256 = '4e8b0b74b40221e85f92ab869d0873c69a52d7e43889d9259c6259428a6a36f2'
+ url = 'https://download.nextcloud.com/server/releases/nextcloud-28.0.8.tar.bz2'
+ sha256 = '55a2f745fcc8f01b5816b23333f1e3014d2040a66794e132ddd0d219a37be53a'
+ prefetch = false
[resources.sources.27]
- url = 'https://download.nextcloud.com/server/releases/nextcloud-27.0.0.tar.bz2'
- sha256 = '3d312a09b9345ac058758dd7b4059bf3cf0b1f0f1d747251b6fac3585ba6533f'
+ url = 'https://download.nextcloud.com/server/releases/nextcloud-27.1.11.tar.bz2'
+ sha256 = '4edd2570f4c83442f8f0f0616fb774ed2663b11cf9f6ea49e795ab43aeef9645'
prefetch = false
[resources.sources.26]
- url = 'https://download.nextcloud.com/server/releases/nextcloud-26.0.0.tar.bz2'
- sha256 = 'f163150363aee9366ecb5cd5259bf6756ed4f073cea78b5fa515cada7a0d0c3d'
+ url = 'https://download.nextcloud.com/server/releases/nextcloud-26.0.13.tar.bz2'
+ sha256 = '0a362df7a1233348f99d1853fd7e79f0667b552c145dc45012fab54ac31c79ae'
prefetch = false
[resources.sources.25]
- url = 'https://download.nextcloud.com/server/releases/nextcloud-25.0.0.tar.bz2'
- sha256 = '2c05ac9d7b72b44ef8b3d2ae03ff0fd6121e254b8054556f5163bd8760dd8f49'
+ url = 'https://download.nextcloud.com/server/releases/nextcloud-25.0.13.tar.bz2'
+ sha256 = '387bac148a696244f1ec02698a082d408283a875b3de85eb9719dd4493eebe33'
prefetch = false
[resources.sources.24]
- url = 'https://download.nextcloud.com/server/releases/nextcloud-24.0.0.tar.bz2'
- sha256 = '176cb5620f20465fb4759bdf3caaebeb7acff39d6c8630351af9f8738c173780'
+ url = 'https://download.nextcloud.com/server/releases/nextcloud-24.0.12.tar.bz2'
+ sha256 = '2f093bdf7d34faf38d22f38a5e11f3aee32746ff4add3df17c790b9b36390836'
prefetch = false
[resources.sources.23]
- url = 'https://download.nextcloud.com/server/releases/nextcloud-23.0.0.tar.bz2'
- sha256 = 'c37592abc3b65c8fd28459281a24f414b87af52fc8c2ea979be3f9be75d01a2c'
+ url = 'https://download.nextcloud.com/server/releases/nextcloud-23.0.12.tar.bz2'
+ sha256 = 'ad3637fd987e9f1ed5bd5dbd177bdce1e39228e3daf95bc4a3c590d4b1522b1e'
prefetch = false
[resources.system_user]
@@ -116,7 +116,7 @@ ram.runtime = "512M"
api.allowed = ["visitors", "all_users"]
[resources.apt]
- packages = "mariadb-server, imagemagick, libmagickcore-6.q16-6-extra, acl, tar, smbclient, at, php8.3-fpm, php8.3-bz2, php8.3-imap, php8.3-gmp, php8.3-gd, php8.3-intl, php8.3-curl, php8.3-apcu, php8.3-redis, php8.3-ldap, php8.3-imagick, php8.3-zip, php8.3-mbstring, php8.3-xml, php8.3-mysql, php8.3-igbinary, php8.3-bcmath"
+ packages = "mariadb-server, imagemagick, libmagickcore-6.q16-6-extra, acl, tar, smbclient, at, redis-server, php8.3-fpm, php8.3-bz2, php8.3-imap, php8.3-gmp, php8.3-gd, php8.3-intl, php8.3-curl, php8.3-apcu, php8.3-redis, php8.3-ldap, php8.3-imagick, php8.3-zip, php8.3-mbstring, php8.3-xml, php8.3-mysql, php8.3-igbinary, php8.3-bcmath"
[resources.database]
type = "mysql"
diff --git a/scripts/remove b/scripts/remove
index f8d582f..c39ac68 100755
--- a/scripts/remove
+++ b/scripts/remove
@@ -16,9 +16,6 @@ ynh_remove_nginx_config
# Remove the dedicated PHP-FPM config
ynh_remove_fpm_config
-# remove logs
-ynh_secure_remove --file="/var/log/$app"
-
# Remove the app-specific logrotate config
ynh_remove_logrotate
diff --git a/scripts/upgrade b/scripts/upgrade
index 7dd9a82..e36d62e 100755
--- a/scripts/upgrade
+++ b/scripts/upgrade
@@ -10,6 +10,20 @@ upgrade_type=$(ynh_check_app_version_changed)
#=================================================
ynh_script_progression --message="Ensuring downward compatibility..."
+if [ -z ${system_addressbook_exposed:-} ]; then
+ ynh_app_setting_set --app=$app --key=system_addressbook_exposed --value=0
+ system_addressbook_exposed=0
+fi
+
+# Fix system_addressbook_exposed as a boolean
+if [ "${system_addressbook_exposed,,}" = "yes" ]; then
+ ynh_app_setting_set --app=$app --key=system_addressbook_exposed --value=1
+ system_addressbook_exposed=1
+elif [ "${system_addressbook_exposed,,}" = "no" ]; then
+ ynh_app_setting_set --app=$app --key=system_addressbook_exposed --value=0
+ system_addressbook_exposed=0
+fi
+
# Remove the option backup_core_only if it's in the settings.yml file
ynh_app_setting_delete --app=$app --key=backup_core_only
@@ -39,7 +53,10 @@ filter_boring_occ_warnings() {
# Define a function to execute commands with `occ`
exec_occ() {
# Backward compatibility to upgrade from older versions
- if [ $current_major_version = "last" ] || [ $current_major_version -ge 26 ]
+ if [ $current_major_version = "$last_major_version" ]
+ then
+ NEXTCLOUD_PHP_VERSION="8.3"
+ elif [ $current_major_version -ge 26 ]
then
NEXTCLOUD_PHP_VERSION="8.2"
elif [ $current_major_version -ge 24 ]
@@ -68,13 +85,13 @@ exec_occ() {
# Define a function to add an external storage
# Create the external storage for the given folders and enable sharing
create_external_storage() {
-local mount_dir="$1"
-local mount_name="$2"
-local mount_id=$(exec_occ files_external:create --output=json \
- "$mount_name" 'local' 'null::null' -c "datadir=$mount_dir" || true)
-! [[ $mount_id =~ ^[0-9]+$ ]] \
- && ynh_print_warn --message="Unable to create external storage" \
- || exec_occ files_external:option "$mount_id" enable_sharing true
+ local mount_dir="$1"
+ local mount_name="$2"
+ local mount_id=$(exec_occ files_external:create --output=json \
+ "$mount_name" 'local' 'null::null' -c "datadir=$mount_dir" || true)
+ ! [[ $mount_id =~ ^[0-9]+$ ]] \
+ && ynh_print_warn --message="Unable to create external storage" \
+ || exec_occ files_external:option "$mount_id" enable_sharing true
}
function list_installed_apps_not_compatible_with_future_version()
diff --git a/tests.toml b/tests.toml
index 0e8e459..cdd5e77 100644
--- a/tests.toml
+++ b/tests.toml
@@ -9,4 +9,5 @@ test_format = 1.0
test_upgrade_from.c5cf91ad.name = "Upgrade from 25.0.2"
test_upgrade_from.caf917f3.name = "Upgrade from 26.0.2"
test_upgrade_from.9c6d1eea.name = "Upgrade from 27.1.4"
-
\ No newline at end of file
+ test_upgrade_from.e9f82ab7.name = "Upgrade from 28.0.6"
+ test_upgrade_from.e9f82ab7.args.system_addressbook_exposed = "yes"