charts icon indicating copy to clipboard operation
charts copied to clipboard

Matomo won't start ( CrashLoopBackOff )

Open RelativeSure opened this issue 2 years ago • 2 comments

App Name

Matomo

SCALE Version

Not using SCALE

App Version

7.0.25

Application Events

Not using SCALE

Application Logs

> k logs pod/matomo-54c5b65b67-mvfzf
matomo 18:07:33.03
matomo 18:07:33.04 Welcome to the Bitnami matomo container
matomo 18:07:33.04 Subscribe to project updates by watching https://github.com/bitnami/containers
matomo 18:07:33.04 Submit issues and feature requests at https://github.com/bitnami/containers/issues
matomo 18:07:33.04
matomo 18:07:33.04 INFO  ==> ** Starting Matomo setup **
matomo 18:07:33.06 DEBUG ==> Validating settings in APACHE_* environment variables
matomo 18:07:33.08 INFO  ==> Generating sample certificates
Generating RSA private key, 4096 bit long modulus (2 primes)
................................................++++
........................................................................................................................................................................................................................................................................................................++++
e is 65537 (0x010001)
Signature ok
subject=CN = example.com
Getting Private key
realpath: /bitnami/apache/conf: No such file or directory
matomo 18:07:34.33 INFO  ==> Configuring the HTTP port
matomo 18:07:34.33 DEBUG ==> Configuring port 10172 on file /opt/bitnami/apache/conf/httpd.conf
matomo 18:07:34.34 DEBUG ==> Configuring port 10172 on file /opt/bitnami/apache/conf/bitnami/bitnami.conf
matomo 18:07:34.34 DEBUG ==> Configuring port 10172 on file /opt/bitnami/apache/conf/vhosts/00_status-vhost.conf
matomo 18:07:34.35 INFO  ==> Configuring the HTTPS port
matomo 18:07:34.35 DEBUG ==> Configuring port 10173 on file /opt/bitnami/apache/conf/bitnami/bitnami-ssl.conf
matomo 18:07:34.35 INFO  ==> Configuring Apache ServerTokens directive
matomo 18:07:34.35 DEBUG ==> Configuring ServerTokens Prod on file /opt/bitnami/apache/conf/httpd.conf
chmod: changing permissions of '/proc/self/fd/1': Permission denied
chmod: changing permissions of '/proc/self/fd/2': Permission denied

Application Configuration

apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
  name: matomo
  namespace: matomo
spec:
  interval: 5m0s
  url: https://charts.truecharts.org/
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
  name: matomo
  namespace: matomo
spec:
  interval: 5m
  chart:
    spec:
      chart: matomo
      version: "7.0.25"
      sourceRef:
        kind: HelmRepository
        name: matomo
        namespace: matomo
      interval: 1m
  values:
    service:
      https:
        enabled: false
    mariadb:
      enabled: false
    workload:
      main:
        podSpec:
          containers:
            main:
              env:
                MATOMO_USERNAME: xxxx
                MATOMO_PASSWORD: xxx
                MATOMO_EMAIL: [email protected]
                MATOMO_WEBSITE_NAME: "xxxx Website"
                MATOMO_WEBSITE_HOST: https://xxxx.tld

Describe the bug

Container has permission denied errors when trying to start up and therefore does a CrashLoopBackOff

To Reproduce

  1. Use Application Configuration
  2. Apply it to k8s cluster with Helm3
  3. Check logs of created pod

Expected Behavior

Would start up normally and will be taking incoming requests from my website

Screenshots

N/A

Additional Context

N/A

I've read and agree with the following

  • [X] I've checked all open and closed issues and my issue is not there.

RelativeSure avatar Jun 21 '23 18:06 RelativeSure

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in two weeks if no further activity occurs. Thank you for your contributions.

truecharts-admin avatar Dec 18 '23 20:12 truecharts-admin

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in two weeks if no further activity occurs. Thank you for your contributions.

truecharts-admin avatar Jun 25 '24 20:06 truecharts-admin

This issue has been automatically closed due to inactivity. Please re-open if this still requires investigation.

truecharts-admin avatar Jul 10 '24 20:07 truecharts-admin