Troubleshooting
Problem
During an upgrade of API Connect in 10.0.5.2 when executing apicops version:pre-upgrade it gives an error, here is the excerpt from the output :
The backup protocol for the current environment is sftp
So Ensuring that APIC can communicate with SFTP server with the configuration
*** Entering the sftp connection validation ***
Communication checks between sftp and pgbackrest ran successfully
To make sure the mgmt-site1-postgres-backrest-shared-repo-<pod_name> have permission in sftp server, transferring and deleting a file
ERROR : Did not establish sftp check on mgmt-site1-postgres-backrest-shared-repo-<pod_name>
Error: Error: Unable to use a TTY - input is not a terminal or the right kind of file
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (78) Could not open remote file for reading: SFTP server: No such file
command terminated with exit code 78
at CustomSpawnCommand.exitHandler (/snapshot/jenkins/go/src/github.ibm.com/velox/apicops/src/lib/spawn/spawn_helper.js:150:29)
at ChildProcess.emit (node:events:526:28)
at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
Cause
This is a defect that was introduced in apicops version 61.
Resolving The Problem
You can ignore this if your backups are working fine. You should not be blocked by this. This will be fixed in a future release of apicops.
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSMNED","label":"IBM API Connect"},"ARM Category":[{"code":"a8m50000000CeCAAA0","label":"API Connect-\u003EManagement and Monitoring (MM)-\u003EUpgrade\/Downgrade"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.0.5"}]
Was this topic helpful?
Document Information
Modified date:
05 September 2023
UID
ibm17030647