[Zope-CMF] Zope 2.4.3 upgrade broke CMF acl_users!

Dave Lehman davelehman@loewen.com
Mon, 3 Dec 2001 16:32:14 -0600


Hmmm... something has gotten really FUBAR in my portal. I'm really
discouraged at this point because I didn't try to do anything "abnormal"
yet it seems my Zope CMF portal has gotten totally screwed up. I guess a
little knowledge is a dangerous thing and I obviously don't have enough
"zopishness" to fix the mess i've created.

Step 1: I built a CMF site using CMF 1.1 under Zope 2.4.0 at an ISP the
supports Zope. The site went live, members were using it, things seemed
good.

Step 2: I noticed several bug-fixes in Zope 2.4.3 that sounded like they
would fix some minor problems I was having.

Step 3: My ISP created a new sub-directory in my account directory where he
installed Zope 2.4.3. He copied over my data.* files, linked from the
"products" folder to my existing product folders and pointed my domain at
the new Zope folder. Restart zope and away you go.

Step 4: Access to my site was totally screwed up. I couldn't access the
root folder (the /portal or CMF folder) which was supposed to have
anonymous access. When I tried to login, it wouldn't recognize any of my
existing acl_user entries, including my "manager" id. I couldn't access the
/manage interface either.

Step 5: I told my ISP to switch back to my original Zope 2.4.0 folder to
try and restore things to the way they were, but the access still seems
screwed up somewhat. I can now access the site if I login, but anonymous
users still can't see the homepage, even though the "security" tab assures
my they have "access contents information" and "view" rights.

OK, so obviously I should have done a full backup before upgrading,
although I didn't think going from Zope2.4.0 to 2.4.3 would be dangerous at
all. Don't blame my ISP either-- he's just doing what I told him.

Does anyone have ideas on what I screwed up, or how I can get it back? I
have a news method that it called from the "index.html" method in the root
of my site-- it's supposed to do a catalog search and return any
"published" docs from my /portal/news folder. For anonymous users, it
returns nothing, but as soon as you login, everything shows up normally.
However, if I go into my /news folder, there are definately items there
that are published, and between the effective and expiry dates. The
"display_news" method is proxied to run as "manager", so I have no ideas
what's broken.

I'm sure there are a hundred possibilites for what could be wrong-- i'm
just quite discouraged because Zope and I seemed to have been getting along
so well, and now my site is screwed up and my entire user community that I
just convinced to join can't access the site properly, and is now wondering
why the heck they bothered... Sheesh.

Regards,
Dave



On 12/02/2001 04:50:37 PM seb baconwrote:

>I've upgraded without any problems.  Are the users still in the
>acl_users folder for your CMF?  Is there still a cookie crumbler in
>your CMF root?  Does it work if you join as a new member and log in
>using that information?
>
>seb
>
>* Dave Lehma <davelehman@loewen.com> [011202 21:56]:
>> I have been running CMF 1.1 on Zope 2.4.0. I just tried upgrading to
Zope
>> 2.4.3 by untarring it into a new folder, copying over my data.* files
and
>> linking in my existing Zope products.
>>
>> It does not appear to be honoring any of my existing acl_user entries.
>> That is, as soon as I try to access a non-anonymous resource, it asks me
>> to login (via the dialog box, not my login_form) but none of my existing
>> user ids appear to work (and i've tried logging in as a normal member,
an
>> editor and a manager).
>>
>> Is there some way I can re-activate my acl_user entries? I certainly
can't
>> expect everyone to re-join. I also tried getting the latest CVS checkout
>> for CMF, but that doesn't appear to help anything.
>>
>> If there is no way to get this to work, it puts a real kink in my plans
to
>> continue using Zope/CMF. I certainly can't keep using 2.4.0 forever...
>>
>> Help, please?
>>
>> --dave
>
>--
>
>[] j a m k i t
>
>seb bacon
>T:  020 7749 7218
>F:  020 7739 8683
>M:  07968 301 336
>W: www.jamkit.com