touch: /app/docker-data/db_status: No such file or directory
Hello guys anyone could help me?
I'm getting this error in my worker...I'm using docker swarm!
3 Replies
Looks like an issue with the docker volume configuration.
The error message you're encountering indicates that the directory does not exist in your container, which is likely causing the issue when the worker tries to access or create the file.
For your setup, you should have this on your docker-compose.yml (+ the db volume or any other you use).
I'm not sure which docker-compose file you are using, but that's not the official one.
I suggest that you read the docs at https://twenty.com/developers/section/self-hosting/docker-compose
The official docker-compose.yml can be found here https://github.com/twentyhq/twenty/blob/main/packages/twenty-docker/docker-compose.yml
@Antonio Pinto hello! I do have it into my swarm stack

ok.... So I use 3 stacks so
3 containers
- server
- db
- worker
so to fix this i have declared the volumes in both stacks server and workers