<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>MDB2_Schema Error: schema validation error</title> 
  <pubDate>Fri, 10 Apr 2026 16:47:25 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/7914</link> 
  <atom:link rel="self" type="application/rss+xml" title="MDB2_Schema Error: schema validation error" href="https://bugs.horde.org/ticket/7914/rss" /> 
  <description>MDB2_Schema Error: schema validation error</description> 
 
   
   
  <item> 
   <title>----&gt; Get the following error from upgrade 1.2.1 to 1.2.2


</title> 
   <description>----&gt; Get the following error from upgrade 1.2.1 to 1.2.2



Type your choice: y



Running pre-update scripts...



Writing main configuration file

Loading database module...

Updating database...

[ ERROR! ] Reading the existing table structure failed. Error messages:

MDB2_Schema Error: schema validation error

default value of &quot;alarm_start&quot; is incorrect: &quot;&quot; is not of type &quot;timestamp&quot;



Running post-update scripts...

Done updating Horde Groupware Webmail Edition.



----&gt; The only way to make the upgrade is deleting the horde_alarms in the MySQL Database.



Type your choice: y



Running pre-update scripts...



Writing main configuration file

Loading database module...

Updating database...

[   OK   ] Successfully updated the global tables.

[   OK   ] Successfully updated the tables for Mail (imp).

[   OK   ] Successfully updated the tables for Filters (ingo).

[   OK   ] Successfully updated the tables for Address Book (turba).

[   OK   ] Successfully updated the tables for Calendar (kronolith).

[   OK   ] Successfully updated the tables for Tasks (nag).

[   OK   ] Successfully updated the tables for Notes (mnemo).

Done updating tables.





Running post-update scripts...

Done updating Horde Groupware Webmail Edition.</description> 
   <pubDate>Thu, 29 Jan 2009 19:56:56 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7914#t52106</link> 
  </item> 
   
  <item> 
   <title>You got to love MDB2_Schame, eh, MDB2_Schema.</title> 
   <description>You got to love MDB2_Schame, eh, MDB2_Schema.</description> 
   <pubDate>Fri, 30 Jan 2009 00:12:15 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7914#t52131</link> 
  </item> 
   
  <item> 
   <title>I&#039;m getting this error as well upgrading from 1.2.1 to 1.2.2</title> 
   <description>I&#039;m getting this error as well upgrading from 1.2.1 to 1.2.2.  Dropping horde_alarms resolved upgrade.</description> 
   <pubDate>Thu, 05 Feb 2009 17:50:57 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7914#t52303</link> 
  </item> 
   
  <item> 
   <title>&gt; I&#039;m getting this error as well upgrading from 1.2.1 to 1.2</title> 
   <description>&gt; I&#039;m getting this error as well upgrading from 1.2.1 to 1.2.2.  

&gt; Dropping horde_alarms resolved upgrade.

same error on upgrading from 1.2.2 to 1.2.3

</description> 
   <pubDate>Fri, 01 May 2009 18:45:18 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7914#t53980</link> 
  </item> 
   
  <item> 
   <title>Is there an other way to update from 1.2.2 to 1.2.3 ? </title> 
   <description>Is there an other way to update from 1.2.2 to 1.2.3 ? </description> 
   <pubDate>Mon, 20 Jul 2009 07:54:52 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7914#t54984</link> 
  </item> 
   
  <item> 
   <title>I can&#039;t reproduce this.</title> 
   <description>I can&#039;t reproduce this.</description> 
   <pubDate>Wed, 12 Aug 2009 16:56:59 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7914#t55280</link> 
  </item> 
   
  <item> 
   <title>That was not a fresh install from 1.2.2. This 1.2.2 database</title> 
   <description>That was not a fresh install from 1.2.2. This 1.2.2 database was created with 1.0.something and got multiple updates until 1.2.2, I hope this history explains the situation.



I changed database structure until 1.2.3 update tool got what it expected so updates was successful now.



