Upgrade nextcloud to 26.0.1.2

This commit is contained in:
Micke Nordin 2023-04-26 11:32:54 +02:00
parent 7e5c017bc7
commit 5b85f4b649
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257
2 changed files with 5 additions and 2 deletions

View file

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

View file

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