Hello, I’ve got a general question about `add` and...
# troubleshooting
j
Hello, I’ve got a general question about
add
and
install
commands. Specifically, the difference between scenario: • Run
meltano add x y
, which adds
x y
into meltano.yml file and then installs it • Add
x y
into meltano.yml file manully and then running
meltano install
The second option sometimes works, sometimes it refuses to find that
x
plugin. I haven’t had time to properly test this out so I’m asking the community. What is the difference in background tasks? And what task is missing in second approach?
r
Running
meltano install
will install everything in your project, as opposed to the single plugin install that occurs when running
meltano add
. You can install a single plugin using
meltano install <type> <name>
. If you're adding plugins into
meltano.yml
by hand (manually), there's also the possibility that the definitions are just incorrect. Given that your project contains just one plugin, in theory both approaches are the same, since add by default installs plugins after adding them to your project. As of version
2.5.0
, you can use
--no-install
with
meltano
add
to skip the install step, which might be worth trying with your second scenario.
j
Hm, thanks for the reply, however still doesn’t explain the error I got when: • I manually added superset into meltano.yml • Build docker image which included
meltano install
and installed superset successfully • Once in the container, meltano was telling me that it can’t find plugin superset. If the definitions were incorrect, wouldn’t it fail to install?
I just experienced the issue again with superset when trying out https://github.com/meltano/files-superset After files were added as custom, I added the utility plugin and tried to run command. Do you have an idea what I am missing in the setup?
r
Can you show your
meltano.yml
, as well as the command log when you run
Copy code
meltano invoke superset:load_datasources
with
--log-level debug
?