bull-board-docker icon indicating copy to clipboard operation
bull-board-docker copied to clipboard

Queues detected but jobs not listed

Open MeStrak opened this issue 3 years ago • 5 comments

Hi, I'm trying to run bull-board from the docker image but have a problem that no jobs are shown, even though the queues are detected.

I originally created this issue in the bull-board repo (https://github.com/felixmosh/bull-board/issues/249) but they analysed it and don't think it is related directly to bull-board.

I have started up the container, and my bull queues are detected:

image

However, no jobs ever show in the UI. Running .backgroundDataQueue.getJobCounts() gives the following:

{
  waiting: 1,
  active: 0,
  completed: 25,
  failed: 0,
  delayed: 5,
  paused: 0
}

But all job categories in the UI are empty. For example: image

image

Is there some additional config that I need to do to detect the jobs? Or should it work automatically if the queues are detected?

Thanks!

MeStrak avatar Apr 11 '21 20:04 MeStrak

@MeStrak hi, did you try to run bull-board directly (without this docker image)? Do you use bull or bullmq? Can you share settings (env vars) witch you use to run container?

Deadly0 avatar Apr 15 '21 13:04 Deadly0

I have the same issues, here is my part of docker-compose:

bull-ui:
    image: deadly0/bull-board:3.2.6
    container_name: queue-qui
    depends_on:
      - redis
    restart: unless-stopped
    ports:
      - 8082:3000
    environment:
      REDIS_HOST: 'q-redis'
      REDIS_PORT: 6379
      REDIS_USE_TLS: 'false'
      BULL_PREFIX: 'queue'
      BULL_VERSION: 'bull'

SloCompTech avatar Jul 16 '22 10:07 SloCompTech

I am having the same issue. Did someone find a solution? For me this problem only occurs when using a prefix. docker-compose:

  sf-bullboard:
    container_name: sf-bullboard
    image: deadly0/bull-board
    restart: always
    environment:
      REDIS_HOST: sf-redis
      REDIS_PORT: 6379
      BULL_VERSION: bull
      BULL_PREFIX: sf-bull
    networks:
      - gcp_redis
    ports:
      - 8011:3000

And I am using the same BULL_PREFIX in Bull's Queue Options

SaschaVanEssen avatar Sep 19 '22 13:09 SaschaVanEssen

same issue with env vars :

BULL_PREFIX: 'queue' BULL_VERSION: 'bull'

benzavision avatar Nov 01 '22 10:11 benzavision

Same issue here. Does anyone found a workaround?

tiagoboeing avatar Dec 14 '22 14:12 tiagoboeing