Changes for page Attachments

Last modified by Vincent Massol on 2022/12/02

<
From version < 9.5 >
edited by Vincent Massol
on 2012/03/20
To version < 10.1 >
edited by Giovanni JĂșnior
on 2012/08/23
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.VincentMassol
1 +XWiki.giovannijunior
Content
... ... @@ -51,16 +51,20 @@
51 51  The Filesystem Attachment Store is still in beta, it has passed all of our tests with flying colors but we need your help to make absolutely sure that everything is right before turning it on by default.
52 52  {{/warning}}
53 53  
54 +{{warning}}
55 +Known issue: the Filesystem Attachment Store is [[not able>>http://jira.xwiki.org/browse/XWIKI-7088]] to deal with images contained in imported Office documents.
56 +{{/warning}}
57 +
54 54  The Filesystem attachment store saves your attachments in files in a directory tree, this means you will have one more thing to do when you back up your data but it also means you can save larger (over one gigabyte) files. Filesystem attachment store implements a two stage commit mechanism to maintain integrity even if the database fails to commit the attachment meta-data.
55 55  
56 56  === Filesystem attachment store location ===
57 57  
58 -The directory in which the attachments are stored in the filesystem is defined with the parameter ##xwiki.work.dir## in the ##xwiki.cfg## file. By default it's defined to be ##data##, which is a directory relative to where the Java Servlet Container was started. It's recommend to modify this value to be absolute so that you can start the Servlet Container from any directory and still have XWiki find the attachments located in this work directory.
62 +The directory in which the attachments are stored in the filesystem is defined with the parameter ##environment.permanentDirectory## in the ##xwiki.properties## file. By default it's defined to be ##data##, which is a directory relative to where the Java Servlet Container was started. It's recommend to modify this value to be absolute so that you can start the Servlet Container from any directory and still have XWiki find the attachments located in this work directory.
59 59  
60 60  For example:
61 61  
62 62  {{code}}
63 -xwiki.work.dir=/opt/tomcat6/data
67 +environment.permanentDirectory=/opt/tomcat6/data
64 64  {{/code}}
65 65  
66 66  === Directory Structure ===
XWiki.XWikiComments[1]
Date
... ... @@ -1,1 +1,1 @@
1 -2012-03-20 09:13:52.561
1 +2012-03-20 09:13:52.0

Get Connected