Last modified by Ilie Andriuta on 2026/06/22 16:59

Hide last authors
Ilie Andriuta 11.1 1 **NOTE**: Starting with version 9.10, this attachments porting operation is deprecated as XWiki supports mixed storage (database and file system) for attachments which means if switched from 'hibernate' to 'file' store, the existing attachments will keep working.
Ilie Andriuta 8.1 2
Manuel Smeria 1.1 3 1. [[Enable Filesystem Attachment Store>>Other Tests.Enable Filesystem Attachment Store]]
Ilie Andriuta 7.1 4 1. Download the XAR for the [[Filesystem Attachment Porter>>attach:snippets:Extension.Filesystem Attachment [email protected]||rel="__blank"]]
Gabriela Anechitoaei 4.1 5 1. Upload it (Administer Wiki > Content > Import > Browse)
6 1. Under "Available packages" click on the newly added FilesystelAttachmentPorterScript
7 1. Click on Import
8 1. Under "List of installed pages" click on FilesystemAttachmentPorter.WebHome
Ilie Andriuta 7.1 9 1. Make sure the 3 bullet points from "Step 1" are colored in green, otherwise this means the 'xwiki.cfg' was not configured properly; see step 1 & 2 of [[Enable Filesystem Attachment Store>>Other Tests.Enable Filesystem Attachment Store]]
Gabriela Anechitoaei 4.1 10 1. Copy the code from this page (Edit > Wiki)
11 1. Create a new page (P1)
12 1. Paste the code from the Filesystem Attachment Porter (Edit > Wiki)
Manuel Smeria 1.1 13 1. Tick the "Dry Run" option
Gabriela Anechitoaei 5.1 14 1. Click Start (wait for the run to finish)
15 1. Click on the P1 page again
Manuel Smeria 1.1 16 1. Untick the "Dry Run" option
17 1. Click Start

Get Connected