[turba] restoring turba addressbooks:part 2 of 2

Michael J. Rubinsky mrubinsk at horde.org
Mon Nov 23 19:07:24 UTC 2009


Quoting "Robert P. J. Day" <rpjday at crashcourse.ca>:

> On Mon, 23 Nov 2009, Michael J. Rubinsky wrote:
>
>> Quoting "Robert P. J. Day" <rpjday at crashcourse.ca>:
>
>> As mentioned previously, you should be able to just drop the old
>> configuration stanza into your new sources.php.
>>
>> >  mysql on this system has a "horde" database, inside of which
>> > there are the turba tables, one of which is "turba_clients", so
>> > let's go with that.  (the main issue here is that i will, of
>> > course, have to be careful to make sure the schema is correct, and
>> > that might involve tweaking the schema since these tables could be
>> > fairly old, but we'll burn that bridge when we get to it.)
>
>   but if it doesn't in some subtle ways, will i still at least be able
> to *see* entries in the addressbook?

Depends on where the error is, and what fields you are trying to  
display on screen.

> i took a shot at hooking up one
> of the addressbooks earlier this morn and, while the name of the book
> shows up in the turba list, it shows up as entirely empty.
>
>   (is there a log file for diagnostics for turba that might be
> helpful?)

Wherever you configured your horde log to go.


>> >  the 'map' entry follows i'll have to check for sanity and, toward
>> > the end, there's this from the new sources.php file:
>> >
>> >    'export' => true,
>> >    'browse' => true,
>> >    'use_shares' => true,
>> >    'list_name_field' => 'lastname',
>> >    'alternative_name' => 'company',
>> >
>> > from what is an old file, i read this:
>> >
>> >    'public' => true,
>> >    'readonly' => false,
>> >    'admin' => array(... list of people ...),
>> >    'export' => true
>> >
>> > so should i copy 'public' over?  it doesn't seem to exist in the
>> > new sources.php file.  the rest looks pretty straightforward.
>>
>> Ah, right. This is one part you will need to tweak. If you want the
>> source to be public, you will need to either add appropriate
>> permissions for this address book using the administrative
>> interface, or update this address book to use the horde_shares
>> system as outlined in the UPGRADING file.
>
>   ok, but if i don't do that now, i can always adjust that later, yes?
> for now, i just want to get the addressbook contents visible.  i'll go
> for perfection after that.

Sure.

-- 
Thanks,
mike

--
The Horde Project (www.horde.org)
mrubinsk at horde.org



More information about the turba mailing list