<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2627" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=284380813-27052005>I have experimented
opencms 6.0 b3 to start building a site under /sites/mysite/ in
vfs</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=284380813-27052005>In order to import
my work in opencms 6.0 RC1,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=284380813-27052005>I have well
noticed the following instructions found in the mailing list
archives:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=284380813-27052005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial><SPAN class=284380813-27052005>><I> > However we've
entered some data into beta1 by now, which <BR></I>><I> > would like to
preserve. So what is the best way to upgrade</I><I> well keeping the content?
<BR></I>><I> <BR></I>><I> The best safest and easiest way to upgrade is to
export the </I><I>site contents<BR></I>><I> (e.g. everyting in
/sites/default/) plus all modules that </I><I>have been
created.<BR></I>><I> Then set up a frash installation with beta 2 and
import </I><I>everything again. <BR></I>><I> <BR></I>><I> If done
correctly, this certainly works. Please make sure </I><I>that you
import<BR></I>><I> from the same site setting you exported from. So if you
exported from<BR></I>><I> "/sites/default/" make sure you are _not_ in the
root sie "/" when </I><I>importing. <BR></I></SPAN></FONT></DIV>
<DIV><FONT face=Arial><SPAN class=284380813-27052005><FONT size=2>Being in my
opencms 6.0 b3 webapp instance (under
webapps/opencms6),</FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial><SPAN class=284380813-27052005><FONT size=2>I have
exported (database export) the content of my site (being in the site
/sites/mysite/).</FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial><SPAN class=284380813-27052005><FONT size=2>Then in my
opencms 6.0 RC webapp instance (under
webapps/opencms60),</FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=284380813-27052005>I have created a
site mysite </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=284380813-27052005>(using following
line in opencms-system.xml :<site server="my.site"
uri="/sites/mysite/"/>)</SPAN></FONT></DIV>
<DIV><FONT face=Arial><SPAN class=284380813-27052005><FONT
size=2>and imported (database import) the zip file created at previous step
(being in the site /sites/mysite/).</FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial><SPAN class=284380813-27052005><FONT
size=2></FONT></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=284380813-27052005>The resources are
correctly placed under /sites/mysite/</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=284380813-27052005>but when
</SPAN></FONT><FONT face=Arial><SPAN class=284380813-27052005><FONT size=2>I try
to access index.html file for instance (being in site /sites/mysite/), by
left-clicking on it in the workplace.</FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial><SPAN class=284380813-27052005><FONT size=2>I get the
following :</FONT></SPAN></FONT></DIV>
<DIV><FONT><SPAN class=284380813-27052005>
<DIV unselectable="on">
<P><B><FONT face=Arial>Error reading resource from path
"/sites/default/index.html"</FONT></B></P>
<P><FONT face=Arial>Requested resource: <B>/index.html</B><BR>OpenCms version:
<B>6.0 RC 1 Corrin</B><BR>OpenCms context: <B>/opencms60/opencms</B>
</FONT></P><SPAN class=284380813-27052005><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2><SPAN class=284380813-27052005>It seems the system
does not bind well my resource to /sites/mysite/index.html</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=284380813-27052005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=284380813-27052005>Do I have to perform
some extra configuration in order to correctly handle</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=284380813-27052005>- re-importing of a
site which is not /sites/default/ (but /sites/mysite/)</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=284380813-27052005>- re-importing
between two contexts which do not have the default context name "opencms"
</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=284380813-27052005>(but source is
"opencms6" and target is "opencms60")</SPAN></FONT></DIV></FONT></SPAN>
<P><SPAN class=284380813-27052005></SPAN><SPAN class=284380813-27052005><FONT
face=Arial size=2>Thanks in advance for every hints you could provide to me in
order to preserve work already done</FONT></SPAN></P>
<P><SPAN class=284380813-27052005><FONT face=Arial size=2>Yves
Ackaert</FONT></SPAN></P>
<P><SPAN class=284380813-27052005><FONT face=Arial
size=2></FONT></SPAN> </P></DIV></DIV></SPAN></FONT></BODY></HTML>