[horde] Upgrading from Groupware 1.0.8 to 1.2.3

Chris Funk chris at completecomputing.com
Tue Jun 16 02:58:20 UTC 2009


I applied the patch you provided.  Unfortunately, all it offers is  
that it cannot find the Validate package.

____________________ Start Script Output Exerpt _________________
** Creators successfully stored. ***

** Please manually apply NOT NULL constraint to 'task_creator' column. ***

Writing main configuration file
Loading database module...
Updating database...
[ ERROR! ] Reading the existing table structure failed. Error messages:
MDB2 Error: not found
unable to find package 'MDB2_Schema_Validate' file 'MDB2/Schema/Validate.php'

Running post-update scripts...
scripts/upgrades/convert_datatree_groups_to_sql.php
____________________ End Script Output Exerpt _________________

We are using MySQL 5.0.45.

I verified that the Validate.php file does exist in the horde installation:

$ ls pear/MDB2/Schema/
Parser2.php  Parser.php  Reserved/  Tool/  Tool.php  Validate.php  Writer.php


Any other suggestions?

Thanks,
--Chris



Responding to:

> I am trying to upgrade from Horde Groupware Webmail 1.0.8 to 1.2.3.
> The setup script copies the old files fine, then moves on to the   
> database.  The first script executed   
> (2008-08-29_fix_mdb2_sequences.php) produces the  following error:
>
> Call to a member function listTables() on a non-object in
> /data/web/web3/web/w1/scripts/upgrades/2008-08-29_fix_mdb2_sequences.

This could only happen if loading the MDB2 Manager module fails.
Unfortunately we don't catch this, try to apply this patch and see if
you get a meaningful error message:
http://cvs.horde.org/diff.php/horde/scripts/upgrades/2008-08-29_fix_mdb2_sequences.php?rt=horde&r1=1.1.2.5&r2=1.1.2.6&ty=u

Maybe this is related to the other error below.
Which database system do you use?

> In an attempt to move past this issue, I commented out that script   
> in the setup script.
>
> After doing that the script seems to start processing ok, but then   
> errors out when trying to update the database with:
>
> Writing main configuration file
> Loading database module...
> Updating database...
> [ ERROR! ] Reading the existing table structure failed. Error messages:
> MDB2 Error: not found
> unable to find package 'MDB2_Schema_Validate' file 'MDB2/Schema/Validate.php'
>
> The package appears to be there in my PEAR structure   
> (/usr/share/pear/MDB2/), but not in the one contained within the   
> horde distribution (<horde_root>/pear/MDB2/).
>
> Can anyone offer any suggestion as to why this might be breaking?

The file is definitely there, in horde/pear/MDB2/Schema/Validate.php.

Jan.



--Chris
---------------------------------------------------------------
Chris Funk
chris at TheFunks.net






More information about the horde mailing list