[opencms-dev] Antwort: Re: Antwort: Re: Antwort: Re: Moving OpenCMS & Update --> need help
Jessica Maas
yukarichan87 at googlemail.com
Fri Jan 29 16:22:39 CET 2010
Thank you all very much for your help. But the last days I worked thogether
with a colleague on the problems and I think we could solve most of them.
Some of the problems where the mysql-versions. We tried different and came
to the point that mysql 5.0 works best with our current opencms version
(6.2.1) on the new Server 2003 (64bit). In addition to that we had to use a
normal Tomcat installation instead of the XAMPP-plugin. Another thing was,
that not all classes, that are needed, were moved to the new server. And
many more smaller things....
But now the old opencms-system is running properly on the new system.
Currently the update-process is running and though I'm definately not
religous I already thought of praying to god that it will work this time,
with the current basis.
2010/1/27 Achim Westermann <achim.westermann at questico.de>
> Hi Jessica,
>
> I will deal with server2, someone else already answered regarding your
> mysql troubles on server1.
>
> You are one step further here. But bad news: your update scenario was
> wrong: You cannot hook on a database from OpenCms 6.x to an OpenCms
> 7.x and then expect that it will start. You have to keep in mind that the
> OpenCms workplace itself is stored in the database. So you revert
> to an old OpenCms again while your configuration files are intended for
> 7.5.1.
> In this case the OpenCms database manager tool in the database refers to a
> class "CmsImportToolHandler" that was dropped before OpenCms 7.x
> came out.
>
> I recommend the following:
>
> Do a fresh install of 7.5.2. Then Export your content from the old server
> using the Database Management tool in the OpenCms workplace.
> You'll get a zip file below /WEB-INF/packages/. Move that to the same
> folder on the new install and try to import that.
>
> In case you also have coded your own modules you should export those first
> and import them to the new system. If those modules contain
> custom Java code you might run into further problems with API
> incompatiblities.
>
> Good luck!
>
> Achim
>
> HTH means: "Hope That Helps"
>
>
> Jessica Maas wrote:
> > Ok first to get some system in here, I will now call the two machines
> > I'm talking about "Server1" and "Server2".
> > Explanation:
> >
> > *Server1:*
> > I only copied the full webapps-folder of the old opencms-installation to
> > the new server. I also copied the whole mysql-database to the new
> > server. I'm trying to get the old opencms running on the new system
> > first. I did not do any update, yet. This would be the next step if I
> > could get it running.
> >
> > *Server2:*
> > I installed a normal opencms version 7.5.1 that I downloaded from the
> > website. Then I replaced the original database by the one from the old
> > opencms that I want to move and update. I updated everything through the
> > update-wizard which ran through without problems at first sight. I'm now
> > trying to get this updated version running.
> >
> > I'm just mentioning this that the two problems don't get mixed up. I
> > will now caption every answer related to this explanation with server1
> > or server2. I hope this is ok for you. I just want to get things easier
> > for both sides and avoid confusion.
> >
> > *Ok... now back to your suggestion Achim:
> >
> > This is on Server2:
> > *I replaced the opencms-workplace.xml (but made a copy of the old one)
> > with the new one, restarted tomcat and tried to start opencms again. Now
> > I've got a different error (see the image attached - it's german but I
> > guess the english version would be very similar).
> >
> > I also attached the opencms.log-file, but already found some of the
> > errors mentioned in there:
> > error during setting up tool at /system/workplace/admin/
> > database/importserver.jsp.
> > error during setting up tool at
> > /system/workplace/admin/database/importhttp.jsp.
> > error during setting up tool at
> > /system/workplace/admin/database/htmlimport.jsp
> > error during setting up tool at
> /system/workplace/admin/database/export.jsp
> > error during setting up tool at /system/workplace/admin/database/
> > inconsistent install path /database/staticexport for tool at
> > /system/workplace/admin/database/staticexport.jsp
> >
> > What does that mean or how could I fix this?
> >
> > P.S.: mh... just for my personal interest: what does "hth" mean?
> >
> >
> > 2010/1/27 Achim Westermann <achim.westermann at questico.de
> > <mailto:achim.westermann at questico.de>>
> >
> > Hii Jessica,
> >
> > your
> > C:/xampp/tomcat/webapps/opencms/WEB-INF/config/opencms-workplace.xml
> > has not been updated correctly. In case you did not make custom
> > modification (which I never had to do for many projects) just
> > replace it with the one in your 7.5.1 opencms.war
> > (http://opencms.org/en/modules/downloads/dl_7.5.1_dist.html) and
> > restart the app server.
> >
> > HTH,
> >
> > Achim
> > _______________________________________________
> > This mail is sent to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list, please
> > visit
> > http://lists.opencms.org/mailman/listinfo/opencms-dev
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> >
> > ------------------------------------------------------------------------
> >
> >
> > _______________________________________________
> > This mail is sent to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list, please
> visit
> > http://lists.opencms.org/mailman/listinfo/opencms-dev
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20100129/c8e02fde/attachment.htm>
More information about the opencms-dev
mailing list