[turba] restoring an old turba install, once and for all
Michael J. Rubinsky
mrubinsk at horde.org
Mon Nov 23 14:04:17 UTC 2009
Quoting "Robert P. J. Day" <rpjday at crashcourse.ca>:
> ok, now that i finally have some time and don't need to frantically
> panic, i want to restore (previously somewhat broken) turba
> functionality to an up-to-date installation, and i'll do that by
> asking some *very* specific questions.
>
> first, i've saved everything of potential value in that the mysql
> database has all four old addressbooks, and i've archived the old
> horde/turba directory out of the way, since i prefer to install from
> scratch and not take a chance on having old cruft and baggage messing
> things up.
>
> the horde framework itself is version 3.3.4 -- one micro-version
> behind but that should be perfectly adequate.
>
> next, do the obvious -- download turba-h3-2.3.2, unload it under the
> horde/ directory (rename it to "turba"), touch *nothing* about it, and
> pop over to horde/config/registry.php and simply set turba's status to
> active. change nothing else. now when i go into horde, i can see the
> "Addressbook" icon under "organizing," but (trivially) if i click on
> it, i'm told that "Some of Turba's configuration files are missing or
> unreadable." well *of course* they are -- i fully expected that since
> i haven't configured the sources yet. up to here, everything's gone
> exactly as planned.
>
> at this point, the real work kicks in and i need to add the
> appropriate entries to turba/config/sources.php. i have 4
> addressbooks to do, but i'll just worry about one -- if i can restore
> one, then obviously the same recipe should get the next three.
>
> and, jumping ahead, configuring a turba source entry isn't enough,
> since i finally need to enter information for that source in the
> turba/config/conf.xml file, yes? as i see it, i can do that one of
> two ways:
1) You also need to create the various config/*.php files from the
*.dist versions.
2) You don't configure turba sources in conf.xml, you only need to
configure them in sources.php
> * graphically, through horde administration, or
> * manually edit the conf.xml file
You should *never* edit the conf.xml file.
Really, all you should need to do is to copy the entry for the address
book from the old sources.php file into the new sources.php file. This
is assuming that you want to keep the existing address book schema.
--
Thanks,
mike
--
The Horde Project (www.horde.org)
mrubinsk at horde.org
More information about the turba
mailing list