There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-8016c49e-461c-4183-a3e4-357ed8e1fdf6 XWIKI-24552 In Progress

XJetty create a new temporary folder for XWiki work dir with each restart

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-3136c9fe-2a71-4626-8962-82a48b4d4782 Michael Hamann on 20/Jul/26 14:45
 

The fix doesn't seem to work for the Debian package: The jetty base directory /usr/lib/xwiki-jetty is read-only and owned by root in Debian and thus the added mkdir command fails, so nothing changes. I asked Claude Code to test in an actual Debian environment with a Docker container and it found that even making work a symlink to a writable location doesn't help. Suggested options for a fix:

  • Make Jetty's temp dir explicit via config to a writable path (e.g. set the deploy/context temp dir to /var/lib/xwiki/work), bypassing the base-writability-gated work/auto-detection
  • Split jetty home/base, relocating jetty.base under /var/lib/xwiki (writable, in ReadWritePaths)

To keep things clean, I'm going to revert the changes for the 18.6.0RC and move this issue to 18.6.0.