I’m trying to debug a `meltano --log-level=debug i...
# troubleshooting
j
I’m trying to debug a
meltano --log-level=debug install
from inside a docker build process. I have successfully install version 3.1.0 prior to this step but the only relevant log that comes out of it is:
Copy code
[info     ] Logged pip install output to /opt/dagster/app/meltano/.meltano/logs/pip/extractors/tap-salesforce/pip.log
Extractor 'tap-salesforce' could not be installed: Failed to install plugin 'tap-salesforce'.
I can’t access that
pip.log
from inside a docker build process, so how do I debug?
v
I have this in https://github.com/meltano/meltano/issues/8170 tbh I've just gone back to an older version of meltano to debug the pip issue 😢
j
hmmm. that’s unfortunate, cuz I need a solution sooner than that’ll get fixed … 😢
v
Go back to an old version of meltano (2.18 works)
j
I can’t use an older version because I need the UI removal that happened in 3.0.0
v
You can hop into the docker container and run the instlal yourself (then cat the pip dir)
j
ah, good point, don’t know why I didn’t think of that facepalm
v
I completely understand
I have no idea why its so hard to remember that I forget all the time too
j
that makes me feel better lolsob
e
Do you guys think it'd be a good idea to document how to use volumes to save Meltano's logs to the host filesystem when running in docker?
j
It wouldn’t hurt, but in my case it wouldn’t have helped because this wasn’t running in a container per se. It was occurring during the docker build process.
m
Hi @josh_lloyd. I'm having this same issue. How did you resolve it?
j
I did just what visch suggested. I built the image all the way up until the step before installing and then I ran and exec’d into the container and ran the install from inside the container. Figured it out from there (though I don’t remember exactly what the issue was anymore).