Bug 46581 - Installing the Horde App does not execute the join script on DC Backup and Memberserver
Installing the Horde App does not execute the join script on DC Backup and Me...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Mail - Horde
UCS 4.3
Other Linux
: P5 normal (vote)
: UCS 4.3
Assigned To: Felix Botner
Dirk Wiesenthal
: interim-4
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-03-10 11:43 CET by Dirk Wiesenthal
Modified: 2018-08-14 11:23 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Wiesenthal univentionstaff 2018-03-10 11:43:11 CET
Installing the App results in the installation process being successful, yet the join script failed. The web interface is up and running, but I do not know whether Horde is fully set up.

From the join.log:
Installing Horde Groupware Webmail Edition

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

Fatal Error:
SQLSTATE[42P07]: Duplicate table: 7 FEHLER:  Relation »imp_schema_info« existiert bereits
In /usr/share/php/Horde/Db/Adapter/Pdo/Base.php on line 231

 1. Horde_Core_Bundle->migrateDb() /usr/share/univention-mail-horde/univention-mail-horde-configuration:59
 2. Horde_Core_Db_Migration->getMigrator() /usr/share/php/Horde/Core/Bundle.php:102
 3. Horde_Db_Migration_Migrator->__construct() /usr/share/php/Horde/Core/Db/Migration.php:125
 4. Horde_Db_Migration_Migrator->_initializeSchemaInformation() /usr/share/php/Horde/Db/Migration/Migrator.php:77
 5. Horde_Db_Adapter_Base_TableDefinition->end() /usr/share/php/Horde/Db/Migration/Migrator.php:281
 6. Horde_Db_Adapter_Base_Schema->endTable() /usr/share/php/Horde/Db/Adapter/Base/TableDefinition.php:207
 7. Horde_Db_Adapter_Postgresql_Schema->execute() /usr/share/php/Horde/Db/Adapter/Base/Schema.php:569
 8. Horde_Db_Adapter_Base_Schema->__call() /usr/share/php/Horde/Db/Adapter/Base/Schema.php:569
 9. call_user_func_array() /usr/share/php/Horde/Db/Adapter/Base/Schema.php:166
10. Horde_Db_Adapter_Pdo_Base->execute()
11. Horde_Core_Bundle->migrateDb() /usr/share/univention-mail-horde/univention-mail-horde-configuration:59
12. Horde_Core_Db_Migration->getMigrator() /usr/share/php/Horde/Core/Bundle.php:102
13. Horde_Db_Migration_Migrator->__construct() /usr/share/php/Horde/Core/Db/Migration.php:125
14. Horde_Db_Migration_Migrator->_initializeSchemaInformation() /usr/share/php/Horde/Db/Migration/Migrator.php:77
15. Horde_Db_Adapter_Base_TableDefinition->end() /usr/share/php/Horde/Db/Migration/Migrator.php:281
16. Horde_Db_Adapter_Base_Schema->endTable() /usr/share/php/Horde/Db/Adapter/Base/TableDefinition.php:207
17. Horde_Db_Adapter_Postgresql_Schema->execute() /usr/share/php/Horde/Db/Adapter/Base/Schema.php:569
18. Horde_Db_Adapter_Base_Schema->__call() /usr/share/php/Horde/Db/Adapter/Base/Schema.php:569
19. call_user_func_array() /usr/share/php/Horde/Db/Adapter/Base/Schema.php:166
20. Horde_Db_Adapter_Pdo_Base->execute()
21. PDO->query() /usr/share/php/Horde/Db/Adapter/Pdo/Base.php:231

====================
EXITCODE=1
Comment 1 Dirk Wiesenthal univentionstaff 2018-03-10 11:43:48 CET
Setting to interim-4. Does this block the release?
Comment 3 Felix Botner univentionstaff 2018-03-12 14:23:24 CET
updated 
 * php-horde-db (2.2.3-1-horde/005-postgres-schema.quilt)
 * php-horde-turba (4.2.7-1-horde/005-addressbook.quilt) -> Ticket #2014100221000126

updated horde App (horde=5.2.7-4)

successfully tested with UCS 4.1 and 4.3
started 4.3 App tests
Comment 4 Felix Botner univentionstaff 2018-03-13 10:49:08 CET
now horde app version breaks the 4.3 (4.2-3) update


[master110] 2018-03-12T15:21:27.789950	+ true
[master110] 2018-03-12T15:21:27.789950	+ univention-upgrade --noninteractive --ignoreterm --ignoressh --updateto 4.2-3
[master110] 2018-03-12T15:21:27.871019	Starting univention-upgrade. Current UCS version is 4.2-3 errata311
[master110] 2018-03-12T15:21:27.871019	Checking for local repository:                          none
[master110] 2018-03-12T15:21:27.945296	Checking for package updates:                          
[master110] 2018-03-12T15:21:34.131543	 none
[master110] 2018-03-12T15:21:34.131543	Checking for app updates:                              
[master110] 2018-03-12T15:21:37.282193	 found
[master110] 2018-03-12T15:21:37.282193	The following apps can be upgraded:
[master110] 2018-03-12T15:21:37.295259	Horde Groupware Webmail Edition: Version 5.2.7-3 can be upgraded to 5.2.7-4
[master110] 2018-03-12T15:21:37.295259	Starting app upgrade                                  
[master110] 2018-03-12T15:21:43.799862	 An error occurred - see "/var/log/univention/updater.log" for details
[master110] 2018-03-12T15:21:43.888605	ERROR: univention-upgrade failed exitcode 2

i removed the new horde app version, instead we updated the packages php-horde-db_2.2.3-1.9.201803121315_all.deb and php-horde-turba_4.2.7-1.13.201803121343_all.deb in the current horde app (5.2.7-3)

Started 4.2 install tests, 4.3 install and release update tests
Comment 5 Dirk Wiesenthal univentionstaff 2018-03-13 23:43:23 CET
Tests passed
Comment 6 Dirk Wiesenthal univentionstaff 2018-03-13 23:44:21 CET
VERIFIED that tests passed. I published the update (which means published the two packages into the existing repository for the appbox App)