Upgrade Teamscale
Teamscale can basically be upgraded like any other Dogu via the cesapp
or the Blueprint upgrade.
However, there is a peculiarity with major and minor upgrade of Teamscale.
The database cannot be migrated together with the dogu. In this case, an upgrade will result in a project export. Afterwards all data is deleted, the previously created backup is imported and the projects are scanned again. This is an unavoidable behavior, so wanted by Teamscale. Except for the old results of the scanner no data is lost. The project export is only possible with a valid Teamscale license, therefore without a valid license, the Teamscale dogu cannot be updated.
The project export is only necessary for minor or major version upgrades and will only be executed accordingly
performed.
If, for example, Teamscale version '7.7.0-1' is upgraded to Teamscale version '7.7.1-1' or to Teamscale version '7.7.0-2', the project export is only performed if the license is valid.
the project export does not take place.
However, when upgrading from version 7.7.0-1
to version 7.8.0-1
or to version 8.0.0-1
, the above mentioned project export/import does not take place.
project export or import mentioned above.
Troubleshooting after upgrade
Analysis error after upgrade
In rare cases, one or more projects may not be able to be analyzed after a Dogu upgrade.
cannot be analyzed. The dashboards will then display 'Error'. If this error should occur, it can only be fixed by
can only be fixed by deleting the repositories in the file system. For this purpose an Exposed-Command
has been added to the Dogu.
which removes the repositories from the file system. To execute this, the command
cesapp command teamscale remove-repositories
must be executed. Afterwards, so that all projects are analyzed again
the command cesapp command teamscale reanalyze-projects
must be executed.
Caution: Depending on the size of the instance, reanalyzing can take several hours. However, the reanalyze
is inevitable after every upgrade of the Dogus anyway.