Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-23797

Office server controlled by XWiki can't write font cache when using the xjetty package

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      When using an xwiki instance with :

      • openoffice.autoStart = true
      • openoffice.homePath = /usr/lib/libreoffice/
      [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
      

      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:

      ReadWritePaths=/var/lib/xwiki/.cache
      

      Not tested on other versions / distribs, but they may be affected too.

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            ciaens Clément Christiaens
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: