IBM-Cloud / ibm-cloud-developer-tools

Installation scripts for new IBM Cloud Developer CLI Plugin and it's dependencies.
Apache License 2.0
131 stars 146 forks source link

Configuration error: mkdir U:\.bluemix: Acceso denegado. #117

Open jofranvq opened 5 years ago

jofranvq commented 5 years ago

Summary Ya he usado ambos pasos, la instalación simple y la manual. En ambos he podido avanzar. Actualmente, ya descargó el archivo bx.exe, pero me está saliendo el error de acceso denegado. Quisiera saber si a alguno le ha salido el mismo error. Gracias.

Steps to reproduce PS U:> Set-ExecutionPolicy Unrestricted; iex(New-Object Net.WebClient).DownloadString('http://ibm.biz/idt-win-installer ')

Cambio de directiva de ejecución La directiva de ejecución le ayuda a protegerse de scripts en los que no confía. Si cambia dicha directiva, podría exponerse a los riesgos de seguridad descritos en el tema de la Ayuda about_Execution_Policies en http://go.microsoft.com/fwlink/?LinkID=135170. ¿Desea cambiar la directiva de ejecución? [S] Sí [O] Sí a todo [N] No [T] No a todo [U] Suspender [?] Ayuda (el valor predeterminado es "N"): S [main] --==[ IBM Cloud Developer Tools - Installer for Windows, v1.2.2 ]==-- [install] Starting Installation/Update... FAILED Configuration error: mkdir U:.bluemix: Acceso denegado.

[install_deps] Checking for external dependency: git [install_deps] Checking for external dependency: docker [install_deps] Checking for external dependency: kubectl [install_deps] Checking for external dependency: helm ibmcloud already installed FAILED Configuration error: mkdir U:.bluemix: Acceso denegado.

[install_bx] IBM Cloud CLI version: FAILED Configuration error: mkdir U:.bluemix: Acceso denegado.

[install_plugins] Installing/updating IBM Cloud CLI plugins used by IDT... FAILED Configuration error: mkdir U:.bluemix: Acceso denegado.

[install_plugins] Checking status of plugin: Cloud-Functions [install_plugins] Installing plugin 'Cloud-Functions' FAILED Configuration error: mkdir U:.bluemix: Acceso denegado.

[install_plugins] Checking status of plugin: container-registry [install_plugins] Installing plugin 'container-registry' FAILED Configuration error: mkdir U:.bluemix: Acceso denegado.

[install_plugins] Checking status of plugin: container-service [install_plugins] Installing plugin 'container-service' FAILED Configuration error: mkdir U:.bluemix: Acceso denegado.

[install_plugins] Checking status of plugin: dev [install_plugins] Installing plugin 'dev' FAILED Configuration error: mkdir U:.bluemix: Acceso denegado.

[install_plugins] Checking status of plugin: sdk-gen [install_plugins] Installing plugin 'sdk-gen' FAILED Configuration error: mkdir U:.bluemix: Acceso denegado.

[install_plugins] Running 'ibmcloud plugin list'... FAILED Configuration error: mkdir U:.bluemix: Acceso denegado.

[install_plugins] Finished installing/updating plugins Creating 'idt' script to act as shortcut to 'ibmcloud dev' command... [install] Install finished. [quit] --==[ Finished. Total time: 00:00:02 seconds ]==--

Press any key to continue... PS C:\Users\jvegaq> ibmcloud dev update --force FAILED Configuration error: mkdir U:.bluemix: Acceso denegado.

schmidtp0740 commented 5 years ago

¿Abriste PowerShell como administrador? haga clic derecho en el icono de PowerShell y elija abrir como administrador. También recomiendo usar este comando para descargar el script y ejecutarlo.

[Net.ServicePointManager]::SecurityProtocol = "Tls12, Tls11, Tls, Ssl3"; iex(New-Object Net.WebClient).DownloadString('https://ibm.biz/idt-win-installer')
jofranvq commented 5 years ago

si, lo abrí como administrador. He ejecutado lo que me haz mandado, y me sale el mismo error.

ibmcloud already installed FAILED Configuration error: mkdir U:.bluemix: Acceso denegado.

[install_bx] IBM Cloud CLI version: FAILED Configuration error: mkdir U:.bluemix: Acceso denegado.

[install_plugins] Installing/updating IBM Cloud CLI plugins used by IDT... FAILED Configuration error: mkdir U:.bluemix: Acceso denegado.

[install_plugins] Checking status of plugin: Cloud-Functions [install_plugins] Installing plugin 'Cloud-Functions' FAILED Configuration error: mkdir U:.bluemix: Acceso denegado.

[install_plugins] Checking status of plugin: container-registry [install_plugins] Installing plugin 'container-registry' FAILED Configuration error: mkdir U:.bluemix: Acceso denegado.

[install_plugins] Checking status of plugin: container-service [install_plugins] Installing plugin 'container-service' FAILED Configuration error: mkdir U:.bluemix: Acceso denegado.

[install_plugins] Checking status of plugin: dev [install_plugins] Installing plugin 'dev' FAILED Configuration error: mkdir U:.bluemix: Acceso denegado.

[install_plugins] Checking status of plugin: sdk-gen [install_plugins] Installing plugin 'sdk-gen' FAILED Configuration error: mkdir U:.bluemix: Acceso denegado.

[install_plugins] Running 'ibmcloud plugin list'... FAILED Configuration error: mkdir U:.bluemix: Acceso denegado.

[install_plugins] Finished installing/updating plugins Creating 'idt' script to act as shortcut to 'ibmcloud dev' command... [install] Install finished. [quit] --==[ Finished. Total time: 00:00:02 seconds ]==--

schmidtp0740 commented 5 years ago

¿Eres capaz de ejecutar ibmcloud --version?

Si es así, ¿puedes ejecutar ibmcloud plugin update?

jofranvq commented 5 years ago

No, me sale: PS U:> ibmcloud --version FAILED Configuration error: mkdir U:.bluemix: Acceso denegado.

schmidtp0740 commented 5 years ago

¿Cuál es el camino para ibmcloud?

get-command ibmcloud

es como

C:\"Program Files"\IBM\Cloud\bin\bx.exe
steveclay commented 4 years ago

I cannot answer in Spanish, but generally this is due to the setting of the IBMCLOUD_HOME folder. It is set to a drive that was accessible when IBM Cloud CLI was installed (U:), but is not available anymore. You can set IBMCLOUD_HOME to a location on your local hard drive to solve this.