-
-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
config.yaml - problem with reading variable (v.1.16.3) #861
Comments
Hey @kamandir, thank you so much for reporting the issue. Sorry for the inconvenience, I'll try to fix this asap! |
@kamandir I'm trying to reproduce the issue in Here's what I did: # config.yaml
logDir: ${TMP_LOG_DIR}/stdout Then I ran this command: TMP_LOG_DIR=/tmp/foo go run ./cmd start /Users/hamadayouta/dev/dagu/basic.yaml |
@yottahmd it is nothing special:
and the variable is set on the Linux (OS) level and it was working before the update to 16:
maybe it is some 'magic' combination of my environment settings and this DAGu version... anyway, thanks for looking into it! Here are some fresh lines from the logs after i changed the config back to a variable and tried to start DAG from WEB interface:
|
@kamandir Thanks for sharing those extra details! That really helps. I just spotted an issue; if you specify |
@kamandir Fixed in v1.16.4! Could you take a look when you have a moment? Thanks a lot! |
Hello!
after the update from 15.1 to 16.3 all DAGs fail to start.
The error message is like the following:
time=2025-02-24T16:25:23.800+01:00 level=ERROR msg="failed to initialize log file" DAG=my_job_01 err="failed to setup log directory: failed to initialize directory ${-logs/my_job_01: mkdir ${DAGU_HOME}/stdout-logs: permission denied"
Error: failed to initialize log file for DAG my_job_01: failed to setup log directory: failed to initialize directory ${DAGU_HOME}/stdout-logs/my_job_01: mkdir ${DAGU_HOME}/stdout-logs: permission denied
workarouded it by changing the line in the config.yaml:
from: logDir: ${DAGU_HOME}/stdout-logs
to: logDir: /some/folder/DAGU_HOME/stdout-logs
please help to get this fixed.
PS: folders are there, perm-s are fine, old version works fine
thanks and appreciation for creating a great scheduler!
The text was updated successfully, but these errors were encountered: