6.0.0-beta1
7/3/25

[#13708] Installation fails during creating of database tables
Summary Installation fails during creating of database tables
Queue Horde Groupware Webmail Edition
Queue Version 5.2.3
Type Bug
State Resolved
Priority 3. High
Owners mrubinsk (at) horde (dot) org
Requester sysnet (at) web (dot) de
Created 11/20/2014 (3878 days ago)
Due
Updated 11/21/2014 (3877 days ago)
Assigned
Resolved 11/21/2014 (3877 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
11/21/2014 04:50:07 PM sysnet (at) web (dot) de Comment #3 Reply to this comment
Already fixed in Git.
Great and thank you! Which version do I have to use from Git? The 
latest Horde DB release 2.2.2 released 3 days ago unfortunately still 
has the issue.
11/21/2014 04:51:32 AM Michael Rubinsky Comment #2
Assigned to Michael Rubinsky
State ⇒ Resolved
Reply to this comment
Already fixed in Git.
11/20/2014 10:07:03 PM sysnet (at) web (dot) de Comment #1
Priority ⇒ 3. High
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Groupware Webmail Edition
Summary ⇒ Installation fails during creating of database tables
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
Hello,

with the current Horde version available via pear I get the following 
error while running webmail-install from a local pear installation:

Creating and updating database tables...
====================

Fatal Error:
share_id has already been added as a primary key
In 
/var/www/fws/apps.fuchs.ws/pear/pear/php/Horde/Db/Adapter/Base/TableDefinition.php on line 
122

1. Horde_Core_Bundle->migrateDb() 
/var/www/fws/apps.fuchs.ws/pear/pear/webmail-install:32
2. Horde_Db_Migration_Migrator->up() 
/var/www/fws/apps.fuchs.ws/pear/pear/php/Horde/Core/Bundle.php:107
3. Horde_Db_Migration_Migrator->_doMigrate() 
/var/www/fws/apps.fuchs.ws/pear/pear/php/Horde/Db/Migration/Migrator.php:102
4. Horde_Db_Migration_Base->migrate() 
/var/www/fws/apps.fuchs.ws/pear/pear/php/Horde/Db/Migration/Migrator.php:182
5. NagBaseTables->up() 
/var/www/fws/apps.fuchs.ws/pear/pear/php/Horde/Db/Migration/Base.php:121
6. Horde_Db_Adapter_Base_TableDefinition->column() 
/var/www/fws/apps.fuchs.ws/htdocs/horde/nag/migration/1_nag_base_tables.php:54

====================

I used the command from the documentation:

PHP_PEAR_SYSCONF_DIR=/var/www/webmail php \
     -d include_path=/var/www/webmail/pear/php \
     /var/www/webmail/pear/webmail-install


Saved Queries