Upgrading bugzilla 4.2.4 to 5.0.6

Pierre Hernandez <[email protected]> Tue, 2 Feb 2021 06:45:22 -0800 (PST)
Newsgroups gmane.comp.mozilla.devel.webtools
Message-ID <[email protected]>
Hello all,

I would like to upgrade my bugzilla application from 4.2.4 to 5.0.6. 

Should i have to apply all existing patches between 4.2.4 and 5.0.6 or am i able to migrate directly 4.2.4 to 5.06 ?

i tried the second option and i have the below error: 

DBD::mysql::db do failed: Cannot change column 'id': used in a foreign key constraint 'fk_test_case_components_component_id_components_id' of table 'prod_bugzilla.test_case_components' [for Statement "ALTER TABLE components CHANGE COLUMN
                       id id mediumint auto_increment NOT NULL"] at Bugzilla/DB.pm line 754.
        Bugzilla::DB::bz_alter_column_raw(Bugzilla::DB::Mysql=HASH(0x55d246201b90), "components", "id", HASH(0x55d2456c10f8), HASH(0x55d249445668), undef) called at Bugzilla/DB.pm line 713
        Bugzilla::DB::bz_alter_column(Bugzilla::DB::Mysql=HASH(0x55d246201b90), "components", "id", HASH(0x55d2456c10f8)) called at Bugzilla/Install/DB.pm line 4182
        Bugzilla::Install::DB::_fix_components_primary_key() called at Bugzilla/Install/DB.pm line 712
        Bugzilla::Install::DB::update_table_definitions(HASH(0x55d23f9235c8)) called at ./checksetup.pl line 175

Any advices? 

Thanks for your help, 

Pierre

_______________________________________________
support-bugzilla mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put [email protected] in the To: field when you reply.