[Zope] Help -- I migrated Data.fs and my administrator was lost

Bryan Capitano Bryan@capitanoweb.com
Thu, 24 Oct 2002 09:55:40 -0800


Hello,

I am trying to migrate a Linux installation of Zope to Windows but seem to
have lost the administrator login in the process.
Can anybody help?

1. Installed Windows version from www.zope.org through their .exe
installation package. This asked me to pick a login/password combo. I chose
the same one I have on Linux (easy to remember).
2. Fired up Zope to make sure it works. It does.
3. Installed all the same products onto Windows Zope as I have in my
existing Linux installation.
4. Fired up Zope to confirm new products installed correctly. A-Okay so far.
5. Copy %ZOPE-DISTRIBUTION-PATH%/var/Data.fs from Linux to C:\Program
Files\Zope\var\Data.fs
6. Fired up Zope to confirm everything is working. BLOG, CHOKE CHOKE CHOKE,
ahEM: I cannot login.... Zope does not recognize my login/password anymore
(even though I chose same login/pass on LInux as I did on my new Windows
install).

Tried to use zpasswd.py to change my password on Windows but I cannot CD
into C:\Program Files\zope\ (DOS gives me errors about CD'ing into a
directory with spaces in the name.) I'm stuck.

Thanks for any help,
Bryan