[turba] turba 2.1 to 2.2 migration problem.

Patrick Boutilier boutilpj at ednet.ns.ca
Fri Jun 19 01:50:11 UTC 2009


On 06/18/2009 04:13 PM, Ming-Hsun Tsai wrote:
> Hi all:
>
> I setup a new server to replace my old server and migrate all MySQL data
> from old server to new server but new server has new version of horde
> included turba 2.3.1. after all things done. I can't see my address book.
> Please help.
>
> Following is my step. hope it would help.
>
> 1.run 2.1_to_2.2_add_sql_share_tables.sql and
> convert_datatree_shares_to_sql.php without errors.
> 2.export mysql data from old server to new server.
> 3.login to new server. check for address book. only showed the global shared
> address book. the personal address book gone.....
> 4.I found some account can read its address book with
> [attribute_params]='a:3:{s:6:"source";s:8:"localsql";s:7:"default";b:1;s:4:"name";s:5:"aaaaa";}'
> 5.I tried to create personal address book for the user which can't read its
> personal address book. to check if the address book created all contacts
> back. but failed. and I found the [attribute_params] in this account is like
> this
> 'a:3:{s:6:"source";s:8:"localsql";s:4:"name";s:32:"7b7b3ecea5a9d1c591a40e83067d29c8";s:7:"default";b:0;}'
> 6.I try to update the [attribute_params] from
> 'a:3:{s:6:"source";s:8:"localsql";s:4:"name";s:32:"7b7b3ecea5a9d1c591a40e83067d29c8";s:7:"default";b:0;}'
> to
> 'a:3:{s:6:"source";s:8:"localsql";s:7:"default";b:1;s:4:"name";s:4:"bakk";}'
> and the contact for that user bakk comes back.
> 7.so I update all users attribute_params to
> 'a:3:{s:6:"source";s:8:"localsql";s:7:"default";b:1;s:4:"name";s:5:"aaaaa";}'.
> to see if it works. but failed.
> 8.I have to create personal address book for the user whose address book
> gone. and update the [attribute_params] every time to make the personal
> contact back.
>
> Seems I had missed a very important part. and I have more than 1000 user on
> the server. SO PLEASE HELP~~~~


Looks like you missed running 
turba/scripts/upgrades/2007-06-17_flatten_shares.php

>
> With My Best Regards



More information about the turba mailing list