If you cannot reproduce this error it may be helpful to update documentation, so admin has a chance to verify database structure requirements.</description> 
   <pubDate>Thu, 13 Aug 2009 05:05:11 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7914#t55291</link> 
  </item> 
   
  <item> 
   <title>The point is, that the MDB2_Schema validator (that we ship) </title> 
   <description>The point is, that the MDB2_Schema validator (that we ship) complains about the database schema (that we ship). Since both are always the same, no matter from which version you update, it should either complain for anyone using that Horde version or for no one.</description> 
   <pubDate>Thu, 13 Aug 2009 09:22:22 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7914#t55292</link> 
  </item> 
   
  <item> 
   <title>Not reproducible.</title> 
   <description>Not reproducible.</description> 
   <pubDate>Wed, 16 Sep 2009 12:40:34 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7914#t55779</link> 
  </item> 
   
  <item> 
   <title>FWIW, I just got this exact problem upgrading from 1.2.3 (wh</title> 
   <description>FWIW, I just got this exact problem upgrading from 1.2.3 (which comes from older upgrades) into 1.2.4:



Running pre-update scripts...



Writing main configuration file

Loading database module...

Updating database...

[ ERROR! ] Reading the existing table structure failed. Error messages:

MDB2_Schema Error: schema validation error

default value of &quot;alarm_start&quot; is incorrect: &quot;&quot; is not of type &quot;timestamp&quot;



Running post-update scripts...

Done updating Horde Groupware Webmail Edition.



I still don&#039;t have an indication if the horde_alarms table was updated and even if the rest of the database was correctly updated... or what can I do to prevent this from happening (I can restore my backup, but re-doing the same steps will probably lead to the same error).</description> 
   <pubDate>Wed, 16 Sep 2009 14:48:09 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7914#t55787</link> 
  </item> 
   
  <item> 
   <title>Someone who is actually seeing this, has to dig through the </title> 
   <description>Someone who is actually seeing this, has to dig through the code and see where it is coming from.</description> 
   <pubDate>Wed, 16 Sep 2009 14:50:24 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7914#t55788</link> 
  </item> 
   
  <item> 
   <title>Or try the following *after* relocating pear with the setup </title> 
   <description>Or try the following *after* relocating pear with the setup script, but *before* actually doing the upgrade.



./horde/pear/pear -c horde/pear/horde.ini upgrade mdb2_schema-beta

./horde/pear/pear -c horde/pear/horde.ini upgrade mdb2_driver_mysql-beta



Replace &quot;mysql&quot; with your database system. Which one do you use anyway?</description> 
   <pubDate>Wed, 16 Sep 2009 14:56:02 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7914#t55789</link> 
  </item> 
   
  <item> 
   <title>Well,



actually, since this was a production setup which I</title> 
   <description>Well,



actually, since this was a production setup which I didn&#039;t actually know in what state ended, I rolled everything back to 1.2.3, restored the database, modified the horde_alarms table like this:



ALTER TABLE `horde_alarms` CHANGE `alarm_start` `alarm_start` DATETIME NOT NULL DEFAULT &#039;0000-00-00 00:00:00&#039;



and then successfully upgraded.



I&#039;ll try to simulate the steps you propose in another directory with a copy of the database but I don&#039;t know when I&#039;ll have the time (I already took a whole morning with this).



What I don&#039;t know is how to run the setup script &quot;step by step&quot; so I can relocate pear and then run 



./horde/pear/pear -c horde/pear/horde.ini upgrade mdb2_driver_mysql-beta

(it is, actually mysql 5.0).</description> 
   <pubDate>Wed, 16 Sep 2009 16:16:19 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7914#t55790</link> 
  </item> 
   
  <item> 
   <title>&gt; What I don&#039;t know is how to run the setup script &quot;step by </title> 
   <description>&gt; What I don&#039;t know is how to run the setup script &quot;step by step&quot; so I 

&gt; can relocate pear and then run



Just pick the PEAR entry in the menu of setup.php.</description> 
   <pubDate>Wed, 16 Sep 2009 16:21:28 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7914#t55791</link> 
  </item> 
   
  <item> 
   <title>same error on upgrade from version 1.2.3 to 1.2.4.



Updati</title> 
   <description>same error on upgrade from version 1.2.3 to 1.2.4.



Updating database...

[ ERROR! ] Reading the existing table structure failed. Error messages:

MDB2_Schema Error: schema validation error

default value of &quot;alarm_start&quot; is incorrect: &quot;&quot; is not of type &quot;timestamp&quot;



=&gt; delete horde_alarms and the update is successful without any errors.



</description> 
   <pubDate>Mon, 21 Sep 2009 17:14:04 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7914#t55867</link> 
  </item> 
   
  <item> 
   <title>Well, that is, unless your users had actually set alarms for</title> 
   <description>Well, that is, unless your users had actually set alarms for a future date and they intend for them to work... if you delete the horde_alarms table, you automatically deleted all your users alarms.



You can, however, modify the structure of the table before the upgrade in order that it completes sucessfully:



ALTER TABLE `horde_alarms` CHANGE `alarm_start` `alarm_start` DATETIME 

NOT NULL DEFAULT &#039;0000-00-00 00:00:00&#039;



This will NOT erase the alarms since it only changes the structure of the table and, actually, it only changes the DEFAULT value (which is used for newly inserted records and doesn&#039;t affect existing records).</description> 
   <pubDate>Mon, 21 Sep 2009 17:30:29 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7914#t55868</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

Bump version</title> 
   <description>Changes have been made in CVS for this ticket:

Bump versions, even MDB2 and MDB2_Schema because this seems to fix bug #7914.
http://cvs.horde.org/diff.php/groupware/config/Attic/pear.txt?rt=horde&amp;r1=1.26.2.8&amp;r2=1.26.2.9&amp;ty=u</description> 
   <pubDate>Wed, 16 Dec 2009 00:06:59 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7914#t57196</link> 
  </item> 
   
  <item> 
   <title>This will be fixed with Groupware 1.2.5.</title> 
   <description>This will be fixed with Groupware 1.2.5.</description> 
   <pubDate>Wed, 16 Dec 2009 22:51:44 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7914#t57212</link> 
  </item> 
   
  <item> 
   <title>Update to Horde Groupware Webmail Edition 1.2.5 without the </title> 
   <description>Update to Horde Groupware Webmail Edition 1.2.5 without the error, thank you.
</description> 
   <pubDate>Sat, 19 Dec 2009 19:19:39 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7914#t57269</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
