Uploaded image for project: 'Server Deployments and Scale'
  1. Server Deployments and Scale
  2. SCALE-67

Confluence database validation value is false by default

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Medium
    • None
    • master
    • Docker, Kubernetes
    • Minor

    Description

      Issue Summary

      The Confluence database validation default value is false in Docker template https://bitbucket.org/atlassian-docker/docker-atlassian-confluence-server/src/master/config/confluence.cfg.xml.j2

      This default setting seems to contradict Confluence public documentation:

      This is reproducible on Data Center:

      Steps to Reproduce

      1. Pull the docker image from https://hub.docker.com/r/atlassian/confluence-server/
      2. Setup Confluence server or 2 nodes cluster
      3. Check the confluence.cfg.xml file in the Confluence home directory

      Expected Results

      <property name="hibernate.c3p0.validate">{{ atl_db_validate | default('true') }}</property>
      

      Actual Results

      <property name="hibernate.c3p0.validate">{{ atl_db_validate | default('false') }}</property>
      

      Workaround

      Docker:

      Set the variable "ATL_DB_VALIDATE=true"

      kubernetes:

      Add the variable to values.yaml

        additionalEnvironmentVariables:
          - name: ATL_DB_VALIDATE
            value: true
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lwang3@atlassian.com Lei Wang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: