Enable Filesystem Attachment Store
Version 11.1 by Ilie Andriuta on 2017/11/22 15:35
Steps to reproduce
- Edit the webapps\xwiki\WEB-INF\xwiki.cfg file:
For XWiki versions < 9.10RC1:For XWiki versions >= 9.10RC1:xwiki.store.attachment.hint = file
xwiki.store.attachment.versioning.hint = file
xwiki.store.attachment.recyclebin.hint = filexwiki.store.attachment.hint = file
xwiki.store.attachment.versioning.hint = file
xwiki.store.attachment.recyclebin.content.hint = file - Make sure these lines are not commented out (don't have an # at the start of each line)
- Start XWiki
- Create a new page (P1)
- Add some attachments to P1
- Go to data\storage\xwiki\P1\~this\attachments
Expected results
Inside data\storage\xwiki\P1\~this\attachments can be observed some folders including the previously added attachments.
Note: if using Tomcat with MySQL, the folders will be found in TOMCAT_HOME\work\Catalina\localhost\xwiki\storage\xwiki\P1\WebHome\~this\attachments