I attempted to upgrade from 1.7.4 to 1.8 beta, but bumped into errors
I dug in the installation code and found the errors in the installation scripts. I was able to fix the errors and finish the upgrade successfully. I recommend fixing those error mentioned below before you start the upgrade process.
What to do
1- locate the file migration_start.php script, which is under [YOUR_NEW_TESTLINK_DIR]/install/migration/migrate_17. Locate line ~ 266, which reads:
$dirs_to_check=array('../../../gui/templates_c,../../../logs');
change it into
$dirs_to_check=array('../../../gui/templates_c','../../../logs');
note the red single quotes added.
2- locate the file db_schema_update.sql which is under [YOUR_NEW_TESTLINK_DIR]/install/sql/alter_tables/1.8/mysql/DB.1.2 directory.
Now, locate line ~ 104, which reads:
ALTER TABLE `requirements` CHANGE COLUMN `id` int(10) unsigned NOT NULL;
and change it to
ALTER TABLE `requirements` CHANGE COLUMN `id` `id` int(10) unsigned NOT NULL;
Then, locate line ~ 107, which reads
ALTER TABLE `req_specs` CHANGE COLUMN `id` int(10) unsigned NOT NULL;
change it to
ALTER TABLE `req_specs` CHANGE COLUMN `id` `id` int(10) unsigned NOT NULL;
Now run the upgrade process.
hope this helps.
thanks.
errors in 1.8 installation scripts & how to resolve them
Moderators: Amaradana, TurboPT, TL Developers