This issue has been created
 
 
Kubernetes Helm Charts for XWiki / cid:jira-generated-image-avatar-c1388963-e5b3-4b8e-a8f8-1904e1b9e046 HELM-106 Open

Persistency not reflected in Configuration

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-f1c41109-e90d-42d2-aa7a-ae886f9f1627 Marcel Wunderlich created this issue on 05/Dec/25 15:37
 
Summary: Persistency not reflected in Configuration
Issue Type: cid:jira-generated-image-avatar-c1388963-e5b3-4b8e-a8f8-1904e1b9e046 Bug
Affects Versions: 1.6.3
Assignee: Unassigned
Created: 05/Dec/25 15:37
Environment: k8s
Priority: cid:jira-generated-image-static-minor-92258bc5-c019-451f-9bd2-35e5bf768453 Minor
Reporter: Marcel Wunderlich
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.