diff --git a/Containers/clamav/Dockerfile b/Containers/clamav/Dockerfile index 2c7de76f..e1e124df 100644 --- a/Containers/clamav/Dockerfile +++ b/Containers/clamav/Dockerfile @@ -1,5 +1,5 @@ # Probably from this file: https://github.com/Cisco-Talos/clamav-docker/blob/main/clamav/1.1/alpine/Dockerfile -FROM clamav/clamav:1.2.1-26 +FROM clamav/clamav:1.2.1-27 COPY clamav.conf /tmp/clamav.conf diff --git a/Containers/collabora/Dockerfile b/Containers/collabora/Dockerfile index 0eff2275..41ff51e8 100644 --- a/Containers/collabora/Dockerfile +++ b/Containers/collabora/Dockerfile @@ -1,5 +1,5 @@ # From a file located probably somewhere here: https://github.com/CollaboraOnline/online/tree/master/docker -FROM collabora/code:23.05.7.2.1 +FROM collabora/code:23.05.7.5.1 USER root diff --git a/Containers/fulltextsearch/Dockerfile b/Containers/fulltextsearch/Dockerfile index b93bb559..711b1454 100644 --- a/Containers/fulltextsearch/Dockerfile +++ b/Containers/fulltextsearch/Dockerfile @@ -1,5 +1,5 @@ # Probably from here https://github.com/elastic/elasticsearch/blob/main/distribution/docker/src/docker/Dockerfile -FROM elasticsearch:8.11.3 +FROM elasticsearch:8.12.0 USER root diff --git a/Containers/mastercontainer/Dockerfile b/Containers/mastercontainer/Dockerfile index 763b554a..38dc498d 100644 --- a/Containers/mastercontainer/Dockerfile +++ b/Containers/mastercontainer/Dockerfile @@ -5,7 +5,7 @@ FROM docker:24.0.7-cli as docker FROM caddy:2.7.6-alpine as caddy # From https://github.com/docker-library/php/blob/master/8.2/alpine3.18/fpm/Dockerfile -FROM php:8.2.14-fpm-alpine3.18 +FROM php:8.2.15-fpm-alpine3.18 EXPOSE 80 EXPOSE 8080 diff --git a/Containers/nextcloud/Dockerfile b/Containers/nextcloud/Dockerfile index f0c32667..8ea59e0c 100644 --- a/Containers/nextcloud/Dockerfile +++ b/Containers/nextcloud/Dockerfile @@ -3,7 +3,7 @@ FROM php:8.1.27-fpm-alpine3.18 ENV PHP_MEMORY_LIMIT 512M ENV PHP_UPLOAD_LIMIT 10G ENV PHP_MAX_TIME 3600 -ENV NEXTCLOUD_VERSION 27.1.5 +ENV NEXTCLOUD_VERSION 27.1.6 ENV AIO_TOKEN 123456 ENV AIO_URL localhost diff --git a/manual-install/update-yaml.sh b/manual-install/update-yaml.sh index da40f406..2c67aafc 100644 --- a/manual-install/update-yaml.sh +++ b/manual-install/update-yaml.sh @@ -40,6 +40,7 @@ sed -i 's|- ip_binding: |- |' containers.yml sed -i '/AIO_TOKEN/d' containers.yml sed -i '/AIO_URL/d' containers.yml sed -i '/DOCKER_SOCKET_PROXY_ENABLED/d' containers.yml +sed -i '/ADDITIONAL_TRUSTED_PROXY/d' containers.yml TCP="$(grep -oP '[%A-Z0-9_]+/tcp' containers.yml | sort -u)" mapfile -t TCP <<< "$TCP" diff --git a/nextcloud-aio-helm-chart/Chart.yaml b/nextcloud-aio-helm-chart/Chart.yaml index b5dca7a7..1f8f8783 100755 --- a/nextcloud-aio-helm-chart/Chart.yaml +++ b/nextcloud-aio-helm-chart/Chart.yaml @@ -1,6 +1,6 @@ name: nextcloud-aio-helm-chart description: A generated Helm Chart for Nextcloud AIO from Skippbox Kompose -version: 7.10.0 +version: 7.11.0 apiVersion: v2 keywords: - latest diff --git a/nextcloud-aio-helm-chart/templates/nextcloud-aio-apache-deployment.yaml b/nextcloud-aio-helm-chart/templates/nextcloud-aio-apache-deployment.yaml index ceee07aa..d7f57ff3 100755 --- a/nextcloud-aio-helm-chart/templates/nextcloud-aio-apache-deployment.yaml +++ b/nextcloud-aio-helm-chart/templates/nextcloud-aio-apache-deployment.yaml @@ -3,7 +3,7 @@ kind: Deployment metadata: annotations: kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }} - kompose.version: 1.31.2 (a92241f79) + kompose.version: 1.32.0 (765fde254) labels: io.kompose.service: nextcloud-aio-apache name: nextcloud-aio-apache @@ -17,7 +17,7 @@ spec: metadata: annotations: kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }} - kompose.version: 1.31.2 (a92241f79) + kompose.version: 1.32.0 (765fde254) labels: io.kompose.network/nextcloud-aio: "true" io.kompose.service: nextcloud-aio-apache @@ -57,7 +57,7 @@ spec: value: nextcloud-aio-talk - name: TZ value: "{{ .Values.TIMEZONE }}" - image: nextcloud/aio-apache:20240117_083657-latest + image: nextcloud/aio-apache:20240124_105749-latest name: nextcloud-aio-apache ports: - containerPort: {{ .Values.APACHE_PORT }} diff --git a/nextcloud-aio-helm-chart/templates/nextcloud-aio-apache-service.yaml b/nextcloud-aio-helm-chart/templates/nextcloud-aio-apache-service.yaml index 47c36b71..e2a3389f 100755 --- a/nextcloud-aio-helm-chart/templates/nextcloud-aio-apache-service.yaml +++ b/nextcloud-aio-helm-chart/templates/nextcloud-aio-apache-service.yaml @@ -3,7 +3,7 @@ kind: Service metadata: annotations: kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }} - kompose.version: 1.31.2 (a92241f79) + kompose.version: 1.32.0 (765fde254) labels: io.kompose.service: nextcloud-aio-apache name: nextcloud-aio-apache diff --git a/nextcloud-aio-helm-chart/templates/nextcloud-aio-clamav-deployment.yaml b/nextcloud-aio-helm-chart/templates/nextcloud-aio-clamav-deployment.yaml index 2dd4af6c..dc68a217 100755 --- a/nextcloud-aio-helm-chart/templates/nextcloud-aio-clamav-deployment.yaml +++ b/nextcloud-aio-helm-chart/templates/nextcloud-aio-clamav-deployment.yaml @@ -4,7 +4,7 @@ kind: Deployment metadata: annotations: kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }} - kompose.version: 1.31.2 (a92241f79) + kompose.version: 1.32.0 (765fde254) labels: io.kompose.service: nextcloud-aio-clamav name: nextcloud-aio-clamav @@ -18,7 +18,7 @@ spec: metadata: annotations: kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }} - kompose.version: 1.31.2 (a92241f79) + kompose.version: 1.32.0 (765fde254) labels: io.kompose.network/nextcloud-aio: "true" io.kompose.service: nextcloud-aio-clamav @@ -50,7 +50,7 @@ spec: value: "90" - name: TZ value: "{{ .Values.TIMEZONE }}" - image: nextcloud/aio-clamav:20240117_083657-latest + image: nextcloud/aio-clamav:20240124_105749-latest name: nextcloud-aio-clamav ports: - containerPort: 3310 diff --git a/nextcloud-aio-helm-chart/templates/nextcloud-aio-clamav-service.yaml b/nextcloud-aio-helm-chart/templates/nextcloud-aio-clamav-service.yaml index 4683278b..7af1e626 100755 --- a/nextcloud-aio-helm-chart/templates/nextcloud-aio-clamav-service.yaml +++ b/nextcloud-aio-helm-chart/templates/nextcloud-aio-clamav-service.yaml @@ -4,7 +4,7 @@ kind: Service metadata: annotations: kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }} - kompose.version: 1.31.2 (a92241f79) + kompose.version: 1.32.0 (765fde254) labels: io.kompose.service: nextcloud-aio-clamav name: nextcloud-aio-clamav diff --git a/nextcloud-aio-helm-chart/templates/nextcloud-aio-collabora-deployment.yaml b/nextcloud-aio-helm-chart/templates/nextcloud-aio-collabora-deployment.yaml index 03def331..51cde672 100755 --- a/nextcloud-aio-helm-chart/templates/nextcloud-aio-collabora-deployment.yaml +++ b/nextcloud-aio-helm-chart/templates/nextcloud-aio-collabora-deployment.yaml @@ -4,7 +4,7 @@ kind: Deployment metadata: annotations: kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }} - kompose.version: 1.31.2 (a92241f79) + kompose.version: 1.32.0 (765fde254) labels: io.kompose.service: nextcloud-aio-collabora name: nextcloud-aio-collabora @@ -18,7 +18,7 @@ spec: metadata: annotations: kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }} - kompose.version: 1.31.2 (a92241f79) + kompose.version: 1.32.0 (765fde254) labels: io.kompose.network/nextcloud-aio: "true" io.kompose.service: nextcloud-aio-collabora @@ -37,7 +37,7 @@ spec: value: --o:ssl.enable=false --o:ssl.termination=true --o:mount_jail_tree=false --o:logging.level=warning --o:home_mode.enable=true {{ .Values.COLLABORA_SECCOMP_POLICY }} --o:remote_font_config.url=https://{{ .Values.NC_DOMAIN }}/apps/richdocuments/settings/fonts.json - name: server_name value: "{{ .Values.NC_DOMAIN }}" - image: nextcloud/aio-collabora:20240117_083657-latest + image: nextcloud/aio-collabora:20240124_105749-latest name: nextcloud-aio-collabora ports: - containerPort: 9980 diff --git a/nextcloud-aio-helm-chart/templates/nextcloud-aio-collabora-service.yaml b/nextcloud-aio-helm-chart/templates/nextcloud-aio-collabora-service.yaml index 6307dc4f..9f47648f 100755 --- a/nextcloud-aio-helm-chart/templates/nextcloud-aio-collabora-service.yaml +++ b/nextcloud-aio-helm-chart/templates/nextcloud-aio-collabora-service.yaml @@ -4,7 +4,7 @@ kind: Service metadata: annotations: kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }} - kompose.version: 1.31.2 (a92241f79) + kompose.version: 1.32.0 (765fde254) labels: io.kompose.service: nextcloud-aio-collabora name: nextcloud-aio-collabora diff --git a/nextcloud-aio-helm-chart/templates/nextcloud-aio-database-deployment.yaml b/nextcloud-aio-helm-chart/templates/nextcloud-aio-database-deployment.yaml index 9a3ddfc3..752d732d 100755 --- a/nextcloud-aio-helm-chart/templates/nextcloud-aio-database-deployment.yaml +++ b/nextcloud-aio-helm-chart/templates/nextcloud-aio-database-deployment.yaml @@ -3,7 +3,7 @@ kind: Deployment metadata: annotations: kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }} - kompose.version: 1.31.2 (a92241f79) + kompose.version: 1.32.0 (765fde254) labels: io.kompose.service: nextcloud-aio-database name: nextcloud-aio-database @@ -17,7 +17,7 @@ spec: metadata: annotations: kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }} - kompose.version: 1.31.2 (a92241f79) + kompose.version: 1.32.0 (765fde254) labels: io.kompose.network/nextcloud-aio: "true" io.kompose.service: nextcloud-aio-database @@ -61,7 +61,7 @@ spec: value: nextcloud - name: TZ value: "{{ .Values.TIMEZONE }}" - image: nextcloud/aio-postgresql:20240117_083657-latest + image: nextcloud/aio-postgresql:20240124_105749-latest name: nextcloud-aio-database ports: - containerPort: 5432 diff --git a/nextcloud-aio-helm-chart/templates/nextcloud-aio-database-service.yaml b/nextcloud-aio-helm-chart/templates/nextcloud-aio-database-service.yaml index e770011b..9999233b 100755 --- a/nextcloud-aio-helm-chart/templates/nextcloud-aio-database-service.yaml +++ b/nextcloud-aio-helm-chart/templates/nextcloud-aio-database-service.yaml @@ -3,7 +3,7 @@ kind: Service metadata: annotations: kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }} - kompose.version: 1.31.2 (a92241f79) + kompose.version: 1.32.0 (765fde254) labels: io.kompose.service: nextcloud-aio-database name: nextcloud-aio-database diff --git a/nextcloud-aio-helm-chart/templates/nextcloud-aio-fulltextsearch-deployment.yaml b/nextcloud-aio-helm-chart/templates/nextcloud-aio-fulltextsearch-deployment.yaml index 6f4784db..3ac00e1d 100755 --- a/nextcloud-aio-helm-chart/templates/nextcloud-aio-fulltextsearch-deployment.yaml +++ b/nextcloud-aio-helm-chart/templates/nextcloud-aio-fulltextsearch-deployment.yaml @@ -4,7 +4,7 @@ kind: Deployment metadata: annotations: kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }} - kompose.version: 1.31.2 (a92241f79) + kompose.version: 1.32.0 (765fde254) labels: io.kompose.service: nextcloud-aio-fulltextsearch name: nextcloud-aio-fulltextsearch @@ -18,7 +18,7 @@ spec: metadata: annotations: kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }} - kompose.version: 1.31.2 (a92241f79) + kompose.version: 1.32.0 (765fde254) labels: io.kompose.network/nextcloud-aio: "true" io.kompose.service: nextcloud-aio-fulltextsearch @@ -55,7 +55,7 @@ spec: value: basic - name: xpack.security.enabled value: "false" - image: nextcloud/aio-fulltextsearch:20240117_083657-latest + image: nextcloud/aio-fulltextsearch:20240124_105749-latest name: nextcloud-aio-fulltextsearch ports: - containerPort: 9200 diff --git a/nextcloud-aio-helm-chart/templates/nextcloud-aio-fulltextsearch-service.yaml b/nextcloud-aio-helm-chart/templates/nextcloud-aio-fulltextsearch-service.yaml index 6e66b639..f98c2335 100755 --- a/nextcloud-aio-helm-chart/templates/nextcloud-aio-fulltextsearch-service.yaml +++ b/nextcloud-aio-helm-chart/templates/nextcloud-aio-fulltextsearch-service.yaml @@ -4,7 +4,7 @@ kind: Service metadata: annotations: kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }} - kompose.version: 1.31.2 (a92241f79) + kompose.version: 1.32.0 (765fde254) labels: io.kompose.service: nextcloud-aio-fulltextsearch name: nextcloud-aio-fulltextsearch diff --git a/nextcloud-aio-helm-chart/templates/nextcloud-aio-imaginary-deployment.yaml b/nextcloud-aio-helm-chart/templates/nextcloud-aio-imaginary-deployment.yaml index 261458cc..9fc6b6b2 100755 --- a/nextcloud-aio-helm-chart/templates/nextcloud-aio-imaginary-deployment.yaml +++ b/nextcloud-aio-helm-chart/templates/nextcloud-aio-imaginary-deployment.yaml @@ -4,7 +4,7 @@ kind: Deployment metadata: annotations: kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }} - kompose.version: 1.31.2 (a92241f79) + kompose.version: 1.32.0 (765fde254) labels: io.kompose.service: nextcloud-aio-imaginary name: nextcloud-aio-imaginary @@ -18,7 +18,7 @@ spec: metadata: annotations: kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }} - kompose.version: 1.31.2 (a92241f79) + kompose.version: 1.32.0 (765fde254) labels: io.kompose.network/nextcloud-aio: "true" io.kompose.service: nextcloud-aio-imaginary @@ -27,7 +27,7 @@ spec: - env: - name: TZ value: "{{ .Values.TIMEZONE }}" - image: nextcloud/aio-imaginary:20240117_083657-latest + image: nextcloud/aio-imaginary:20240124_105749-latest name: nextcloud-aio-imaginary ports: - containerPort: 9000 diff --git a/nextcloud-aio-helm-chart/templates/nextcloud-aio-imaginary-service.yaml b/nextcloud-aio-helm-chart/templates/nextcloud-aio-imaginary-service.yaml index 182d0460..3bd1c737 100755 --- a/nextcloud-aio-helm-chart/templates/nextcloud-aio-imaginary-service.yaml +++ b/nextcloud-aio-helm-chart/templates/nextcloud-aio-imaginary-service.yaml @@ -4,7 +4,7 @@ kind: Service metadata: annotations: kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }} - kompose.version: 1.31.2 (a92241f79) + kompose.version: 1.32.0 (765fde254) labels: io.kompose.service: nextcloud-aio-imaginary name: nextcloud-aio-imaginary diff --git a/nextcloud-aio-helm-chart/templates/nextcloud-aio-namespace-namespace.yaml b/nextcloud-aio-helm-chart/templates/nextcloud-aio-namespace-namespace.yaml index 1f0c6e03..265abb64 100755 --- a/nextcloud-aio-helm-chart/templates/nextcloud-aio-namespace-namespace.yaml +++ b/nextcloud-aio-helm-chart/templates/nextcloud-aio-namespace-namespace.yaml @@ -3,4 +3,3 @@ kind: Namespace metadata: name: {{ .Values.NAMESPACE }} namespace: {{ .Values.NAMESPACE }} -spec: {} diff --git a/nextcloud-aio-helm-chart/templates/nextcloud-aio-nextcloud-deployment.yaml b/nextcloud-aio-helm-chart/templates/nextcloud-aio-nextcloud-deployment.yaml index acf7dfea..64562d6d 100755 --- a/nextcloud-aio-helm-chart/templates/nextcloud-aio-nextcloud-deployment.yaml +++ b/nextcloud-aio-helm-chart/templates/nextcloud-aio-nextcloud-deployment.yaml @@ -3,7 +3,7 @@ kind: Deployment metadata: annotations: kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }} - kompose.version: 1.31.2 (a92241f79) + kompose.version: 1.32.0 (765fde254) labels: io.kompose.service: nextcloud-aio-nextcloud name: nextcloud-aio-nextcloud @@ -17,7 +17,7 @@ spec: metadata: annotations: kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }} - kompose.version: 1.31.2 (a92241f79) + kompose.version: 1.32.0 (765fde254) labels: io.kompose.network/nextcloud-aio: "true" io.kompose.service: nextcloud-aio-nextcloud @@ -158,7 +158,7 @@ spec: value: "{{ .Values.TIMEZONE }}" - name: UPDATE_NEXTCLOUD_APPS value: "{{ .Values.UPDATE_NEXTCLOUD_APPS }}" - image: nextcloud/aio-nextcloud:20240117_083657-latest + image: nextcloud/aio-nextcloud:20240124_105749-latest name: nextcloud-aio-nextcloud ports: - containerPort: 9000 diff --git a/nextcloud-aio-helm-chart/templates/nextcloud-aio-nextcloud-service.yaml b/nextcloud-aio-helm-chart/templates/nextcloud-aio-nextcloud-service.yaml index 48ca483b..dd12a261 100755 --- a/nextcloud-aio-helm-chart/templates/nextcloud-aio-nextcloud-service.yaml +++ b/nextcloud-aio-helm-chart/templates/nextcloud-aio-nextcloud-service.yaml @@ -3,7 +3,7 @@ kind: Service metadata: annotations: kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }} - kompose.version: 1.31.2 (a92241f79) + kompose.version: 1.32.0 (765fde254) labels: io.kompose.service: nextcloud-aio-nextcloud name: nextcloud-aio-nextcloud diff --git a/nextcloud-aio-helm-chart/templates/nextcloud-aio-notify-push-deployment.yaml b/nextcloud-aio-helm-chart/templates/nextcloud-aio-notify-push-deployment.yaml index e89dbe4e..dbc15082 100755 --- a/nextcloud-aio-helm-chart/templates/nextcloud-aio-notify-push-deployment.yaml +++ b/nextcloud-aio-helm-chart/templates/nextcloud-aio-notify-push-deployment.yaml @@ -3,7 +3,7 @@ kind: Deployment metadata: annotations: kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }} - kompose.version: 1.31.2 (a92241f79) + kompose.version: 1.32.0 (765fde254) labels: io.kompose.service: nextcloud-aio-notify-push name: nextcloud-aio-notify-push @@ -17,7 +17,7 @@ spec: metadata: annotations: kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }} - kompose.version: 1.31.2 (a92241f79) + kompose.version: 1.32.0 (765fde254) labels: io.kompose.network/nextcloud-aio: "true" io.kompose.service: nextcloud-aio-notify-push @@ -50,7 +50,7 @@ spec: value: nextcloud-aio-redis - name: REDIS_HOST_PASSWORD value: "{{ .Values.REDIS_PASSWORD }}" - image: nextcloud/aio-notify-push:20240117_083657-latest + image: nextcloud/aio-notify-push:20240124_105749-latest name: nextcloud-aio-notify-push ports: - containerPort: 7867 diff --git a/nextcloud-aio-helm-chart/templates/nextcloud-aio-notify-push-service.yaml b/nextcloud-aio-helm-chart/templates/nextcloud-aio-notify-push-service.yaml index fee9d10b..17ecb5bd 100755 --- a/nextcloud-aio-helm-chart/templates/nextcloud-aio-notify-push-service.yaml +++ b/nextcloud-aio-helm-chart/templates/nextcloud-aio-notify-push-service.yaml @@ -3,7 +3,7 @@ kind: Service metadata: annotations: kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }} - kompose.version: 1.31.2 (a92241f79) + kompose.version: 1.32.0 (765fde254) labels: io.kompose.service: nextcloud-aio-notify-push name: nextcloud-aio-notify-push diff --git a/nextcloud-aio-helm-chart/templates/nextcloud-aio-onlyoffice-deployment.yaml b/nextcloud-aio-helm-chart/templates/nextcloud-aio-onlyoffice-deployment.yaml index 44ab44d4..902ee707 100755 --- a/nextcloud-aio-helm-chart/templates/nextcloud-aio-onlyoffice-deployment.yaml +++ b/nextcloud-aio-helm-chart/templates/nextcloud-aio-onlyoffice-deployment.yaml @@ -4,7 +4,7 @@ kind: Deployment metadata: annotations: kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }} - kompose.version: 1.31.2 (a92241f79) + kompose.version: 1.32.0 (765fde254) labels: io.kompose.service: nextcloud-aio-onlyoffice name: nextcloud-aio-onlyoffice @@ -18,7 +18,7 @@ spec: metadata: annotations: kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }} - kompose.version: 1.31.2 (a92241f79) + kompose.version: 1.32.0 (765fde254) labels: io.kompose.network/nextcloud-aio: "true" io.kompose.service: nextcloud-aio-onlyoffice @@ -43,7 +43,7 @@ spec: value: "{{ .Values.ONLYOFFICE_SECRET }}" - name: TZ value: "{{ .Values.TIMEZONE }}" - image: nextcloud/aio-onlyoffice:20240117_083657-latest + image: nextcloud/aio-onlyoffice:20240124_105749-latest name: nextcloud-aio-onlyoffice ports: - containerPort: 80 diff --git a/nextcloud-aio-helm-chart/templates/nextcloud-aio-onlyoffice-service.yaml b/nextcloud-aio-helm-chart/templates/nextcloud-aio-onlyoffice-service.yaml index af10c7cf..549653db 100755 --- a/nextcloud-aio-helm-chart/templates/nextcloud-aio-onlyoffice-service.yaml +++ b/nextcloud-aio-helm-chart/templates/nextcloud-aio-onlyoffice-service.yaml @@ -4,7 +4,7 @@ kind: Service metadata: annotations: kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }} - kompose.version: 1.31.2 (a92241f79) + kompose.version: 1.32.0 (765fde254) labels: io.kompose.service: nextcloud-aio-onlyoffice name: nextcloud-aio-onlyoffice diff --git a/nextcloud-aio-helm-chart/templates/nextcloud-aio-redis-deployment.yaml b/nextcloud-aio-helm-chart/templates/nextcloud-aio-redis-deployment.yaml index 0cc5bbc1..260d0ee9 100755 --- a/nextcloud-aio-helm-chart/templates/nextcloud-aio-redis-deployment.yaml +++ b/nextcloud-aio-helm-chart/templates/nextcloud-aio-redis-deployment.yaml @@ -3,7 +3,7 @@ kind: Deployment metadata: annotations: kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }} - kompose.version: 1.31.2 (a92241f79) + kompose.version: 1.32.0 (765fde254) labels: io.kompose.service: nextcloud-aio-redis name: nextcloud-aio-redis @@ -17,7 +17,7 @@ spec: metadata: annotations: kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }} - kompose.version: 1.31.2 (a92241f79) + kompose.version: 1.32.0 (765fde254) labels: io.kompose.network/nextcloud-aio: "true" io.kompose.service: nextcloud-aio-redis @@ -38,7 +38,7 @@ spec: value: "{{ .Values.REDIS_PASSWORD }}" - name: TZ value: "{{ .Values.TIMEZONE }}" - image: nextcloud/aio-redis:20240117_083657-latest + image: nextcloud/aio-redis:20240124_105749-latest name: nextcloud-aio-redis ports: - containerPort: 6379 diff --git a/nextcloud-aio-helm-chart/templates/nextcloud-aio-redis-service.yaml b/nextcloud-aio-helm-chart/templates/nextcloud-aio-redis-service.yaml index 508b0c75..7f2bc67c 100755 --- a/nextcloud-aio-helm-chart/templates/nextcloud-aio-redis-service.yaml +++ b/nextcloud-aio-helm-chart/templates/nextcloud-aio-redis-service.yaml @@ -3,7 +3,7 @@ kind: Service metadata: annotations: kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }} - kompose.version: 1.31.2 (a92241f79) + kompose.version: 1.32.0 (765fde254) labels: io.kompose.service: nextcloud-aio-redis name: nextcloud-aio-redis diff --git a/nextcloud-aio-helm-chart/templates/nextcloud-aio-talk-deployment.yaml b/nextcloud-aio-helm-chart/templates/nextcloud-aio-talk-deployment.yaml index 1df9be77..16967a71 100755 --- a/nextcloud-aio-helm-chart/templates/nextcloud-aio-talk-deployment.yaml +++ b/nextcloud-aio-helm-chart/templates/nextcloud-aio-talk-deployment.yaml @@ -4,7 +4,7 @@ kind: Deployment metadata: annotations: kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }} - kompose.version: 1.31.2 (a92241f79) + kompose.version: 1.32.0 (765fde254) labels: io.kompose.service: nextcloud-aio-talk name: nextcloud-aio-talk @@ -18,7 +18,7 @@ spec: metadata: annotations: kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }} - kompose.version: 1.31.2 (a92241f79) + kompose.version: 1.32.0 (765fde254) labels: io.kompose.network/nextcloud-aio: "true" io.kompose.service: nextcloud-aio-talk @@ -37,7 +37,7 @@ spec: value: "{{ .Values.TURN_SECRET }}" - name: TZ value: "{{ .Values.TIMEZONE }}" - image: nextcloud/aio-talk:20240117_083657-latest + image: nextcloud/aio-talk:20240124_105749-latest name: nextcloud-aio-talk ports: - containerPort: {{ .Values.TALK_PORT }} diff --git a/nextcloud-aio-helm-chart/templates/nextcloud-aio-talk-recording-deployment.yaml b/nextcloud-aio-helm-chart/templates/nextcloud-aio-talk-recording-deployment.yaml index 610e0f9f..4b6f4d30 100755 --- a/nextcloud-aio-helm-chart/templates/nextcloud-aio-talk-recording-deployment.yaml +++ b/nextcloud-aio-helm-chart/templates/nextcloud-aio-talk-recording-deployment.yaml @@ -4,7 +4,7 @@ kind: Deployment metadata: annotations: kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }} - kompose.version: 1.31.2 (a92241f79) + kompose.version: 1.32.0 (765fde254) labels: io.kompose.service: nextcloud-aio-talk-recording name: nextcloud-aio-talk-recording @@ -18,7 +18,7 @@ spec: metadata: annotations: kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }} - kompose.version: 1.31.2 (a92241f79) + kompose.version: 1.32.0 (765fde254) labels: io.kompose.network/nextcloud-aio: "true" io.kompose.service: nextcloud-aio-talk-recording @@ -33,7 +33,7 @@ spec: value: "{{ .Values.RECORDING_SECRET }}" - name: TZ value: "{{ .Values.TIMEZONE }}" - image: nextcloud/aio-talk-recording:20240117_083657-latest + image: nextcloud/aio-talk-recording:20240124_105749-latest name: nextcloud-aio-talk-recording ports: - containerPort: 1234 diff --git a/nextcloud-aio-helm-chart/templates/nextcloud-aio-talk-recording-service.yaml b/nextcloud-aio-helm-chart/templates/nextcloud-aio-talk-recording-service.yaml index d307c573..2ffceefe 100755 --- a/nextcloud-aio-helm-chart/templates/nextcloud-aio-talk-recording-service.yaml +++ b/nextcloud-aio-helm-chart/templates/nextcloud-aio-talk-recording-service.yaml @@ -4,7 +4,7 @@ kind: Service metadata: annotations: kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }} - kompose.version: 1.31.2 (a92241f79) + kompose.version: 1.32.0 (765fde254) labels: io.kompose.service: nextcloud-aio-talk-recording name: nextcloud-aio-talk-recording diff --git a/nextcloud-aio-helm-chart/templates/nextcloud-aio-talk-service.yaml b/nextcloud-aio-helm-chart/templates/nextcloud-aio-talk-service.yaml index 9d87d9ee..37306e42 100755 --- a/nextcloud-aio-helm-chart/templates/nextcloud-aio-talk-service.yaml +++ b/nextcloud-aio-helm-chart/templates/nextcloud-aio-talk-service.yaml @@ -5,7 +5,7 @@ kind: Service metadata: annotations: kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }} - kompose.version: 1.31.2 (a92241f79) + kompose.version: 1.32.0 (765fde254) labels: io.kompose.service: nextcloud-aio-talk name: nextcloud-aio-talk-public @@ -30,7 +30,7 @@ kind: Service metadata: annotations: kompose.cmd: kompose convert -c -f latest.yml --namespace {{ .Values.NAMESPACE }} - kompose.version: 1.31.2 (a92241f79) + kompose.version: 1.32.0 (765fde254) labels: io.kompose.service: nextcloud-aio-talk name: nextcloud-aio-talk diff --git a/php/composer.json b/php/composer.json index b0dc2546..32488056 100644 --- a/php/composer.json +++ b/php/composer.json @@ -19,7 +19,7 @@ "ext-apcu": "*" }, "scripts": { - "psalm": "psalm --threads=1 --show-info=true", + "psalm": "psalm --threads=1", "psalm:update-baseline": "psalm --threads=1 --update-baseline", "lint": "find . -name \\*.php -not -path './vendor/*' -exec php -l {} \\;", "php-deprecation-detector": "find . -name \\*.php -not -path './vendor/*' -exec phpdd scan {} -n -t 8.2 \\;" diff --git a/php/composer.lock b/php/composer.lock index ad792be0..0c46654c 100644 --- a/php/composer.lock +++ b/php/composer.lock @@ -1090,16 +1090,16 @@ }, { "name": "slim/csrf", - "version": "1.3.0", + "version": "1.4.0", "source": { "type": "git", "url": "https://github.com/slimphp/Slim-Csrf.git", - "reference": "ebaaf295fd6d7224078d8ae3bba45329b31798c7" + "reference": "f66be9740283ed4f432535aff3623540e178013a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/slimphp/Slim-Csrf/zipball/ebaaf295fd6d7224078d8ae3bba45329b31798c7", - "reference": "ebaaf295fd6d7224078d8ae3bba45329b31798c7", + "url": "https://api.github.com/repos/slimphp/Slim-Csrf/zipball/f66be9740283ed4f432535aff3623540e178013a", + "reference": "f66be9740283ed4f432535aff3623540e178013a", "shasum": "" }, "require": { @@ -1110,10 +1110,10 @@ "psr/http-server-middleware": "^1.0" }, "require-dev": { - "phpspec/prophecy": "^1.15", - "phpspec/prophecy-phpunit": "^2.0", - "phpunit/phpunit": "^9.5", - "squizlabs/php_codesniffer": "^3.7" + "phpspec/prophecy": "^1.18", + "phpspec/prophecy-phpunit": "^2.1", + "phpunit/phpunit": "^9.6", + "squizlabs/php_codesniffer": "^3.8" }, "type": "library", "autoload": { @@ -1142,9 +1142,9 @@ ], "support": { "issues": "https://github.com/slimphp/Slim-Csrf/issues", - "source": "https://github.com/slimphp/Slim-Csrf/tree/1.3.0" + "source": "https://github.com/slimphp/Slim-Csrf/tree/1.4.0" }, - "time": "2022-11-05T19:27:53+00:00" + "time": "2024-01-22T09:08:27+00:00" }, { "name": "slim/slim", diff --git a/php/containers.json b/php/containers.json index b62c4236..2ee9a131 100644 --- a/php/containers.json +++ b/php/containers.json @@ -213,6 +213,7 @@ "REMOVE_DISABLED_APPS=%REMOVE_DISABLED_APPS%", "APACHE_PORT=%APACHE_PORT%", "APACHE_IP_BINDING=%APACHE_IP_BINDING%", + "ADDITIONAL_TRUSTED_PROXY=%CADDY_IP_ADDRESS%", "THIS_IS_AIO=true" ], "stop_grace_period": 600, diff --git a/php/domain-validator.php b/php/domain-validator.php index a1e6487b..8f4fca11 100644 --- a/php/domain-validator.php +++ b/php/domain-validator.php @@ -8,7 +8,7 @@ http_response_code(400); } elseif (strpos($domain, ':') !== false) { http_response_code(400); -} elseif (!filter_var($domain, FILTER_VALIDATE_DOMAIN, FILTER_FLAG_HOSTNAME)) { +} elseif (!filter_var($domain, FILTER_VALIDATE_DOMAIN, FILTER_FLAG_HOSTNAME) === false) { http_response_code(400); } elseif (filter_var($domain, FILTER_VALIDATE_IP)) { http_response_code(400); diff --git a/php/psalm-baseline.xml b/php/psalm-baseline.xml index efff0560..19d94ff7 100644 --- a/php/psalm-baseline.xml +++ b/php/psalm-baseline.xml @@ -1,2 +1,2 @@ - + diff --git a/php/src/Controller/LoginController.php b/php/src/Controller/LoginController.php index 954cf494..787ec6e1 100644 --- a/php/src/Controller/LoginController.php +++ b/php/src/Controller/LoginController.php @@ -30,7 +30,7 @@ public function TryLogin(Request $request, Response $response, array $args) : Re return $response->withHeader('Location', '/')->withStatus(201); } - $response->getBody()->write("The password is false."); + $response->getBody()->write("The password is incorrect."); return $response->withHeader('Location', '/')->withStatus(422); } diff --git a/php/src/Data/ConfigurationManager.php b/php/src/Data/ConfigurationManager.php index 51780b35..3b3cba5d 100644 --- a/php/src/Data/ConfigurationManager.php +++ b/php/src/Data/ConfigurationManager.php @@ -286,7 +286,7 @@ public function SetDomain(string $domain) : void { } // Validate domain - if (!filter_var($domain, FILTER_VALIDATE_DOMAIN, FILTER_FLAG_HOSTNAME)) { + if (filter_var($domain, FILTER_VALIDATE_DOMAIN, FILTER_FLAG_HOSTNAME) === false) { throw new InvalidSettingConfigurationException("Domain is not a valid domain!"); } @@ -305,7 +305,7 @@ public function SetDomain(string $domain) : void { if (empty($dnsRecordIP)) { $record = dns_get_record($domain, DNS_AAAA); - if (!empty($record)) { + if (!empty($record[0]['ipv6'])) { $dnsRecordIP = $record[0]['ipv6']; } } diff --git a/php/src/Docker/DockerActionManager.php b/php/src/Docker/DockerActionManager.php index c0772013..50b9c977 100644 --- a/php/src/Docker/DockerActionManager.php +++ b/php/src/Docker/DockerActionManager.php @@ -406,6 +406,13 @@ public function CreateContainer(Container $container) : void { // Allow to get local ip-address of database container which allows to talk to it even in host mode (the container that requires this needs to be started first then) } elseif ($out[1] === 'AIO_DATABASE_HOST') { $replacements[1] = gethostbyname('nextcloud-aio-database'); + // Allow to get local ip-address of caddy container and add it to trusted proxies automatically + } elseif ($out[1] === 'CADDY_IP_ADDRESS') { + $replacements[1] = ''; + $communityContainers = $this->configurationManager->GetEnabledCommunityContainers(); + if (in_array('caddy', $communityContainers, true)) { + $replacements[1] = gethostbyname('nextcloud-aio-caddy'); + } } else { $secret = $this->configurationManager->GetSecret($out[1]); if ($secret === "") { diff --git a/php/templates/containers.twig b/php/templates/containers.twig index 8e2cc2dc..8c232f72 100644 --- a/php/templates/containers.twig +++ b/php/templates/containers.twig @@ -16,7 +16,7 @@
-

Nextcloud AIO v7.11.0

+

Nextcloud AIO v7.11.1

{# Add 2nd tab warning #}