<?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>DB schema &quot;update&quot; failed</title> 
  <pubDate>Fri, 10 Apr 2026 09:04:33 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/11245</link> 
  <atom:link rel="self" type="application/rss+xml" title="DB schema &quot;update&quot; failed" href="https://bugs.horde.org/ticket/11245/rss" /> 
  <description>DB schema &quot;update&quot; failed</description> 
 
   
   
  <item> 
   <title>Hi,

I have a fresh git &quot;develop&quot; branch install here. I c</title> 
   <description>Hi,

I have a fresh git &quot;develop&quot; branch install here. I can&#039;t update the whups DB schema with the sqlite driver. Here&#039;s the error message from the log:

2012-07-07T19:22:27+02:00 ERR: HORDE [horde] SQL QUERY FAILED: SQLSTATE[HY000]: General error: 1 table &quot;whups_transactions&quot; already exists  
        CREATE TABLE &quot;whups_transactions&quot; ( &quot;transaction_id&quot; int NOT NULL,
          &quot;transaction_timestamp&quot; int NOT NULL, &quot;transaction_user_id&quot;
          varchar(255) NOT NULL, PRIMARY KEY(&quot;transaction_id&quot;) )  [pid 14698 on line 812 of &quot;/datastore/DEVEL/horde/framework/Db/lib/Horde/Db/Adapter/Base.php&quot;]

Thomas


</description> 
   <pubDate>Sat, 07 Jul 2012 17:26:04 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11245#t71735</link> 
  </item> 
   
  <item> 
   <title>Are you sure you are using a virgin database?  Since there i</title> 
   <description>Are you sure you are using a virgin database?  Since there is only one place where this table is created, the only way this can happen is if you attempt to run the migration on a database that has the table already but the schema data indicates that the migration was not run.</description> 
   <pubDate>Sat, 07 Jul 2012 19:43:33 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11245#t71741</link> 
  </item> 
   
  <item> 
   <title>&gt; Are you sure you are using a virgin database?  Since there</title> 
   <description>&gt; Are you sure you are using a virgin database?  Since there is only 
&gt; one place where this table is created, the only way this can happen 
&gt; is if you attempt to run the migration on a database that has the 
&gt; table already but the schema data indicates that the migration was 
&gt; not run.

I&#039;m pretty sure the database was clean as I recreated it several times.
(Took me a while to figure out #11244 as it &quot;locked me out&quot;. So I recreated the database, prefs and config from scratch)

I&#039;ve just recreated the database and it fails with another error during the first creation:

2012-07-09T09:24:00+02:00 ERR: HORDE [horde] SQL QUERY FAILED: SQLSTATE[HY000]: General error: 1 no such table: whups_shares_seq  
        DROP TABLE &quot;whups_shares_seq&quot; [pid 2717 on line 812 of &quot;/datastore/DEVEL/horde/framework/Db/lib/Horde/Db/Adapter/Base.php&quot;]

After that I get the &quot;whups_transactions&quot; error mentioned previously.
</description> 
   <pubDate>Mon, 09 Jul 2012 07:25:51 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11245#t71742</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (develop):

commit 831ff3cbb57</title> 
   <description>Changes have been made in Git (develop):

commit 831ff3cbb578a5de962ac01aefb9a13cf5641918
Author: Jan Schneider &lt;jan@horde.org&gt;
Date:   Tue Jul 17 16:58:37 2012 +0200

    Allow for nested transactions.
    
    Fixes bug #11245.

 framework/Db/lib/Horde/Db/Adapter/Base.php   |   20 ++++++++++++--------
 framework/Db/lib/Horde/Db/Adapter/Mysql.php  |   12 +++++++-----
 framework/Db/lib/Horde/Db/Adapter/Mysqli.php |   10 +++++++---
 framework/Db/package.xml                     |    4 ++--
 4 files changed, 28 insertions(+), 18 deletions(-)

http://git.horde.org/horde-git/-/commit/831ff3cbb578a5de962ac01aefb9a13cf5641918</description> 
   <pubDate>Tue, 17 Jul 2012 14:59:52 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11245#t71898</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (master):

commit 831ff3cbb578</title> 
   <description>Changes have been made in Git (master):

commit 831ff3cbb578a5de962ac01aefb9a13cf5641918
Author: Jan Schneider &lt;jan@horde.org&gt;
Date:   Tue Jul 17 16:58:37 2012 +0200

    Allow for nested transactions.
    
    Fixes bug #11245.

 framework/Db/lib/Horde/Db/Adapter/Base.php   |   20 ++++++++++++--------
 framework/Db/lib/Horde/Db/Adapter/Mysql.php  |   12 +++++++-----
 framework/Db/lib/Horde/Db/Adapter/Mysqli.php |   10 +++++++---
 framework/Db/package.xml                     |    4 ++--
 4 files changed, 28 insertions(+), 18 deletions(-)

http://git.horde.org/horde-git/-/commit/831ff3cbb578a5de962ac01aefb9a13cf5641918</description> 
   <pubDate>Wed, 29 Aug 2012 12:43:07 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11245#t72576</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
