[turba] Turba migration

Alexis Domjan adomjan at horus.ch
Wed Jan 11 16:08:39 UTC 2012


Dear Jan,

>> Well, I tried to execute the 2.1_to_2.2_sql_schema.php, but it failed
>> with the following error:
>
> If you still need to run this script, then your old Turba version is too
> old. The migration scripts for Horde 4 (not only Turba) require that you
> upgraded from the latest Horde 3 versions.

Well, I was able to run this script by changing the HORDE_BASE value, 
and it worked.

Actually I'm not running Horde 4, but Horde 3.3.8 which is the stock 
version installed with Debian Squeeze (6.0.x).

Migration scripts for Horde3 worked and Horde/IMP are working pretty 
fine. I've got only this problem with Turba2 and displaying the contacts.

Thanks for your answer.
KR

>
>> # /usr/share/doc/turba2/examples# php
>> scripts/upgrades/2.1_to_2.2_sql_schema.php
>> PHP Warning:
>> require_once(/usr/share/doc/turba2/examples/scripts/upgrades/../../../lib/core.php):
>> failed to open stream: No such file or directory in
>> /usr/share/doc/turba2/examples/scripts/upgrades/2.1_to_2.2_sql_schema.php
>> on line 41
>> PHP Fatal error: require_once(): Failed opening required
>> '/usr/share/doc/turba2/examples/scripts/upgrades/../../../lib/core.php' (include_path='.:/usr/share/php:/usr/share/pear')
>> in
>> /usr/share/doc/turba2/examples/scripts/upgrades/2.1_to_2.2_sql_schema.php
>> on line 41
>>
>> So, I read the file and I applied the modifications manually.
>>
>> I'm running Debian GNU/Linux squeeze, and maybe the location of the
>> file is not the same that it should be, that's why it can't find the
>> lic/core.php file ?
>>
>> What should I do to do apply the patch the more correctly ?
>>
>>> What you are doing here is changing every contact entry into a group
>>> entry. It's amazing that you see anything useful in your contacts with
>>> this change.
>>
>> Well, this was wrong indeed. Forget this comment.
>>
>>> You should start over, this time following the UPGRADING procedures and
>>> running the appropriate database migrations.
>>
>> You're right. It's what I'm trying to do but it fails. Can I simply
>> move the script at another location ?
>>
>> Thanks in advance,
>> kind regards
>> --
>> Alexis Domjan <adomjan at horus.ch>
>> --
>> Turba mailing list
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: turba-unsubscribe at lists.horde.org
>
>
> Jan.
>


-- 
Horus Networks Sàrl
http://www.horus.ch
Website & E-mail Powered by Solar Energy!
Responsable technique
Alexis Domjan <adomjan at horus.ch>


More information about the turba mailing list