From a15a2ce923b2f7c4930dbeaa627e4c3ecf31db44 Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Tue, 6 Jan 2026 22:09:16 -0300 Subject: [PATCH] nextcloud: reinstall custom apps with compatible mail --- services/nextcloud/deployment.yaml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/services/nextcloud/deployment.yaml b/services/nextcloud/deployment.yaml index a5b9ef1..1f6f89f 100644 --- a/services/nextcloud/deployment.yaml +++ b/services/nextcloud/deployment.yaml @@ -69,18 +69,17 @@ spec: app="$1" url="$2" target="/var/www/html/custom_apps/${app}" - if [ ! -d "${target}" ]; then - mkdir -p /tmp/nextcloud-apps - curl -fsSL "${url}" -o "/tmp/nextcloud-apps/${app}.tar.gz" - tar -xzf "/tmp/nextcloud-apps/${app}.tar.gz" -C /var/www/html/custom_apps - rm -f "/tmp/nextcloud-apps/${app}.tar.gz" - chown -R 33:33 "${target}" - fi - su -s /bin/sh www-data -c "php /var/www/html/occ app:enable ${app}" || true + rm -rf "${target}" + mkdir -p /tmp/nextcloud-apps + curl -fsSL "${url}" -o "/tmp/nextcloud-apps/${app}.tar.gz" + tar -xzf "/tmp/nextcloud-apps/${app}.tar.gz" -C /var/www/html/custom_apps + rm -f "/tmp/nextcloud-apps/${app}.tar.gz" + chown -R 33:33 "${target}" + su -s /bin/sh www-data -c "php /var/www/html/occ app:enable --force ${app}" || true } install_app oidc_login https://github.com/pulsejet/nextcloud-oidc-login/releases/download/v3.2.2/oidc_login.tar.gz install_app external https://github.com/nextcloud-releases/external/releases/download/v5.4.1/external-v5.4.1.tar.gz - install_app mail https://github.com/nextcloud/mail/releases/download/v3.7.24/mail-3.7.24.tar.gz + install_app mail https://github.com/nextcloud-releases/mail/releases/download/v3.7.24/mail-stable3.7.tar.gz fi env: - name: POSTGRES_HOST