From 5b85f4b6493e4fcb11a185673b80d4a8c3a7e831 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Wed, 26 Apr 2023 11:32:54 +0200 Subject: [PATCH] Upgrade nextcloud to 26.0.1.2 --- customers/base/nextcloud-deployment.yml | 4 ++-- customers/base/script-configmap.yml | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/customers/base/nextcloud-deployment.yml b/customers/base/nextcloud-deployment.yml index bdab033..c01d2f4 100644 --- a/customers/base/nextcloud-deployment.yml +++ b/customers/base/nextcloud-deployment.yml @@ -29,7 +29,7 @@ spec: restartPolicy: Always containers: - name: customer - image: docker.sunet.se/drive/nextcloud-custom:25.0.5.2-1 + image: docker.sunet.se/drive/nextcloud-custom:26.0.1.2-1 volumeMounts: - name: nextcloud-data mountPath: /var/www/html/config/ @@ -130,7 +130,7 @@ spec: - name: NEXTCLOUD_ADMIN_USER value: admin - name: NEXTCLOUD_VERSION_STRING - value: "25.0.3.3" + value: "26.0.1.2" - name: NEXTCLOUD_ADMIN_PASSWORD valueFrom: secretKeyRef: diff --git a/customers/base/script-configmap.yml b/customers/base/script-configmap.yml index c94275b..a83ed90 100644 --- a/customers/base/script-configmap.yml +++ b/customers/base/script-configmap.yml @@ -10,5 +10,8 @@ data: php -d apc.enable_cli=1 -d memory_limit=-1 /var/www/html/occ upgrade php -d apc.enable_cli=1 -d memory_limit=-1 /var/www/html/occ maintenance:repair php -d apc.enable_cli=1 -d memory_limit=-1 /var/www/html/occ maintenance:mode --off + php -d apc.enable_cli=1 -d memory_limit=-1 /var/www/html/occ db:add-missing-primary-keys + php -d apc.enable_cli=1 -d memory_limit=-1 /var/www/html/occ db:add-missing-columns + php -d apc.enable_cli=1 -d memory_limit=-1 /var/www/html/occ db:add-missing-indices sed "s/config_is_read_only\(.\) => false,/config_is_read_only\1 => true,/" /var/www/html/config/config.php > /var/www/html/config/config.php.tmp mv /var/www/html/config/config.php.tmp /var/www/html/config/config.php