• When & how to sync the membrane tool

last modified July 1, 2009 by ejucovy

Symptoms

A project's /team page is missing some of the project's members, but its /summary and /manage-team pages report the correct set of members.

No reproduction steps for the underlying bug have been isolated, so this notice affects all versions of OpenCore.

See also:

http://trac.openplans.org/openplans/ticket/2797

https://www.coactivate.org/projects/opencore/lists/opencore-dev/archive/2009/06/1244203350265/forum_view


Solution (automated - requires rebuild)

New builds using versions of Fassembler greater than r24816 will have the necessary configuration generated automatically in /opencore/zope/etc/zope.conf but see below for possible adjustments to consider.


Solution (manual)

Add the following configuration to your installation's /opencore/zope/etc/zope.conf configuration (but if you built your site using fassembler>=r24816 this may already be there -- see above):

<clock-server>
  method /openplans/membrane_tool/refreshCatalog
  period 43201
  user YOUR_ADMIN_USERNAME_HERE
  password YOUR_ADMIN_PASSWORD_HERE
  host localhost
</clock-server>­

Replace the "user" and "password" values with the username and password of your Zope admin user.

This will sync the membrane_tool catalog every twelve hours.  You may want to resync more frequently depending on the level of activity on your site.  To do this, change the value of "period" to something smaller; this is the interval, in seconds, between syncs.  We recommend using a prime number value, to minimize the chance of collisions with other periodic clock-server jobs.