I have an XWiki 11.1 installation below tomcat_ home\webapps\xwiki on a Windows10 desktop A and a freshly set up XWiki 11.1 installation below tomcat_home\webapps\marvin on another Windows10 desktop B. On B I’ve set xwiki.webapppath=marvin in xwiki.cfg. I exported the content of XWiki on A and imported it to the XWiki on B. Now on B the attachments are stored below permanent_directory/store/file/xwiki, but it seems that XWikiDocument.loadAttachements() expects the attachments below permanent_directory/store/file/marvin:
Caused by: com.xpn.xwiki.XWikiException: Error number 3002 in 3: The attachment [C:\kido\app\.marvin\store\file\marvin\1\5\eeb8a5779ea416f517621bd9244ab5\attachments\7\b\a19dd46704ef89490bd295809139b6\f.png] could not be found in the filesystem attachment store.
at org.xwiki.store.legacy.store.internal.FilesystemAttachmentStore.loadAttachmentContent(FilesystemAttachmentStore.java:214)
at com.xpn.xwiki.doc.XWikiAttachment.loadAttachmentContent(XWikiAttachment.java:1073)
at com.xpn.xwiki.doc.XWikiDocument.loadAttachments(XWikiDocument.java:4217)
at de.deka.marvin.internal.Archiver.archiveEntity(Archiver.java:239)
at de.deka.marvin.internal.Archiver.archive(Archiver.java:149)
... 168 more
Did I miss to configure a relevant property?