Hello, I'm trying to run the quickstart and gettin...
# troubleshoot
d
Hello, I'm trying to run the quickstart and getting an error. Here are some system config details
Copy code
docker compose version
Docker Compose version v2.6.0

python --version
Python 3.9.9

docker --version
Docker version 20.10.17, build 100c701

 docker version
Client: Docker Engine - Community
 Version:           20.10.17
...
Server: Docker Engine - Community
 Engine:
  Version:          20.10.17

lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04 LTS
Release:	22.04
Codename:	jammy

datahub --version
acryl-datahub, version 0.8.41.2
c
I got this same error. I'll have to check my bash history, but I think I had to explicitly install compose as well.
d
Hey @cuddly-butcher-39945, thanks for the suggestion. I believe I did this, given that I have the docker compose version output above?
Just a follow up here, I do indeed already have the compose plugin installed
Copy code
sudo apt-get install docker-compose-plugin
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
docker-compose-plugin is already the newest version (2.6.0~ubuntu-jammy).
g
hey @delightful-jelly-56633 - I believe we’ve fixed the “UnboundLocalError” bug in the latest release (0.8.42). Could you try it again after upgrading datahub e.g.
pip install --upgrade acryl-datahub
?
d
Thanks Harshal! Well, that's a bit of progress, it's a different error now
Copy code
datahub docker quickstart
No Datahub Neo4j volume found, starting with elasticsearch as graph service.
To use neo4j as a graph backend, run
`datahub docker quickstart --quickstart-compose-file ./docker/quickstart/docker-compose.quickstart.yml`
from the root of the datahub repo

Fetching docker-compose file <https://raw.githubusercontent.com/datahub-project/datahub/master/docker/quickstart/docker-compose-without-neo4j.quickstart.yml> from GitHub
[2022-08-10 15:05:17,155] ERROR    {datahub.entrypoints:188} - Command failed with [Errno 2] No such file or directory: 'docker-compose'. Run with --debug to get full trace
[2022-08-10 15:05:17,156] INFO     {datahub.entrypoints:191} - DataHub CLI version: 0.8.42 at /home/ubuntu/.pyenv/versions/3.9.9/lib/python3.9/site-packages/datahub/__init__.py
[2022-08-10 15:05:17,192] ERROR    {asyncio:1738} - Task exception was never retrieved
future: <Task finished name='Task-2' coro=<retrieve_version_stats() done, defined at /home/ubuntu/.pyenv/versions/3.9.9/lib/python3.9/site-packages/datahub/upgrade/upgrade.py:159> exception=ValidationError(model='VersionStats', errors=[{'loc': ('version',), 'msg': 'none is not an allowed value', 'type': 'type_error.none.not_allowed'}])>
Traceback (most recent call last):
  File "/home/ubuntu/.pyenv/versions/3.9.9/lib/python3.9/site-packages/datahub/upgrade/upgrade.py", line 184, in retrieve_version_stats
    current=VersionStats(
  File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 1 validation error for VersionStats
version
  none is not an allowed value (type=type_error.none.not_allowed)
c
Hey Nick, I saw your note about getting a Docker Compose version, however it still looks like the error is related to compose. This is what I saw in the error log you posted: datahub docker quickstart No Datahub Neo4j volume found, starting with elasticsearch as graph service. To use neo4j as a graph backend, run
datahub docker quickstart --quickstart-compose-file ./docker/quickstart/docker-compose.quickstart.yml
from the root of the datahub repo Fetching docker-compose file https://raw.githubusercontent.com/datahub-project/datahub/master/docker/quickstart/docker-compose-without-neo4j.quickstart.yml from GitHub [2022-08-10 150517,155] ERROR {datahub.entrypoints:188} - Command failed with [Errno 2] No such file or directory: 'docker-compose'. Run with --debug to get full trace .. ... ... "/home/ubuntu/.pyenv/versions/3.9.9/lib/python3.9/site-packages/datahub/upgrade/upgrade.py", line 184, in retrieve_version_stats current=VersionStats( File "pydantic/main.py", line 341, in pydantic.main.BaseModel.init pydantic.error_wrappers.ValidationError: 1 validation error for VersionStats version none is not an allowed value (type=type_error.none.not_allowed)