Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checker Not Starting, Stuck at Inactive #19

Closed
k3rn3ld3v opened this issue Sep 26, 2024 · 1 comment
Closed

Checker Not Starting, Stuck at Inactive #19

k3rn3ld3v opened this issue Sep 26, 2024 · 1 comment

Comments

@k3rn3ld3v
Copy link

Hi, first of all, thank you for building this project! I recently tried to set up and run your repository but encountered a problem related to the checker's worker container. When I built and started your repo using Docker, all checker's tasks remained in the "inactive" state.

I spent a significant amount of time and resources trying to understand why it wasn't running. Then, my brother and I watched this YouTube video and noticed the user starting the default/checker Minion workers using a script/CS tool. However, when we checked the docker-compose.yml file, we couldn’t find a worker configuration for the checker.

To resolve the issue, we added the following code to the docker-compose.yml file, and everything started working correctly:

cs-checker:
    <<: *cs-common
    depends_on:
      - init
    scale: 4
    command:
      - /bin/bash
      - -xc
      - >-
        while true; do
          perl script/cs check_db;
          if [[ $$? == 0 ]]; then break; fi;
          sleep 2;
        done && perl script/cs minion worker -q checker -j 64

This solved the issue, and the checker worker started successfully.

image
image

avkhozov added a commit that referenced this issue Sep 27, 2024
@avkhozov
Copy link
Member

Hi, thanks for your report! I have improved example of docker-compose.yml with a fix (a little more simple).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants