[opencms-dev] Error importing site from zip-file

Yves Glodt yg at mind.lu
Tue Jun 16 08:51:20 CEST 2009


Hi,

yes, I had set the export path to "/", and the currently selected site (in the 
top selectbox) was the site I intended to export.

The generated zip-file contains the files with the path / and not 
/sites/mysite.com.


On Tuesday 16 June 2009 04:49:23 Johnny Xue | SYSVISION wrote:
> Hi, did you put Site root path to "/" when you export/import the resources?
>
> Bugzilla from yg at mind.lu wrote:
> > Hi,
> >
> > I created a database-export (into a zip-file) on one server, and want to
> > import
> > that data into another one. Export works fine, but importing gives many
> > exceptions, as e.g.
> >
> > Exception org.opencms.file.CmsVfsResourceNotFoundException: Error
> > creating resource "/de/cogenio/images/travel.jpg" on path
> > "/sites/v2.mysite.com/de/cogenio/images/travel.jpg".
> > at
> > org.opencms.file.CmsVfsResourceNotFoundException.createException(CmsVfsRe
> >sourceNotFoundException.java:78)
> >
> > Exception org.opencms.file.CmsVfsResourceAlreadyExistsException: Error
> > creating
> > resource "/google2f15e10d385d6a91.html" on path
> > "/sites/v2.mysite.com/google2f15e10d385d6a91.html".
> > at
> > org.opencms.file.CmsVfsResourceAlreadyExistsException.createException(Cms
> >VfsResourceAlreadyExistsException.java:77)
> >
> > I attach the complete log. What could be wrong here?
> >
> > Best regards,
> > Yves
> >
> -----
> Johnny Xue
> SYSVISION Ltd., China
> http://www.sysvision.com




More information about the opencms-dev mailing list