Skip to content

Latest commit

 

History

History
100 lines (71 loc) · 3.68 KB

ts_createapps.md

File metadata and controls

100 lines (71 loc) · 3.68 KB
copyright lastupdated keywords subcollection content-type
years
2015, 2023
2023-04-28
cli, troubleshoot cli, debug app cli, developer tools debug, ibmcloud cli debug, ibmcloud help, ibmcloud dev help, cli debug, command line, command-line, developer tools troubleshoot
cli
troubleshoot

{{site.data.keyword.attribute-definition-list}}

Troubleshooting for the {{site.data.keyword.cloud_notm}} CLI

{: #troubleshoot}

See solutions to common problems with using the {{site.data.keyword.cloud}} Command Line Interface. In many cases, you can recover from these problems by following a few easy steps. {: shortdesc}

Why do I get a failure when updating the CLI, updating a plug-in, or installing a plug-in?

{: #ts-cli-version-1-failure} {: troubleshoot} {: support}

If you are attempting to update the {{site.data.keyword.cloud_notm}} CLI, or update or install a plug-in with a CLI version lower than 2.0.0, you see an error similar to the following message. {: tsSymptoms}

An error occurred when fetching latest CLI info:
invalid character '<' looking for beginning of value

{: screen}

This error is caused by the older CLI version attempting to reach the deprecated CLI repo infrastructure. {: tsCauses}

Download and install or replace the older CLI with the latest CLI version by using these instructions. {: tsResolve}

Why do I get a failure with the plugin update or install command after it has downloaded the binary?

{: #ts-cli-plugin-update-failure} {: troubleshoot} {: support}

If you are attempting to update or install a plug-in and the default downloads folder for your system lacks access rights, you see an error similar to the following message. {: tsSymptoms}

FAILED
Unable to obtain plug-in's metadata. Error: fork/exec/tmp/... : permission denied

{: screen}

This error is caused by the download folder not having exec privileges. {: tsCauses}

There are 2 resolutions. First, the download folder can be modified to have the exec privilege. Secondly, instead use the plugin download command to download and install to an alternate directory. Then use the plugin install command to install using the downloaded binary file. {: tsResolve}

Why do I get a service broker error when I add the {{site.data.keyword.objectstorageshort}} capability?

{: #ts-cli-object-storage} {: troubleshoot}

The following error might be displayed if you use the CLI to create two apps with the {{site.data.keyword.objectstorageshort}} capability:

FAILED
Service broker error: {"description"=>"You can not create this Object Storage instance. Each organization using the Object Storage service is limited to one instance of the Free plan."}

{: screen} {: tsSymptoms}

This error is due to the {{site.data.keyword.objectstorageshort}} service, which provides only one instance of the free {{site.data.keyword.objectstorageshort}} plan. {: tsCauses}

Select a different plan. {: tsResolve}

Why does the ibmcloud catalog search command fail?

{: #ts-cli-catalog-search-error} {: troubleshoot}

Running the ibmcloud catalog search command displays the following error:

FAILED
'search' is not a registered command. See 'C:\Program Files\IBM\Cloud\bin\ibmcloud.exe catalog help'.

{: screen} {: tsSymptoms}

The ibmcloud catalog search command was moved to a separate plug-in in v1.0.0. {: tsCauses}

To use this command, you must install the catalogs-management plug-in. For more information, see Catalogs management CLI plug-in. {: tsResolve}