I am upgrading 11.3 32-bit agent using silent upgrade method and failed. I turned on debugging and I'm getting these errors:
$ sudo /tmp/setup.bin -i silent -DACCEPT_EULA=ACCEPT -DAGENT_UPGRADE_PATH=/opt/ESP -DUSE_BUNDLED_JVM=true -DUPGRADE_BACKUP_LOCATION=/tmp/ESPbackupNo of blocks of size 8192 to extract for custom unix file : 1Extracting locale bundle from /tmp/setup.bin to /home/u277714/ESP/custom_padded ...Extracting done, exit code = 1Extracting locale bundle from /home/u277714/ESP/custom_padded to /home/u277714/ESP/custom ...Extracting done, exit code = 1Checking for POSIX df.Found POSIX df.Checking tail options...Using tail -n 1.True location of the self extractor: /tmp/setup.binCreating installer data directory: /tmp/install.dir.85020Creating installer data directory: /tmp/install.dir.85020/InstallerDataGathering free-space information...Space needed to complete the self-extraction: 817008 blocksAvailable space: 6197792 blocksAvailable blocks: 6197792 Needed blocks: 817008 (block = 512 bytes)Computed number of blocks to extract: 1471Extracting JRE from /tmp/setup.bin to /tmp/install.dir.85020/Linux/resource/jre_padded ...Extracting done, exit code = 0Extracting JRE from /tmp/install.dir.85020/Linux/resource/jre_padded to /tmp/install.dir.85020/Linux/resource/vm.tar.Z ...Extracting done, exit code = 0Unpacking the JRE...gzip is /bin/gzipgzip: /tmp/install.dir.85020/Linux/resource/vm.tar.Z: not in gzip formatGZIP failed, attempting UNCOMPRESS./tmp/install.dir.85020/Linux/resource/vm.tar.Z: not in compressed formatUNCOMPRESS failed.gzip: /tmp/install.dir.85020/Linux/resource/vm.tar.Z: not in gzip formatGZIP failed.+ echo 1515
Release : 12.0
Component : CA Workload Automation System Agent
The agent 12.0 silent upgrade may fail when upgrading a 32-bit agent to a 64-bit agent with warning messages.
The agent silent upgrade requires the property AGENT_UPGRADE_FORCE set to true in the silent installer properties file. For example;
INSTALLER_UI=SILENT
ACCEPT_EULA=ACCEPT
AGENT_UPGRADE_PATH=/opt/ESP
USE_BUNDLED_JVM=true
AGENT_UPGRADE_FORCE=true
UPGRADE_BACKUP_LOCATION=/tmp/ESPbackup
#UPGRADE_ACTIVEJOB_CHECK=true
Or, you can set the property AGENT_UPGRADE_FORCE to true from the command prompt;
$ sudo ./setup.bin -i silent -DACCEPT_EULA=ACCEPT -DAGENT_UPGRADE_PATH=/opt/ESP -DUSE_BUNDLED_JVM=true -DAGENT_UPGRADE_FORCE=true -DUPGRADE_BACKUP_LOCATION=/tmp/ESPbackup