JCA User
06/21/2023, 2:48 PM1.3.10
For some reason when I am running dagit
(and dagster-daemon
), the env variable DAGSTER_HOME
is not getting picked up. This is how I'm calling it:
$ DAGSTER_HOME=~/dagster/ dagit -h 0.0.0.0 -p 3000
Usage: dagit [OPTIONS]
Try 'dagit --help' for help.
Error: No arguments given and no [tool.dagster] block in pyproject.tonml found.
The above error seems to indicate that some arguments were missing (if i want to explicitly point to a workspace file, which i dont). My other suspicion is that the DAGSTER_HOME
variable is not being picked up
When I run the above command within the DAGSTER_HOME
path, it correctly picks up the workspace and dagster.yaml files in DAGSTER_HOME
but the logs seem to still indicate that it is not picking up DAGSTER_HOME
since I see the following:
dagit - INFO - To persist information across sessions, set the environment variable DAGSTER_HOME to a directory to use
Thoughts? I've tried a bunch of different combinations to get this working but nothing is working 😞 . Any help is appreciatedLilian GARCIA PAILLE
06/21/2023, 2:54 PMTim Castillo
06/21/2023, 3:03 PMJCA User
06/21/2023, 3:03 PMdagit
and dagster-daemon
instances to run multiple different code locations -- thus a .env
file doesnt work for my use caseTim Castillo
06/21/2023, 3:03 PMJCA User
06/21/2023, 3:05 PMJCA User
06/21/2023, 3:07 PMcd
into the dagster home directory it works fineTim Castillo
06/21/2023, 4:39 PMI'd like myDo you mean, for example, that you want 2 code locations (foo and bar) andanddagit
instances to run multiple different code locations -- thus adagster-daemon
file doesnt work for my use case.env
dagit
would be accessing foo
and the daemon is running bar
?