Uploaded image for project: 'Kubernetes Helm Charts for XWiki'
  1. Kubernetes Helm Charts for XWiki
  2. HELM-106

Persistency not reflected in Configuration

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Minor
    • None
    • 1.6.3
    • None
    • k8s
    • Unknown

    Description

      Not sure if this is a regression or new issue, but at least current release is affected.

      Reproduce:
      1. enable a persistent volume
      2. experience issues like https://forum.xwiki.org/t/persistency-issue-xwiki-postgres-tomcat-on-kubernetes/13670 or https://forum.xwiki.org/t/permanent-directory-is-ignored-and-data-is-in-tomcat-work-directory/4095
      3. cry

      Workaround:

      Explicitly pass `-Dxwiki.data.dir`, like so:

      ```
      javaOpts:
        - "-Dxwiki.data.dir=/usr/local/xwiki/data"
      ```

      Then most things seem to work on the surface.

      The deployment is still far from immutable (stuff happens in the tomcat directory) and configurable (apparently most of the configuration is in the container, not any configmap), so I can not tell if this is everything one needs to do or if more places need to be touched.

      Attachments

        Activity

          People

            sautner Guilherme Sautner
            Marcel Wunderlich Marcel Wunderlich
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: