RE: [Zope] Relocating installed zope -- was LoginManager broken?
Btw. can anybody tell me if and how it's possible to relocate an installed Zope? Hmm... perhaps I am not understanding what exactly you mean, but a thought might be to use tar (on a UNIX system at least) to preserve your setup. Assuming you are using ZServer, Try shutting down Zope with ./stop, then do Sorry if I wasn't clear. I wanted to make a functional copy of an existing zope installation. I wanted to "clone" a zope in order to be able to do an installation of some more "dangerous" products/patches and later on just change my apache/proxy pass to point to the new zope. I know the techniques w.r.t. shell commands etc. But very wired things happened with the new zope (old paths showed up in tracebacks etc.), although I had changed all installation paths... cheer ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Relocating installed zope -- was LoginManager broken?
Oliver, I haven't been following this thread, but here's how I do it. It's quite simple. 1.Copy the folder with Zope in. 2.edit z2.py to change all references to the old folder to the new folder. 3.edit the start script in the same way. That should be it. hth Phil - Original Message - From: "Oliver Bleutgen" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 12, 2000 9:16 AM Subject: RE: [Zope] Relocating installed zope -- was LoginManager broken? Btw. can anybody tell me if and how it's possible to relocate an installed Zope? Hmm... perhaps I am not understanding what exactly you mean, but a thought might be to use tar (on a UNIX system at least) to preserve your setup. Assuming you are using ZServer, Try shutting down Zope with ./stop, then do Sorry if I wasn't clear. I wanted to make a functional copy of an existing zope installation. I wanted to "clone" a zope in order to be able to do an installation of some more "dangerous" products/patches and later on just change my apache/proxy pass to point to the new zope. I know the techniques w.r.t. shell commands etc. But very wired things happened with the new zope (old paths showed up in tracebacks etc.), although I had changed all installation paths... cheer ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Relocating installed zope -- was LoginManager broken?
Oliver, I haven't been following this thread, but here's how I do it. It's quite simple. 1.Copy the folder with Zope in. 2.edit z2.py to change all references to the old folder to the new folder. 3.edit the start script in the same way. That should be it. Thanks Phil, but that didn't do it for me at that time. IIRC I forgot one path at first, but corrected that later. Anyway, when grepping around I found out that the full path to the old install was contained in every .pyc file and python hadn't bothered to recreate them when I started the new zope. But even when I deleted all *.pyc I couldn't get loginmanager going at all (zope/loginmanager/zpopyda all pretended to work, but postgres never saw any sql-query and all logins failed). All in all it was very wired and made me think that this "cloning" might be tricky and ask for a "standart procedure". cheers, oliver ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )