data-lineage
data-lineage copied to clipboard
tokern_worker container keep restarting with error: /docker-entrypoint.sh: 11: exec: rq: not found
Steps to reproduce:
- wget https://raw.githubusercontent.com/tokern/data-lineage/master/install-manifests/docker-compose/tokern-lineage-engine.yml
- configure to use an external Postgres database, change the following parameters in tokern-lineage-engine.yml: CATALOG_HOST CATALOG_USER CATALOG_PASSWORD CATALOG_DB
- docker-compose -f tokern-lineage-engine.yml up -d
- run: docker ps (to list the status)
- ru: docker logs -f tokern_worker (to get the logs)

@kevindany were you able to solve this?
I am on a Mac M1 and I am running into this same problem. It's also worth pointing out that the python docker that they are using as a base has 21 critical vulnerabilities.
Looking a bit more into this, I can confirm that for some reason rq and redis packages are not installed in the python environment for whatever reason.
Looking a bit more into this, I think that I have found the issue (though I haven't been able to successfully build my own docker container).
It seems that Poetry has changed the way in which it should be installed and https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py now returns a 404. It is very likely that nothing is getting installed via Poetry and I would be shocked if any of the containers appropriately work.
The new URL is https://install.python-poetry.org.
I created a fix for this at https://github.com/hendrix04/data-lineage/tree/poetry_fix. I have tested that all containers launch and don't go into a restart loop, but haven't tested that functionality actually works.