The steps I took were: first compose AYON with just docker compose up -d
and make.sh
after that, I started to run into issues when taking the following steps:
hannah@sandbox-pipeline-1:~/ayon-docker$ sudo docker compose -f docker-compose.yml -f docker-compose.worker.yml up -d
WARN[0000] /home/hannah/ayon-docker/docker-compose.yml: `version` is obsolete
WARN[0000] /home/hannah/ayon-docker/docker-compose.worker.yml: `version` is obsolete
[+] Running 4/4
ā Container ayon-docker-redis-1 Running 0.0s
ā Container ayon-docker-postgres-1 Healthy 0.6s
ā Container ayon-docker-server-1 Healthy 1.1s
ā Container ayon-docker-worker-1 Started 1.4s
hannah@sandbox-pipeline-1:~/ayon-docker$ sudo docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
fd8b047d6e37 ynput/ayon-ash:latest "python -m ash" 59 seconds ago Restarting (1) 25 seconds ago ayon-docker-worker-1
f734a0dfe384 ynput/ayon:latest "/bin/bash /backend/ā¦" 15 minutes ago Up 11 minutes gifted_poincare
770b5b028ecc ynput/ayon:latest "/bin/bash /backend/ā¦" 22 minutes ago Up 11 minutes (healthy) 0.0.0.0:5000->5000/tcp, :::5000->5000/tcp ayon-docker-server-1
f64b42cfc5a5 postgres:15 "docker-entrypoint.sā¦" 22 minutes ago Up 11 minutes (healthy) 5432/tcp ayon-docker-postgres-1
3ec03f9f4a1d redis:alpine "docker-entrypoint.sā¦" 22 minutes ago Up 11 minutes (healthy) 6379/tcp ayon-docker-redis-1
hannah@sandbox-pipeline-1:~/ayon-docker$ sudo docker logs --tail 50 --follow --timestamps fd8
2024-07-06T16:54:53.859948291Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-07-06T16:54:53.859950606Z File "/usr/local/lib/python3.11/site-packages/docker/api/daemon.py", line 181, in version
2024-07-06T16:54:53.859953107Z return self._result(self._get(url), json=True)
2024-07-06T16:54:53.860604468Z ^^^^^^^^^^^^^^
2024-07-06T16:54:53.860705029Z File "/usr/local/lib/python3.11/site-packages/docker/utils/decorators.py", line 46, in inner
2024-07-06T16:54:53.860968048Z return f(self, *args, **kwargs)
2024-07-06T16:54:53.861874254Z ^^^^^^^^^^^^^^^^^^^^^^^^
2024-07-06T16:54:53.861886464Z File "/usr/local/lib/python3.11/site-packages/docker/api/client.py", line 237, in _get
2024-07-06T16:54:53.861890128Z return self.get(url, **self._set_request_timeout(kwargs))
2024-07-06T16:54:53.861892759Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-07-06T16:54:53.861895286Z File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 602, in get
2024-07-06T16:54:53.862080330Z return self.request("GET", url, **kwargs)
2024-07-06T16:54:53.862790173Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-07-06T16:54:53.862909918Z File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 589, in request
2024-07-06T16:54:53.863251898Z resp = self.send(prep, **send_kwargs)
2024-07-06T16:54:53.863877291Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-07-06T16:54:53.863888921Z File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 703, in send
2024-07-06T16:54:53.863892346Z r = adapter.send(request, **kwargs)
2024-07-06T16:54:53.865887492Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-07-06T16:54:53.865900344Z File "/usr/local/lib/python3.11/site-packages/requests/adapters.py", line 637, in send
2024-07-06T16:54:53.865903646Z raise InvalidURL(e, request=request)
2024-07-06T16:54:53.865906388Z requests.exceptions.InvalidURL: Not supported URL scheme http+docker
2024-07-06T16:54:53.865908966Z
2024-07-06T16:54:53.865911320Z During handling of the above exception, another exception occurred:
2024-07-06T16:54:53.865913976Z
2024-07-06T16:54:53.865939807Z Traceback (most recent call last):
2024-07-06T16:54:53.865942800Z File "<frozen runpy>", line 198, in _run_module_as_main
2024-07-06T16:54:53.865945915Z File "<frozen runpy>", line 88, in _run_code
2024-07-06T16:54:53.865948399Z File "/ash/ash/__main__.py", line 5, in <module>
2024-07-06T16:54:53.865951156Z from .api import api
2024-07-06T16:54:53.865953416Z File "/ash/ash/api.py", line 7, in <module>
2024-07-06T16:54:53.865955892Z from .config import config
2024-07-06T16:54:53.865958325Z File "/ash/ash/config.py", line 81, in <module>
2024-07-06T16:54:53.865960768Z config = get_config()
2024-07-06T16:54:53.865963242Z ^^^^^^^^^^^^
2024-07-06T16:54:53.865965533Z File "/ash/ash/config.py", line 71, in get_config
2024-07-06T16:54:53.865968049Z local_info = get_local_info()
2024-07-06T16:54:53.865970572Z ^^^^^^^^^^^^^^^^
2024-07-06T16:54:53.865972955Z File "/ash/ash/config.py", line 34, in get_local_info
2024-07-06T16:54:53.865981680Z client = docker.DockerClient(base_url="unix://var/run/docker.sock")
2024-07-06T16:54:53.865984481Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-07-06T16:54:53.865987112Z File "/usr/local/lib/python3.11/site-packages/docker/client.py", line 45, in __init__
2024-07-06T16:54:53.865989968Z self.api = APIClient(*args, **kwargs)
2024-07-06T16:54:53.865992480Z ^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-07-06T16:54:53.865995043Z File "/usr/local/lib/python3.11/site-packages/docker/api/client.py", line 197, in __init__
2024-07-06T16:54:53.865997779Z self._version = self._retrieve_server_version()
2024-07-06T16:54:53.866000252Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-07-06T16:54:53.866002594Z File "/usr/local/lib/python3.11/site-packages/docker/api/client.py", line 221, in _retrieve_server_version
2024-07-06T16:54:53.866327584Z raise DockerException(
2024-07-06T16:54:53.866628680Z docker.errors.DockerException: Error while fetching server API version: Not supported URL scheme http+docker
what would the following steps be to solve this issue?