Upgrade to 26.0.2.2-1

This commit is contained in:
Micke Nordin 2023-06-15 10:05:33 +02:00
parent 56e0aecdea
commit 2ec21c15c5
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257
2 changed files with 3 additions and 1 deletions

View file

@ -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/

View file

@ -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