[Install via Docker Compose][CMD lake] Error creating devlake through Docker Compose
Search before asking
- [x] I had searched in the issues and found no similar issues.
What happened
Error creating devlake through Docker Compose: Unable to create database lake
What do you expect to happen
normal setup
How to reproduce
Creating a devlake on a virtual machine through Docker Compose
Anything else
No response
Version
v0.20.0-beta1
Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
Can you paste your command and comspose file when running devlake with docker compose?
hi @SxjAccount , could you paste the docker-compose.yml here?
docker-compose.yml
@SxjAccount strange, why error says lake unknown... could you try below?
docker-compose down
docker volume ls
docker volume rm the-mysql-volume
and then docker-compose up -d again?
The same problem will still arise
@SxjAccount strange, why error says lake unknown... could you try below?
docker-compose downdocker volume lsdocker volume rm the-mysql-volumeand then docker-compose up -d again?
@SxjAccount still unknown database lake?
@ZhangNing10 By observation, it is likely that devlake did not obtain the. env file, which caused a deployment error and resulted in the database not being created. It is unclear why the. env file cannot be obtained now
did you put the .env file in the same directory with the docker compose file? @SxjAccount
the db creation is done by mysql service itself, not created by devlake @SxjAccount
@ZhangNing10 Please review the initial image
@ZhangNing10 How was the creation of the database lake completed
the db creation is done by mysql service itself, not created by devlake
@SxjAccount you can enter the mysql pod and try to connect the db with merico:merico, and show database to have a look whether the db was created successfully
@ZhangNing10 Now the devlake has not been successfully started, and the database lake has not been created either
t you can enter the mysql pod and try to connect the db with merico:merico, and show database to have a look whether the db was created successfully
@SxjAccount i can't reproduce the issue by my side, db creation has no problem by my side, could you manually create the db lake and wait for devlake to start up?
@ZhangNing10 I followed the official installation steps yesterday and suddenly succeeded. The program is running normally. When I deleted the installed image and reinstalled it, I inexplicably encountered the same problem again. I was wondering if it was caused by my system being installed on a virtual machine. But it's not very clear where the problem came from