Hi everyone,
I’m having an issue trying to seed a new d2 cluster with my own sql file. The example code is:
d2 cluster up pivottest \
--dhis2-version 2.40.3 \
--seedFile <path-to-sql>
It is returning the following error message:
/bin/sh: 1: ./scripts/seed.sh: not found
[DEBUG ERROR] ./scripts/seed.sh exited with non-zero exit code (127).
This has worked fine in the past with this exact file, so I suspect it is maybe due to a mismatch of yarn/npm/docker versions on my machine, but I haven’t been able to pinpoint the problem.
I am able to seed from the demo.
Any thoughts on the issue or a workaround? I have been thinking about just using docker compose directly to get around the d2
issue.
System specs:
OS: Ubuntu 22.04.5 LTS x86_64
❯ docker --version
Docker version 27.5.1, build 9f9e405
❯ yarn -v
4.6.0
❯ d2 -v
5.0.1