We are trying to upgrade version from 4.4.4 to 5.0.3. We made a clean install of code, imported the old db (rt4) into rt5 db, but, when I try to run make upgrade-database
to upgrade database, it shows an error in 4.5.0 step:
Enter RT version you’re upgrading from: 4.4.6
Going to apply following upgrades:
- 4.5.0
- 4.5.1
- 4.5.2
- 4.5.3
- 4.5.4
- 4.5.5
- 4.5.6
- 4.5.7
- 4.5.8
- 5.0.2
- 5.0.3
Enter RT version if you want to stop upgrade at some point,
or leave it blank if you want apply above upgrades: 4.5.0
Going to apply following upgrades:
- 4.5.0
IT’S VERY IMPORTANT TO BACK UP BEFORE THIS STEP
Proceed [y/N]:y
Processing 4.5.0
Now populating database schema.
[28045] [Fri Mar 17 10:45:54 2023] [critical]: DBD::mysql::st execute failed: Can’t DROP ‘HotList’; check that column/key exists at /tmp/rt-5.0.3/sbin/…/lib/RT/Handle.pm line 551. (/tmp/rt-5.0.3/sbin/…/lib/RT.pm:409)
DBD::mysql::st execute failed: Can’t DROP ‘HotList’; check that column/key exists at /tmp/rt-5.0.3/sbin/…/lib/RT/Handle.pm line 551.
make: *** [Makefile:393: upgrade-database] Error 9
Any idea what migt be wrong and what can we do?