I have running Bugzilla 3.6.1 in Debian and i want to upgarde to 4.4.x
So installed new OS redhat and and copied all the contents and import database from oldserver its working for 3.6.1 and so tried to upgarde to bugzilla 4.4.x below is steps i used
Downloaded the latest bugzilla 4.4.8 and extracted in /var/www/html directory
Moved old bugzilla directory to bugzilla.old
copied from old bugzilla localconfig* to new
Copied data directory from old bugzilla to new
And started to run ./checksetup.pl but i am getting below error
DBD::mysql::db do failed: Can't create table 'bugs.#sql-7a3e_2e' (errno: 121) [for Statement "ALTER TABLE attach_data ADD CONSTRAINT fk_attach_data_id_attachments_attach_id FOREIGN KEY (id) REFERENCES attachments(attach_id) ON UPDATE CASCADE ON DELETE CASCADE"] at Bugzilla/DB.pm line 638. Bugzilla:
B::bz_add_fks(Bugzilla:
B::Mysql=HASH(0x5068ec8), "attach_data", HASH(0x49cab88), HASH(0x9578680)) called at Bugzilla/DB.pm line 542 Bugzilla:
B::bz_setup_foreign_keys(Bugzilla:
B::Mysql=HASH(0x5068ec8)) called at Bugzilla/Install/DB.pm line 722 Bugzilla::Install:
B::update_table_definitions(HASH(0x2290570)) called at ./checksetup.pl line 170