Zammad scheduler database not connected

Infos:

  • Used Zammad version: 8.12.2
  • Used Zammad installation type: Docker-Compose
  • Operating system: Linux Debian

Expected behavior:

When I start zammad it shows following in the docker compose logs:

zammad-scheduler-1      | E, [2024-07-08T09:43:23.653684#1-160640] ERROR -- : Can't reconnect to database #<ActiveRecord::ConnectionTimeoutError: could not obtain a connection from the pool within 5.000 seconds (waited 5.001 seconds); all pooled connections were in use>
zammad-scheduler-1      | E, [2024-07-08T09:43:24.650761#1-160660] ERROR -- : Can't reconnect to database #<ActiveRecord::ConnectionTimeoutError: could not obtain a connection from the pool within 5.000 seconds (waited 5.000 seconds); all pooled connections were in use>

But my database is connected, so why this error?

You’re receiving this error because Zammad tries to use more connections than what’s configured in the database pool configuration.
Ensure you have the latest available docker compose stack and Zammad version installed.

This will allow you to use the database options with pools (which usually should be around 50): Docker Environment Variables — Zammad System Documentation documentation