Last modified by Eleni Cojocariu on 2026/09/11 18:08

Show last authors
1 An instance does not always use the [[permanent directory>>doc:documentation.xs.admin.configuration.directories.permanent-directory.WebHome]] you configured: an unset or unwritable value falls back to the temporary directory. This reads the one actually in use. You need programming rights on the wiki.
2
3 1. Create a page with the [[Wiki editor>>doc:documentation.xs.user.base.page.edit-page.edit-wiki-editor.WebHome]] and insert this script:(((
4 {{code language="velocity"}}
5 {{velocity}}
6 $services.component.getInstance('org.xwiki.environment.Environment').getPermanentDirectory().getCanonicalPath()
7 {{/velocity}}
8 {{/code}}
9 )))
10 1. Click "Save". The page renders the absolute path of the directory in use:(((
11 {{code language="none"}}
12 /var/lib/xwiki/data
13 {{/code}}
14 )))

Get Connected