elliot
06/01/2022, 3:45 PMmeltano add.
1meltano invoke tap-postgres
22022-06-01T15:35:23.845030Z [info ] Environment 'dev' is active
3Catalog discovery failed: command ['/project/.meltano/extractors/tap-postgres/venv/bin/tap-postgres', '--config', '/project/.meltano/run/tap-postgres/tap.4f77b592-481e-4ef4-850c-a8e224d95e31.config.json', '--discover'] returned 1
4meltano invoke tap-postgres
52022-06-01T15:35:41.556768Z [info ] Environment 'dev' is active
6Catalog discovery failed: command ['/project/.meltano/extractors/tap-postgres/venv/bin/tap-postgres', '--config', '/project/.meltano/run/tap-postgres/tap.f65c6b61-11df-4637-8cf0-4239a9abce4a.config.json', '--discover'] returned 1
However, when using the meltano/meltano docker image with my current directory mounted works fine.
1 docker run -v $(pwd):/project -w /project meltano/meltano invoke tap-postgresalexander_butler
06/01/2022, 6:16 PM.env and whether or not that is in the image vs mountedelliot
06/06/2022, 8:57 AMdocker build --tag my-meltano .
docker run --env-file .env my-meltano invoke tap-postgres
This fails with catalog discovery failed.alexander_butler
06/06/2022, 3:16 PMdocker run --env-file .env --rm -it --entrypoint /bin/bash my-meltano and inspect your env vars with printenv + inspect the output of meltano config tap-postgreselliot
06/07/2022, 4:02 PM.env file I had to remove the quotes around my variables. Thanks for your help 🙂