Accio Project Initialization Fails on x86 MacOS Environment
I follow the quick-start page
but stuck on can't find a suitable configuration file in this directory or any parent: not found
I have successfully run accio hello ?
the following command accio cli keep failing.
can't find a suitable configuration file in this directory or any parent: not found
Error Command failed: docker compose --project-name accio exec engine bash launch-cli.sh
BTW i download the binary from accio.osx.intel.tar.gz
Hi @douenergy
After executed accio hello, did you find the generated MDL file and json file in your working path?
jax@jax-canner:~/workspace/accio-test $ ls
quick-start.json quick-start.mdl
Yeh, Both quick-start.json and quick-start.mdl are generated.
It's the full stdout log if you run accio hello successfully.
jax@jax-canner:~/workspace/accio-binary-test $ ls
accio accio.osx.intel.tar.gz
jax@jax-canner:~/workspace/accio-binary-test $ ./accio hello
β Initialized Accio
β Built quick-start.mdl
β Starting Demo Databaseff5d5895435a3e994a40847d2db8b76d4587976f3e459af0de10f01053b1c099
β Started Demo Database
Please set the following configs
config {
project: "example"
engine: "postgres"
schema: "public"
host: "accio-demo-db"
username: "accio"
password: "accio"
}
β Environment is ready
β Docker network is ready
β Serve files are generated
β The Accio Path to mount is set
β The Config Path to mount is set
β The Launch CLI Path to mount is set
[+] Running 4/4o Serve
β Network accio_default Created 0.1s
β Container accio-admin-ui-1 Started 0.7s
β Container accio-engine-1 Started 0.7s
! admin-ui The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64/v2) and no specific platform was requested 0.0s
β Accio Serve is started
2023-08-16 03:06:44.193 INFO CLI Admin UI is available at http://localhost:3000
Could you check if all of steps work fine?
β Environment is ready
β Docker network is ready
β Serve files are generated
β The Accio Path to mount is set
β The Config Path to mount is set
β The Launch CLI Path to mount is set
The error messages your provided mentions the configuration isn't found. Accio CLI will mount the config path to the accio container. I guess that there're some problems of mounting config path.
Thanks @goldmedal for the help !
But the accio cli is still not working.
Hi @douenergy
Could you provide the version of your docker-compose? Because accio cli executes docker-compose implicitly, we found docker-compose needs extra yml configuration in some version. I want to reproduce this issue in my laptop.
BTW, the version of docker-compose installed in my mac is v2.19.1. Maybe you can try this or other version in your laptop. Thanks. :)
When i switch to orbstack , everything works ! (I'll keep my Docker environment as it is now. π€)
It is very cool to query TPCH like this π
Thanks @goldmedal