This issue has been created
There are 5 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-8181bc1a-08d5-45fc-b27a-d0d38c7e933c XWIKI-23797 Open

Office server controlled by XWiki write files outside of XWiki (permanent, temporary) folders

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-eb408f49-32f1-4bcf-a430-7304adeac8e0 Clément Christiaens created this issue on 05/Dec/25 10:56
 
Summary: Office server can't write font cache in xwiki directory
Issue Type: cid:jira-generated-image-avatar-8181bc1a-08d5-45fc-b27a-d0d38c7e933c Bug
Affects Versions: 17.4.7
Assignee: Unassigned
Created: 05/Dec/25 10:56
Environment: Debian GNU/Linux 13 (trixie)
xwiki-xjetty-mariadb: 17.4.7
Priority: cid:jira-generated-image-static-major-7f0f99c3-6353-482b-a0e5-5df5f2400d0e Major
Reporter: Clément Christiaens
Description:

When using an xwiki instance with :

  • openoffice.autoStart = true
  • openoffice.homePath = /usr/lib/libreoffice/

 

2025-12-05 10:47:28,089 [Thread-31] ERROR o.j.l.o.VerboseProcess         - 2025-12-05 10:47:28,090 [Thread-31] ERROR o.j.l.o.VerboseProcess         - (process:11097): dconf-CRITICAL **: 10:47:28.089: unable to create directory '/var/lib/xwiki/.cache/dconf': Read-only file system.  dconf will not work properly. 2025-12-05 10:47:28,149 [Thread-31] ERROR o.j.l.o.VerboseProcess         - Fontconfig error: No writable cache directories 2025-12-05 10:47:28,149 [Thread-31] ERROR o.j.l.o.VerboseProcess         - Fontconfig error: No writable cache directories 2025-12-05 10:47:28,149 [Thread-31] ERROR o.j.l.o.VerboseProcess         - Fontconfig error: No writable cache directories

The office server (running as xwiki user) will try to use the /var/lib/xwiki/.cache folder.
However, it's denied by the default xwiki.service bundled in the Debian packages, as they do not include:

ReadWritePaths=/var/lib/xwiki/.cache
 
 

5 updates

 
cid:jira-generated-image-avatar-eb408f49-32f1-4bcf-a430-7304adeac8e0 Changes by Clément Christiaens on 05/Dec/25 10:57
 
Description: When using an xwiki instance with :
* openoffice.autoStart = true
* openoffice.homePath = /usr/lib/libreoffice/

 
{code: java none }
2025-12-05 10:47:28,089 [Thread-31] ERROR o.j.l.o.VerboseProcess         - 2025-12-05 10:47:28,090
[Thread-31] ERROR o.j.l.o.VerboseProcess         - (process:11097): dconf-CRITICAL **: 10:47:28.089: unable to create directory '/var/lib/xwiki/.cache/dconf': Read-only file system.  dconf will not work properly. 2025-12-05 10:47:28,149
[Thread-31] ERROR o.j.l.o.VerboseProcess         - Fontconfig error: No writable cache directories 2025-12-05 10:47:28,149
[Thread-31] ERROR o.j.l.o.VerboseProcess         - Fontconfig error: No writable cache directories 2025-12-05 10:47:28,149
[Thread-31] ERROR o.j.l.o.VerboseProcess         - Fontconfig error: No writable cache directories
{code}

The office server (running as xwiki user) will try to use the /var/lib/xwiki/.cache folder.
However, it's denied by the default xwiki.service bundled in the Debian packages, as
they do it does not include:
{code:
java none }
ReadWritePaths=/var/lib/xwiki/.cache
{code}
 
cid:jira-generated-image-avatar-2a19d2ef-38a0-4350-a552-5cd590df46c3 Changes by Thomas Mortagne on 05/Dec/25 11:01
 
Summary: Office server can't controlled by XWiki write font cache in xwiki directory files outside of XWiki (permanent, temporary) folders
 
cid:jira-generated-image-avatar-eb408f49-32f1-4bcf-a430-7304adeac8e0 Changes by Clément Christiaens on 05/Dec/25 11:01
 
Description: When using an xwiki instance with :
* openoffice.autoStart = true
* openoffice.homePath = /usr/lib/libreoffice/

{code:none}
[Thread-31] ERROR o.j.l.o.VerboseProcess         -
[Thread-31] ERROR o.j.l.o.VerboseProcess         - (process:11097): dconf-CRITICAL **: 10:47:28.089: unable to create directory '/var/lib/xwiki/.cache/dconf': Read-only file system.  dconf will not work properly.
[Thread-31] ERROR o.j.l.o.VerboseProcess         - Fontconfig error: No writable cache directories
[Thread-31] ERROR o.j.l.o.VerboseProcess         - Fontconfig error: No writable cache directories
[Thread-31] ERROR o.j.l.o.VerboseProcess         - Fontconfig error: No writable cache directories
{code}

The office server (running as xwiki user) will try to use the /var/lib/xwiki/.cache folder.
However, it's denied by the default xwiki.service bundled in the Debian packages, as it does not include:
{code:none}
ReadWritePaths=/var/lib/xwiki/.cache
{code}


Not tested on other versions / distribs, but they may be affected too.
 
cid:jira-generated-image-avatar-2a19d2ef-38a0-4350-a552-5cd590df46c3 Changes by Thomas Mortagne on 05/Dec/25 11:01
 
Component: Office
Component: Distribution - Debian