Skip to content

[BUG] Worker process exits without doing anything #806

@darius-m

Description

@darius-m

Describe the bug
The celery process for the worker exits after a few seconds without doing anything (it seems to run similar actions to the app, up to the point when it shows IRIS IS READY on port ..., and then displays an additional warning from celery since it does not like running as root before exiting). Afterwards, the container simply runs the while true; sleep 2; done loop.

To Reproduce
Steps to reproduce the behavior:

  1. Create a .env file (checked out on v.2.4.20), update the passwords as mentioned in the guide (i.e., POSTGRES_PASSWORD, etc., although unlikely to cause any differences), and remove the image tag variables to download the correct image versions (v2.4.20, instead of latest);
  2. Start the containers in Docker;
  3. Wait a minute for the containers to start;
  4. Inspect the worker container's processes using docker compose exec worker ps -ef;
  5. Observe that the only running processes are bash (running the entrypoint script) and sleep 2, but celery is missing.

Expected behavior
The worker process should continue running (presumably)?

Server:

  • OS: AlmaLinux 9.5 with the latest package updates installed

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions