diff --git a/bitnami/matomo/4/debian-11/Dockerfile b/bitnami/matomo/4/debian-11/Dockerfile index 6aadc2be40f6..258212c6c7fd 100644 --- a/bitnami/matomo/4/debian-11/Dockerfile +++ b/bitnami/matomo/4/debian-11/Dockerfile @@ -7,10 +7,10 @@ ARG TARGETARCH LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \ org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \ - org.opencontainers.image.created="2023-07-27T22:04:18Z" \ + org.opencontainers.image.created="2023-07-31T14:05:16Z" \ org.opencontainers.image.description="Application packaged by VMware, Inc" \ org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="4.15.0-debian-11-r19" \ + org.opencontainers.image.ref.name="4.15.0-debian-11-r20" \ org.opencontainers.image.title="matomo" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="4.15.0" diff --git a/bitnami/matomo/4/debian-11/rootfs/opt/bitnami/scripts/libmatomo.sh b/bitnami/matomo/4/debian-11/rootfs/opt/bitnami/scripts/libmatomo.sh index c8fbd062041f..23103a1fdf1d 100644 --- a/bitnami/matomo/4/debian-11/rootfs/opt/bitnami/scripts/libmatomo.sh +++ b/bitnami/matomo/4/debian-11/rootfs/opt/bitnami/scripts/libmatomo.sh @@ -217,6 +217,8 @@ EOF persist_app "$app_name" "$MATOMO_DATA_TO_PERSIST" else info "Persisted Matomo installation detected" + info "Updating Matomo files in persisted data" + rsync -a "$MATOMO_BASE_DIR"/* "$MATOMO_VOLUME_DIR" --exclude "$(realpath --relative-to="$MATOMO_BASE_DIR" "$MATOMO_CONF_FILE")" info "Restoring Matomo installation" restore_persisted_app "$app_name" "$MATOMO_DATA_TO_PERSIST" info "Trying to connect to the database server" diff --git a/bitnami/matomo/README.md b/bitnami/matomo/README.md index aac01f8021e8..269796b4a8a8 100644 --- a/bitnami/matomo/README.md +++ b/bitnami/matomo/README.md @@ -523,6 +523,10 @@ volumes: ## Notable Changes +## 4.15.0-debian-11-r20 + +From this version on, all Matomo files are persisted (MATOMO_DATA_TO_PERSIST env var). During the upgrade process, they will be replaced (except the config.ini.php file) as suggested in [the official documentation](https://matomo.org/faq/on-premise/update-matomo/#the-manual-three-step-update) + ### 3.14.1-debian-10-r82 * The size of the container image has been decreased.