Hi All, I've been asked to migrate an ancient Zope server from 2.1.x to the latest 2.x or 3.x version. This server only have a couple of applications, both using Z SQL Methods, DHTML methods and documents, some products and some external methods. They don't use ZPT or Script (python) at all. I'd like to know if you think that such migration is feasible or if I'll encounter some problems. Do you think it is better to migrate to the latest version of the 2.x or 3.x branch? If you have any link on this subject is really appreciated. Bye, Andrew.
--On 18. Oktober 2006 14:55:33 +0200 Nightflyer <nightflyer73@gmail.com> wrote:
Hi All, I've been asked to migrate an ancient Zope server from 2.1.x to the latest 2.x or 3.x version.
This server only have a couple of applications, both using Z SQL Methods, DHTML methods and documents, some products and some external methods. They don't use ZPT or Script (python) at all.
Nobody will promise you that a migration to the latest 2.X version will work. You install a new Zope instance and figure it out own our own. If there are problems, come back. Nobody knows what your application is doing so is bascially a trial-and-error game. Using only DTML and ZSQL methods...does not sound so impossible for a migration...just try it.
I'd like to know if you think that such migration is feasible or if I'll encounter some problems.
Do you think it is better to migrate to the latest version of the 2.x or 3.x branch?
Zope 2 and Zope 3 are totally incompatible. Stick with the latest 2.X version unless you really want to migrate your code *manually* to the complete new architecture of Zope 3 (Z3 has no ZSQL methods - it has something similar but nothing that is compatible). -aj
On Wed, Oct 18, 2006 at 02:55:33PM +0200, Nightflyer wrote:
Hi All, I've been asked to migrate an ancient Zope server from 2.1.x to the latest 2.x or 3.x version.
http://zopewiki.org/Upgrading -- Paul Winkler http://www.slinkp.com
Hi, Nightflyer wrote:
I'd like to know if you think that such migration is feasible or if I'll encounter some problems.
Do you think it is better to migrate to the latest version of the 2.x or 3.x branch?
From 2.1.x to the latest 2.x should be feasible.
Zope 3.x is a rewrite with no upgrade path, so that's not an option. The best route is probably to try it on a development server and report back with any issues. Which RDBMS are you using your ZSQL Methods against? -- Regards, PhilK "Say what you mean. Bear witness. Iterate." —John M. Ford
Hi Andrew, Nightflyer wrote:
Which RDBMS are you using your ZSQL Methods against?
MySQL 4.1.
From what you tell us, the database adapter is the only 3rd-party dependency, and (although I don't use it myself) I understand mySQL is well-supported, so you really need to try the upgrade on a development machine to find out.
The "Very Old Zope" section in the link to ZopeWiki that Paul sent should get you going... -- Regards, PhilK "Say what you mean. Bear witness. Iterate." —John M. Ford
If you are using any zClass objects and have them cataloged, then you need to run a script against them to do the reindexing, as I found out that changed at 2.8. Also if you are using DTML and using any sorting within dtml-in segments, you will need to patch a file. Pages that use sorting on dtml-in throw a weird error. The patch works fine but since it sounds like no one who maintains core Zope uses DTML, that bug probably won't get really fixed. There is an outstanding ticket open on it. Those are the things I have found so far. We are on 2.7.5 and now that those issues are worked out we are working on our upgrade strategy. Allen Nightflyer wrote:
Hi All, I've been asked to migrate an ancient Zope server from 2.1.x to the latest 2.x or 3.x version.
This server only have a couple of applications, both using Z SQL Methods, DHTML methods and documents, some products and some external methods. They don't use ZPT or Script (python) at all.
I'd like to know if you think that such migration is feasible or if I'll encounter some problems.
Do you think it is better to migrate to the latest version of the 2.x or 3.x branch?
If you have any link on this subject is really appreciated.
Bye,
Andrew.
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
participants (5)
-
Allen Schmidt Sr. -
Andreas Jung -
Nightflyer -
Paul Winkler -
Philip Kilner