-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Medium
-
None
-
Affects Version/s: 1.0.2
-
Component/s: None
-
Environment:
Windows 2000 & RedHat Fedora
I started out with Confluence using Win2000/Tomcat. Things went well enough, but Linux is our standard server environment so I decided to move my spaces to a new Confluence instance running on Fedora/Tomcat.
I backed up my 2000/Tomcat Confluence and then tried to restore it to the Fedora/Tomcat Confluence but got this error:
com.atlassian.confluence.importexport.ImportExportException: The zip doesn't contain an 'entities.xml' file in it.
After digging around a little it occured to me to check the
{confluence_data}/temp/ directory to see what the import folder looked like. To my surprise the zip backup created on 2000 expanded to something like:
\entities.xml
\exportDescriptor.properties
\shortcut-map.properties
\attachments\16\scm interaction.png
where the back slashes above don't represent path delimiters but do represent characters that are part of the file names. So essentially instead of getting "entities.xml" the import folder ends up with "\entities.xml"
I'm not sure if this is a know zip problem with Java on Windows and Linux.
I went in and fixed up all the file names/directories, created a zip file on Linux and then the restore worked fine.
- duplicates
-
CONFSERVER-1045 Exports performed on Windows may have \ as path separator in zip
-
- Closed
-