Tuesday, November 4, 2008

Timeout during installation of new product

Today, while installing a new product on a production site with a large catalog, my connection timed out. This seems to be due to Plone re-cataloging all objects in the site. I know of two solutions:

  • Before installing, move profiles/default/catalog.xml to disabled_catalog.xml. Move it back after installing, and run the generic setup profile through the ZMI. (See also http://markmail.org/message/yi3qchvx3pua25du for another catalog installation issue.)

  • Patch setuphandlers.py to remove the updateRoleMappings step, like so:
    def dummyUpdateRoleMappings(context):
    """do nothing..."""
    pass

    updateRoleMappings = dummyUpdateRoleMappings

No comments: