Changes for page Attachments

Last modified by Thomas Mortagne on 2023/10/10

<
From version < 27.3 >
edited by Ecaterina Moraru (Valica)
on 2017/09/06
To version < 29.1 >
edited by Vincent Massol
on 2017/10/02
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.evalica
1 +XWiki.VincentMassol
Content
... ... @@ -57,8 +57,10 @@
57 57  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.
58 58  
59 59  {{error}}
60 -There is a [[bug>>https://jira.xwiki.org/browse/XWIKI-9065]] in XWiki, that prevents restoring attachments from the recycle bin via UI: you will find empty LiveTable. Attachment delete action brings new version to the document, so, the correct way to restore the attachment is to rollback to the necessary version. If you delete the document with the attachment and then click delete again to permanently expunge the document from history, the attachment will be removed from your system together
61 -One of the options to avoid mess with attachments in the filesystem until this bug would be fixed, just turn off recycle bin for attachments at all.
60 +The following limitations currently exist when using the filesystem for storing attachments:
61 +
62 +* There is a [[bug>>https://jira.xwiki.org/browse/XWIKI-9065]] in XWiki, that prevents restoring attachments from the recycle bin via UI: you will find empty LiveTable. Attachment delete action brings new version to the document, so, the correct way to restore the attachment is to rollback to the necessary version. If you delete the document with the attachment and then click delete again to permanently expunge the document from history, the attachment will be removed from your system together. One of the options to avoid mess with attachments in the filesystem until this bug would be fixed, just turn off recycle bin for attachments at all.
63 +* You must be on a case-sensitive Filesystem. For example if you're on Windows then you might have issue if you create pages with the same name but different case (e.g. ##abc## vs ##Abc##). XWiki is case-sensitive and will end up overwriting attachments if you have several pages with the same name (but different case).
62 62  {{/error}}
63 63  
64 64  === Enabling Filesystem attachment store ===
... ... @@ -108,7 +108,7 @@
108 108  
109 109  === Other considerations ===
110 110  
111 -If you are running a [[cluster>>Documentation.AdminGuide.Clustering]] you will need to have a synchronized storage directory for each node. You can use NFS or other means to mount the disk on each node in the cluster.
113 +If you are running a [[cluster>>Documentation.AdminGuide.Clustering.WebHome]] you will need to have a synchronized storage directory for each node. You can use NFS or other means to mount the disk on each node in the cluster.
112 112  
113 113  ==== Directory cleanup ====
114 114  

Get Connected