Code Monkey home page Code Monkey logo

Comments (7)

bpresles avatar bpresles commented on July 21, 2024 4

Hello,

I got the same issue, it seems that the cron jobs containers are starting Apache briefly and that Apache configuration is looking for the SSL certificates to be present.

But the default command used for these containers doesn't include the apache setup script (/opt/bitnami/scripts/apache/setup.sh) which in the main matomo container is responsible to generate the certificates in /opt/bitname/apache/conf/bitnami/certs/.

A workaround consist of adding this script in the script list of the command arguments using Values.cronjobs.taskScheduler.arg and Values.cronjobs.archive.args values:

cronjobs:
  taskScheduler:
      args:
        - . /opt/bitnami/scripts/matomo-env.sh &&
          . /opt/bitnami/scripts/libbitnami.sh &&
          . /opt/bitnami/scripts/liblog.sh &&
          /opt/bitnami/scripts/apache/setup.sh &&
          /opt/bitnami/scripts/php/setup.sh &&
          /opt/bitnami/scripts/mysql-client/setup.sh &&
          /opt/bitnami/scripts/matomo/setup.sh &&
          /post-init.sh &&
          /opt/bitnami/php/bin/php /opt/bitnami/matomo/console core:run-scheduled-tasks
  archive:
    args:
      - . /opt/bitnami/scripts/matomo-env.sh &&
        . /opt/bitnami/scripts/libbitnami.sh &&
        . /opt/bitnami/scripts/liblog.sh &&
        /opt/bitnami/scripts/apache/setup.sh &&
        /opt/bitnami/scripts/php/setup.sh &&
        /opt/bitnami/scripts/mysql-client/setup.sh &&
        /opt/bitnami/scripts/matomo/setup.sh &&
        /post-init.sh &&
        /opt/bitnami/php/bin/php /opt/bitnami/matomo/console core:archive

from charts.

JaZo avatar JaZo commented on July 21, 2024 1

I'm sorry for the confusion, it is indeed fixed in 7.x! I updated the chart and restarted the cronjob and it still failed, but I didn't check the next executions and these are running smoothly now. Must have been using the old image or something.

from charts.

cruggieri avatar cruggieri commented on July 21, 2024

Same issue here:

AH00526: Syntax error on line 5 of /opt/bitnami/apache/conf/vhosts/matomo-https-vhost.conf:
SSLCertificateFile: file '/opt/bitnami/apache/conf/bitnami/certs/server.crt' does not exist or is empty

from charts.

github-actions avatar github-actions commented on July 21, 2024

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.

from charts.

github-actions avatar github-actions commented on July 21, 2024

Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.

from charts.

JaZo avatar JaZo commented on July 21, 2024

This issue is still present in 7.0.4, please reopen.

from charts.

juan131 avatar juan131 commented on July 21, 2024

Hi everyone!

The missing script pointed by @bpresles at this comment was added by @dgomezleon at #24823. Therefore, you should no longer face this issue since 7.0.0 version.

This issue is still present in 7.0.4

@JaZo could you please share the logs of the failing cronjob containers?

from charts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.