diff --git a/customers/base/nextcloud-deployment.yml b/customers/base/nextcloud-deployment.yml index bad4429..ffec048 100644 --- a/customers/base/nextcloud-deployment.yml +++ b/customers/base/nextcloud-deployment.yml @@ -30,7 +30,7 @@ spec: restartPolicy: Always containers: - name: customer - image: docker.sunet.se/drive/nextcloud-custom:26.0.1.2-5 + image: docker.sunet.se/drive/nextcloud-custom:26.0.2.2-1 volumeMounts: - name: nextcloud-data mountPath: /var/www/html/config/ diff --git a/customers/base/script-configmap.yml b/customers/base/script-configmap.yml index a83ed90..8371521 100644 --- a/customers/base/script-configmap.yml +++ b/customers/base/script-configmap.yml @@ -7,7 +7,9 @@ data: #!/bin/bash sed "s/config_is_read_only\(.\) => true,/config_is_read_only\1 => false,/" /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 + php -d apc.enable_cli=1 -d memory_limit=-1 /var/www/html/occ app:disable globalsiteselector 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 app:enable globalsiteselector 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