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') {
This article is part of our Knowledge Base and is provided for guidance-based purposes only. The solutions or workarounds described here are not officially supported by CloudBees and may not be applicable in all environments. Use at your own discretion, and test changes in a safe environment before applying them to production systems.