[turba] restoring turba addressbooks:part 2 of 2

Robert P. J. Day rpjday at crashcourse.ca
Mon Nov 23 16:13:26 UTC 2009


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?  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?)

> >  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.

rday
--

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

            Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================


More information about the turba mailing list