Upgrading from Older Versions - Advanced - Since Codebeamer 21.09 (EMMA)This document describes how to upgrade from earlier versions running with MySQL/Oracle. Table of Contents
On Linux, upgrading to Codebeamer 22.04 (Felicity), the followings are required:
Before Emma version, refer to Upgrading from Older Versions - Advanced
Only MySQL 8.0 and Oracle 19 are supported. Upgrade your MySQL/Oracle instance before upgrading your Codebeamer instance.
Before you start upgrading, carefully check the Codebeamer release specific requirements especially supported Java and MySQL/Oracle versions!
The old Codebeamer installation will be referred as OLD-CB, the new one as NEW-CB throughout this document.
The upgrade procedure transfers your installation instance data from the old version to the new version. Migration from the new version back to the old version is NOT supported.
When you upgrade MySQL to a newer version, do not forget to do the followings:
You can find more information on this webpage: https://dev.mysql.com/doc/refman/8.0/en/mysql-upgrade.html Step 1. Install NEW-CBInstall NEW-CB into a new directory (the installation must not be executed into an existing directory) and do not start the CB server at the end of the installation. Step 2. Copy Repository DataCopy the following directories and files from OLD-CB/repository to NEW-CB/repository: (git, hg, src, svn, and acl.svn might not exist, depending on your RDBMS and SCM):
Windows:cd OLD-CB\repository xcopy docs NEW-CB\repository\docs\ /EH xcopy git NEW-CB\repository\git\ /EH xcopy hg NEW-CB\repository\hg\ /EH xcopy src NEW-CB\repository\src\ /EH xcopy svn NEW-CB\repository\svn\ /EH xcopy access NEW-CB\repository\access\ /EH Unix:$ cd OLD-CB/repository $ find acl.svn docs git hg src svn | cpio -updv NEW-CB/repositoryIf you have customized your OLD-CB/repository structure, e.g. mounted external volumes as docs and/or git, hg or svn, then the above procedure might not be appropriate, and, for the given example, you would better unmount the external volumes from OLD-CB/repository and mount to NEW-CB/repository. Step 3. Database ConfigurationWhen you upgrade from CB 9.3 or newer, copy configuration.properties file from from OLD-CB/config to NEW-CB/config. In case you upgrade from CB 9.2 or older copy general.xml instead from OLD-CB/tomcat/webapps/cb/WEB-INF/classes/general.xml to NEW-CB/tomcat/webapps/cb/WEB-INF/classes/general.xml, MySQL UpgradeMigrate MySQL 5.7 CB database to 8.0 Oracle UpgradeRefer to Preparing Oracle Database for Installation and section Database Connectivity in Post-installation Configuration, how to configure an Oracle database for CB-7.x. Codebeamer database schema requires the CREATE VIEW privilege.Because this privilege was not required in older releases, it is typically missing, and your database administrator has to grant it manually. GRANT CREATE VIEW to <codebeamer schema user>
DerbyNo upgrade is supported for Apache Derby databases!
Contact the PTC Support Team if you need to upgrade a Codebeamer instance with a Derby database, or want to migrate the Derby database to MySQL or Oracle. Step 4. Runtime ParametersIf you had customized OLD-CB runtime variables, e.g. special JVM, HEAPSIZE, etc., then you should copy these settings from the OLD_CB start script to the NEW-CB start script.
cbservice codebeamer codebeamer Step 5. StartStart the NEW-CB server. The first time the Codebeamer server is started, the database schema will be upgraded to version NEW-CB. Step 6. Get and Install a New LicenseCheck whether your available license is compatible with target Codebeamer release.
For further information on licensing, see pages Managing Licenses and Licensing with FlexLM. Step 7. Logo ConfigurationTo restore your custom logo and welcome text manually, you need to Login as system administrator and re-upload your logo file. Step 8. Clearing Browser CachesBecause browsers cache javascript files, the cached javascript files must be re-loaded. We strongly recommend clearing the browsers' cache and then re-starting the browser. Step 9. Starting Re-IndexingAfter upgrading, the index database is empty thus searching will not provide any matching.
Perform a re-indexing of artifacts by go to System Admin > Indexing > click on 'YES, drop file cache and re-index!
During the re-indexing process the search result may not contain all matches, so it is recommended to perform out of business hours. Step 10. Apache SVN Configuration (Optional)acl.svn and .htaccess files have been moved under the <CB install directory>/repository/access/ directory, check the configuration guide for more details Configuring Apache for Subversion. Step 11. Git Http-Backend Verification (Optional, for Windows-Based Installation)In System Admin > Application Configuration, verify and update the "http-backend" key in "git" section: "git" : { "http-backend" : "C:\\NEW_CB_\\libexec\\git\\mingw64\\libexec\\git-core\\git-http-backend.exe", |
Fast Links
codebeamer Overview codebeamer Knowledge Base Services by Intland Software |
This website stores cookies on your computer. These cookies are used to improve your browsing experience, constantly optimize the functionality and content of our website, furthermore helps us to understand your interests and provide more personalized services to you, both on this website and through other media. With your permission we and our partners may use precise geolocation data and identification through device scanning. You may click accept to consent to our and our partners’ processing as described above. Please be aware that some processing of your personal data may not require your consent, but you have a right to object to such processing. By using our website, you acknowledge this notice of our cookie practices. By accepting and continuing to browse this site, you agree to this use. For more information about the cookies we use, please visit our Privacy Policy.Your preferences will apply to this website only.