KBEC-00471 - Logs not loaded with jobs executed in Windows agents running CloudBees CD 10.0.X version

Article ID:360055225972
1 minute readKnowledge base

Issue

In CloudBees CD 10.0.X, when running jobs in some Windows agents, if we check the logs during the job execution we can see them properly, but after the job execution the log page appears empty in the application.

If we open the log file related to these jobs directly in the workspace, we can see that the file contents are there.

Environment

Resolution

This issue is fixed in the CloudBees CD 10.1 LTS release.

Workaround

As a workaround in CD v10.0.x installations, we can modify in all of the CloudBees CD Web Servers in the cluster, the file yourCDInstallationPath/apache/htdocs/commander/WorkspaceFileSection.php, line 568 from

if ($this->convertCharset != '') {

to

if ($this->convertCharset != '' && strtolower($this->convertCharset) != 'cp437') {