Buch, Christian
2018-07-20 13:48:16 UTC
Hello,
our current Bugzilla version is 4.4.2 with Testopia 2.5.
We setup a new host (SLES 12) with following software components:
Bugzilla Version:
[cid:***@01D42040.38F9D580]
MYSQL:
[cid:***@01D42040.38F9D580]
No Testopia is installed there, Testopia is obsolete.
The checksetup.pl with initial database bugs runs perfect.
After customizing and restore the database from the old host the checksetup-script runs into following error:
DBD::mysql::db do failed: Cannot add foreign key constraint [for Statement "ALTER TABLE test_case_components ADD
CONSTRAINT fk_test_case_components_component_id_components_id FOREIGN KEY (component_id)
REFERENCES components(id)
ON UPDATE CASCADE ON DELETE CASCADE"] at Bugzilla/DB.pm line 667.
Bugzilla::DB::bz_add_fks('Bugzilla::DB::Mysql=HASH(0x82b0ed8)', 'test_case_components', 'HASH(0x77bc428)', 'HASH(0x85d33b8)') called at Bugzilla/DB.pm line 571
Bugzilla::DB::bz_setup_foreign_keys('Bugzilla::DB::Mysql=HASH(0x82b0ed8)') called at Bugzilla/Install/DB.pm line 748
Bugzilla::Install::DB::update_table_definitions('HASH(0x20b9a00)') called at ./checksetup.pl line 172
These Tables where parts of Testopia, which isn't installed on the new host.
Deleting these tables and run the script again wasn't successful.
We "downgraded" down to version 4.4.13, that was okay with Testopia-Tables.
Any idea what we can do?
Thanks for help.
Mit engagierten Grüßen / best regards,
Christian Buch
[cid:***@01D42041.11C51A00]<https://www.gibmbh.de/>
Christian Buch
GIB mbH
Birlenbacher Straße 18
57078 Siegen
IT Services
Germany
Phone: +49 271 89038 0
Fax: +49 271 89038 99
[cid:***@01D42041.11C51A00]Skype for Business<sip:***@gibmbh.de>
Mail: ***@gibmbh.de
G.I.B Gesellschaft für Information und Bildung mbH
Birlenbacher Strasse 18, 57078 Siegen
Sitz der Gesellschaft: Siegen; Amtsgericht Siegen HR B 3920
Geschäftsführer: Björn Dunkel
SAP Partner
Der Inhalt dieser Nachricht ist vertraulich und nur für den angegebenen Empfänger bestimmt. Jede Form der Kenntnisnahme oder Weitergabe durch Dritte ist unzulässig. Sollte diese Nachricht nicht für Sie bestimmt sein, so bitten wir Sie, sich mit uns per E-Mail oder telefonisch in Verbindung zu setzen und alle Kopien zu vernichten. Vielen Dank
This message is confidential and may be privileged, and maybe not used or disseminated by anyone other than the intended recipient. If received in error, please notify the sender immediately, and destroy all copies. Thank you.
our current Bugzilla version is 4.4.2 with Testopia 2.5.
We setup a new host (SLES 12) with following software components:
Bugzilla Version:
[cid:***@01D42040.38F9D580]
MYSQL:
[cid:***@01D42040.38F9D580]
No Testopia is installed there, Testopia is obsolete.
The checksetup.pl with initial database bugs runs perfect.
After customizing and restore the database from the old host the checksetup-script runs into following error:
DBD::mysql::db do failed: Cannot add foreign key constraint [for Statement "ALTER TABLE test_case_components ADD
CONSTRAINT fk_test_case_components_component_id_components_id FOREIGN KEY (component_id)
REFERENCES components(id)
ON UPDATE CASCADE ON DELETE CASCADE"] at Bugzilla/DB.pm line 667.
Bugzilla::DB::bz_add_fks('Bugzilla::DB::Mysql=HASH(0x82b0ed8)', 'test_case_components', 'HASH(0x77bc428)', 'HASH(0x85d33b8)') called at Bugzilla/DB.pm line 571
Bugzilla::DB::bz_setup_foreign_keys('Bugzilla::DB::Mysql=HASH(0x82b0ed8)') called at Bugzilla/Install/DB.pm line 748
Bugzilla::Install::DB::update_table_definitions('HASH(0x20b9a00)') called at ./checksetup.pl line 172
These Tables where parts of Testopia, which isn't installed on the new host.
Deleting these tables and run the script again wasn't successful.
We "downgraded" down to version 4.4.13, that was okay with Testopia-Tables.
Any idea what we can do?
Thanks for help.
Mit engagierten Grüßen / best regards,
Christian Buch
[cid:***@01D42041.11C51A00]<https://www.gibmbh.de/>
Christian Buch
GIB mbH
Birlenbacher Straße 18
57078 Siegen
IT Services
Germany
Phone: +49 271 89038 0
Fax: +49 271 89038 99
[cid:***@01D42041.11C51A00]Skype for Business<sip:***@gibmbh.de>
Mail: ***@gibmbh.de
G.I.B Gesellschaft für Information und Bildung mbH
Birlenbacher Strasse 18, 57078 Siegen
Sitz der Gesellschaft: Siegen; Amtsgericht Siegen HR B 3920
Geschäftsführer: Björn Dunkel
SAP Partner
Der Inhalt dieser Nachricht ist vertraulich und nur für den angegebenen Empfänger bestimmt. Jede Form der Kenntnisnahme oder Weitergabe durch Dritte ist unzulässig. Sollte diese Nachricht nicht für Sie bestimmt sein, so bitten wir Sie, sich mit uns per E-Mail oder telefonisch in Verbindung zu setzen und alle Kopien zu vernichten. Vielen Dank
This message is confidential and may be privileged, and maybe not used or disseminated by anyone other than the intended recipient. If received in error, please notify the sender immediately, and destroy all copies. Thank you.