You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Docker volumes not working, after restart get: "failed to build resolver: passthrough: received empty target in Build()" while trying to insert a job
#1497
Open
gfolcarelli opened this issue
Mar 12, 2024
· 2 comments
Describe the bug
I can't insert a new job via Postman after recreating a docker container built up with docker-compose and volumes.
I get error "failed to build resolver: passthrough: received empty target in Build()"
I'm in linux environment, in windows environment I get:
"context deadline exceeded"
If I comment the volumes part in the docker compose it works correctly (but obviously doesn't store the jobs after container restart).
It goes well and the api job is uploaded.
After do cmd: docker compose down && docker compose up -d
There is no job inside the stored jobs (strange).
Then I try to insert it again and get the errors:
"failed to build resolver: passthrough: received empty target in Build()" in linux
"context deadline exceeded" in windows
Expected behavior
I expected to find the jobs still inside the already created jobs, and anyway no errors trying to insert them again.
The text was updated successfully, but these errors were encountered:
I have meet the same problem with you. I find the error log occur because not find the node id. So I decide to set the fix node name, then I resolve my problem.
you can see this: https://dkron.io/docs/cli/dkron_agent/
Add the param --node-name to fix your node name
Describe the bug
I can't insert a new job via Postman after recreating a docker container built up with docker-compose and volumes.
I get error "failed to build resolver: passthrough: received empty target in Build()"
I'm in linux environment, in windows environment I get:
"context deadline exceeded"
If I comment the volumes part in the docker compose it works correctly (but obviously doesn't store the jobs after container restart).
To Reproduce
This is docker-compose.yml
cmd: docker compose up -d
run via postman this api:
POST http://localhost:8080/v1/jobs
Body:
It goes well and the api job is uploaded.
After do cmd: docker compose down && docker compose up -d
There is no job inside the stored jobs (strange).
Then I try to insert it again and get the errors:
"failed to build resolver: passthrough: received empty target in Build()" in linux
"context deadline exceeded" in windows
Expected behavior
I expected to find the jobs still inside the already created jobs, and anyway no errors trying to insert them again.
The text was updated successfully, but these errors were encountered: