Problemas con Docker en instalación de WebODM en Windows 10 (Failed to execute script docker-compose)

Soy Jośe Villa de México, saludos colegas:

Quisiera preguntarles sobre un problema con la instalación de WebODM en Windows 10 pro, seguí los pasos de la instalación en el orden indicado en “https://github.com/OpenDroneMap/WebODM”, es decir:
1.- instalé git
2.- instalé pyhton
3.- instalé docker para Windows
4.- Cloné el repositorio
4.- Le di la instrucción ./webodm.sh start y el resultado es el que pongo al final.

¿Podrian orientarme?

Cordialmente

Jośe Villa

Jose Luis@CARTOGRAFIA MINGW64 /c/WebODM (master)$ ./webodm.sh start
Checking for docker… OK
Checking for git… OK
Checking for docker-compose… OK
Starting WebODM…

Using the following environment:

Host: localhost
Port: 8000
Media directory: appmedia
SSL: NO
SSL key:
SSL certificate:
SSL insecure port redirect: 80
Celery Broker: redis://broker
Default Nodes: 1

Make sure to issue a ./webodm.sh down if you decide to change the environment.

docker-compose -f docker-compose.yml -f docker-compose.nodeodm.yml start || docker-compose -f docker-compose.yml -f docker-compose.nodeodm.yml up --scale node-odm=1
[13292] Failed to execute script docker-compose
Traceback (most recent call last):
File “site-packages\docker\api\client.py”, line 205, in _retrieve_server_version
File “site-packages\docker\api\daemon.py”, line 181, in version
File “site-packages\docker\utils\decorators.py”, line 46, in inner
File “site-packages\docker\api\client.py”, line 228, in _get
File “site-packages\requests\sessions.py”, line 543, in get
File “site-packages\requests\sessions.py”, line 530, in request
File “site-packages\requests\sessions.py”, line 643, in send
File “site-packages\requests\adapters.py”, line 449, in send
File “site-packages\urllib3\connectionpool.py”, line 677, in urlopen
File “site-packages\urllib3\connectionpool.py”, line 392, in _make_request
File “http\client.py”, line 1244, in request
File “http\client.py”, line 1290, in _send_request
File “http\client.py”, line 1239, in endheaders
File “http\client.py”, line 1026, in _send_output
File “http\client.py”, line 966, in send
File “site-packages\docker\transport\npipeconn.py”, line 32, in connect
File “site-packages\docker\transport\npipesocket.py”, line 23, in wrapped
File “site-packages\docker\transport\npipesocket.py”, line 72, in connect
File “site-packages\docker\transport\npipesocket.py”, line 59, in connect
pywintypes.error: (5, ‘CreateFile’, ‘Acceso denegado.’)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “docker-compose”, line 3, in
File “compose\cli\main.py”, line 67, in main
File “compose\cli\main.py”, line 123, in perform_command
File “compose\cli\command.py”, line 69, in project_from_options
File “compose\cli\command.py”, line 132, in get_project
File “compose\cli\docker_client.py”, line 43, in get_client
File “compose\cli\docker_client.py”, line 170, in docker_client
File “site-packages\docker\api\client.py”, line 188, in init
File “site-packages\docker\api\client.py”, line 213, in _retrieve_server_version
docker.errors.DockerException: Error while fetching server API version: (5, ‘CreateFile’, ‘Acceso denegado.’)
[13012] Failed to execute script docker-compose
Traceback (most recent call last):
File “site-packages\docker\api\client.py”, line 205, in _retrieve_server_version
File “site-packages\docker\api\daemon.py”, line 181, in version
File “site-packages\docker\utils\decorators.py”, line 46, in inner
File “site-packages\docker\api\client.py”, line 228, in _get
File “site-packages\requests\sessions.py”, line 543, in get
File “site-packages\requests\sessions.py”, line 530, in request
File “site-packages\requests\sessions.py”, line 643, in send
File “site-packages\requests\adapters.py”, line 449, in send
File “site-packages\urllib3\connectionpool.py”, line 677, in urlopen
File “site-packages\urllib3\connectionpool.py”, line 392, in _make_request
File “http\client.py”, line 1244, in request
File “http\client.py”, line 1290, in _send_request
File “http\client.py”, line 1239, in endheaders
File “http\client.py”, line 1026, in _send_output
File “http\client.py”, line 966, in send
File “site-packages\docker\transport\npipeconn.py”, line 32, in connect
File “site-packages\docker\transport\npipesocket.py”, line 23, in wrapped
File “site-packages\docker\transport\npipesocket.py”, line 72, in connect
File “site-packages\docker\transport\npipesocket.py”, line 59, in connect
pywintypes.error: (5, ‘CreateFile’, ‘Acceso denegado.’)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “docker-compose”, line 3, in
File “compose\cli\main.py”, line 67, in main
File “compose\cli\main.py”, line 123, in perform_command
File “compose\cli\command.py”, line 69, in project_from_options
File “compose\cli\command.py”, line 132, in get_project
File “compose\cli\docker_client.py”, line 43, in get_client
File “compose\cli\docker_client.py”, line 170, in docker_client
File “site-packages\docker\api\client.py”, line 188, in init
File “site-packages\docker\api\client.py”, line 213, in _retrieve_server_version
docker.errors.DockerException: Error while fetching server API version: (5, ‘CreateFile’, ‘Acceso denegado.’)

1 Like

Que versión de windows tienes? tienes alguna posterior a windows versión 2004?

Si es así, entonces ya realizaste estos pasos:

WebODM en la nueva actualización de windows versión 2004

Asegúrense que su sistema operativo este funcionando en AHCI, desde el bios.
tener instalado
Python
en mi caso descargue la mas reciente

Instalar Git, yo uso la version de x64

y la novedad descargar docker desktop

https://hub.docker.com/…/comm…/docker-ce-desktop-windows

este cambia, ya no requiere de la maquina virtual, esta nativo en windows, y aprovecha que puedes correr linux en windows.

Cuando lo terminen de instalar les pide actulizar el WSL 2 Linux kernel

https://docs.microsoft.com/en-us/windows/wsl/wsl2-kernel

Después segaría los paso:
4.- Cloné el repositorio
4.- Le di la instrucción ./webodm.sh start y el resultado es el que pongo al final.

recuerda el docker tiene que estar corriendo

la primera vez que inicias, tarda un rato por que descarga mas instancias, tienes que esperar conectado a internet tarda de media hora a una, dependiendo de tu velocidad de descarga

Esperas hasta que salga el mensaje de

Congratulations! ?@(???)@?

y ahora si puedes usar el web ODM

1 Like

solucionado, desinstale todo lo que había instalado en mi sesión sin permisos de administrador e instale todo de nuevo con la sesión de administrador y se corrigió el error creo que era que el docker no se inicializaba o no tenia permisos por lo cual mandaba el error

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.