ok i accidentally upgraded zope-2.6.0 to zope-2.6.1 Didn't notice all the changes... My zope site has dissapeared, zope is back to a default configuration that you get right after the install.. also i can't even log in. I've tried using zpassword.py, to add emergency user but I still cannot log it. How do i fix this? Reproducible: Always Steps to Reproduce: 1. 2. 3.
*** Bug 16510 has been marked as a duplicate of this bug. ***
ok.. I didn't see anything in the changelogs about this but: now the data is stored in /var/lib/zope/ so i moved my Data.fs to /var/lib/zope/var/Data.fs. I had zope running on port 80, but that got blown away so I re-edited /etc/conf.d/zope I converted the products I was using to this new zprod-manager format. But I'm still a little puzzled as to why there are duplicate directories. /usr/share/zope/2.6.0; /usr/share/zope/zope-2.6.1 /var/lib/zope/zope; /var/lib/zope/zope-2.6.1 and duplicate init files and config files: /etc/init.d/zope /etc/init.d/zope-2_6_1 /etc/conf.d/zope /etc/conf.d/zope-2_6_1 and I'm puzzled as to the new zinstances.. it would be nice if someone put up some kind of short tutorial as to how zope works on gentoo now.
Sorry about that,A good reason why it is still marked as unstable. To try and catch these types of problems. I'm pretty sure your zope site is still located at /usr/share/zope.2.6.0/var. Should probably back it up, if you haven't already done so. I did a limited test and it worked for me. Maybe it will work for you. Assuming you had zope-2.6.0-r1 installed and have just emerge zope-2.6.1. # cp -r /usr/share/zope/2.6.0/var /var/lib/zope/zope-2_6_1 # zope-config --zpasswd # # choose zope-2.6.0, please ignore the 2.6.0, it's a bug I'm working on. ##To use 3rd party products that don't have ebuilds, just drop them into your ##zinstance Product directory. In this case: /var/lib/zope-2_6_1/Products. # /etc/init.d/zope-2_6_1 start That should get you going. If not, let me know. I'll be back to explain a bit about zinstances and zprod-manager.
cool, don't worry too much about it, i got everything working :)
Jason, zope needs a tutorial for people with adhd rather than some book that includes a description of obeject oriented models... just dropping a file in the products directory doesn't make sence to a person who doesn't know that there is that management console... witch I would assume is how the utilities are started... (I'm reading the zope-book now) maybe adding a few more comments about manager and zope book in the ebuild comments would work... thats where I look when I'm stuck. and maybe that zpasswd.py directory should have a big GENTOO.README init that says how zope-config works... and maybe a simlink in there... cause I searched for zpasswd.py and ran it... because I was reading the zope book Still, I think that zope-config is really cool and zope should look into including it in their release... (though I still haven't used it yet)
hi, I pieced together a bit of a tutorial.. horray! it works as it seems like it should... but it differs from the zope-book http://www.subverted.net/wakka/wakka.php?wakka=GentooZope (I wish I could edit my posts on bugzilla, sorry for the snotty post)
as these infos are in postinst, i assume that i can close this bug