Skip to main content
7-Bedrock
April 4, 2024
Solved

Codebeamer 22.04-SP7 to 22.10-SP10 upgrade

  • April 4, 2024
  • 1 reply
  • 1059 views

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

Best answer by Roman_Zangl

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.

1 reply

Roman_Zangl7-BedrockAuthorAnswer
7-Bedrock
April 8, 2024

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.