I try to upgrade from Codebeamer 22.04-SP7 to 22.10-SP10.
The normal upgrade instructions ( https://codebeamer.com/cb/wiki/14336941 ) don't work. I encounter an error when starting codebeamer:
java.sql.SQLSyntaxErrorException: Table 'codebeamer.tracker_configurations_temp' doesn't exist
I then found another instruction which says that I have to perform a 2 phase upgrade: https://codebeamer.com/cb/wiki/29928667
I did set the CB_trackerConfigUpgrade_preUpgradeEnabled environment variable by modifying /etc/profile. Then I logged out and back in again.
Then I restarted Codebeamer 22.04-SP7. But the update of the tracker configurations does not start. And the new table tracker_configurations_temp is still missing.
Please help
Solved! Go to Solution.
I managed to resolve this issue myself.
Apparently, Codebeamer was not seeing the CB_trackerConfigUpgrade_preUpgradeEnabled environment variable. After I added the line
export CB_trackerConfigUpgrade_preUpgradeEnabled=true
to the <codebeamer_installdir>/bin/startup script, the first part of the 2-phase-upgrade started as expected.
I managed to resolve this issue myself.
Apparently, Codebeamer was not seeing the CB_trackerConfigUpgrade_preUpgradeEnabled environment variable. After I added the line
export CB_trackerConfigUpgrade_preUpgradeEnabled=true
to the <codebeamer_installdir>/bin/startup script, the first part of the 2-phase-upgrade started as expected.