[Erp5-dev] refactoring the uid generation

Shrenik Bhura shrenik.bhura at intelliant.net
Thu May 19 07:37:08 CEST 2005


Can these steps be followed on a system fired up using the livecd?

What method of installation would you recommend the most -
1. Doing a urpmi erp5 on a Mandrake 10.1 box 
2. using the rc2 livecd
3. or following the steps given in the tutorial for installation.

-SB


On Wed, 2005-05-18 at 20:03 +0200, Yoshinori Okuji wrote:

> On Wednesday 18 May 2005 19:56, Yoshinori Okuji wrote:
> > I have investigated some potential problems in uid generation, and solved
> > them mostly. Since this change is significant, be careful about making a
> > backup when you update your products.
> >
> > Here is an upgrade path:
> >
> > 1. Make a backup. You should make a backup of all products and data for
> > safety. If this upgrade fails, your system will stop working.
> >
> > 2. Update all ERP5-related products. At least, ERP5Catalog and ZSQLCatalog
> > must be updated.
> >
> 
> 2.5. Restart Zope.
> 
> > 3. Recreate erp5_mysql in portal_catalog. The easiest way is 1) to rename
> > erp5_mysql to something else (e.g. erp5_mysql_backup) for safety, 2) to
> > call addDefaultSQLMethods from portal_catalog by just going to the URL
> > http://.../portal_catalog/addDefaultSQLMethods. This does not return
> > anything, but you should get a new erp5_mysql.
> >
> > 4. If you need to change the catalog methods or properties, do it now.
> >
> > 5. Clear the catalog.
> >
> > 6. Run ERP5Site_reindexAll.  If you use portal_activities, make sure that
> > indexing is finished, before proceeding.
> >
> > 7. Again, clear the catalog.
> >
> > 8. Run ERP5Site_reindexAll. Likewise, make sure that all activities are
> > finished, before proceeding.
> >
> > 9. Check if everything looks good.
> >
> > Double-reindexing is required, because uids might be reassigned in the
> > first indexing process.
> >
> > If anything goes wrong, go back to the copy, and send a bug report to me.
> >
> > YO
> 
> YO
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20050519/547bb576/attachment.htm>


More information about the Erp5-dev mailing list