Hi team! I'd like to ask about edr report command....
# community-support
d
Hi team! I'd like to ask about edr report command. For some reason, when I run edr report on a Red Hat machine, it tries to update packages (I can see it in the terminal:
INFO — Running dbt --log-format json deps --project-dir...
). The server has network restrictions, so it cannot download anything = the report cannot be built. Even the flag
--update-dbt-package=False
doesn't help. I suspect that it might be related to the fact that I have built the dbt project with its packages on my local machine (Windows) and deployed it on a Red Hat machine. On the other hand, elementary tests seem to be working properly even without running dbt deps. Any idea why edr report tries to update packages?
r
It's a problem a lot of us have run into. Our solution was to switch to the elementary folder under packages and do the dbt deps call there, as part of the Docker build so that it wouldn't matter whether or not it could do it at runtime. Also had to do a bunch of chmods to give perms to write to those directories (heads up in case just adding the
Copy code
RUN cd dbt_packages/elementary
RUN dbt deps --profiles-dir ../.. --project-dir .
isn't enough... )
❤️ 1