Can't initialize timers

Hello, I have a problem on a machine with Centos when I install docker passbolt, the passbolt_db_1 database docker keeps restarting constantly, looking at the docker log it tells me:

Any idea why this happens?

My docker-compose-ce.yaml:

version: '3'
services:
  db:
    image: mariadb:10.10
    restart: unless-stopped
    environment:
      MYSQL_RANDOM_ROOT_PASSWORD: "true"
      MYSQL_DATABASE: "passbolt"
      MYSQL_USER: "passbolt"
      MYSQL_PASSWORD: "P4ssb0lt"
    volumes:
      - db_volume:/var/lib/mysql
  passbolt:
    image: passbolt/passbolt:latest-ce
    #Alternatively you can use rootless:
    #image: passbolt/passbolt:latest-ce-non-root
    restart: unless-stopped
    depends_on:
      - db
    environment:
      APP_FULL_BASE_URL: http://passbolt.site.com:8081
      DATASOURCES_DEFAULT_HOST: "db"
      DATASOURCES_DEFAULT_USERNAME: "passbolt"
      DATASOURCES_DEFAULT_PASSWORD: "P4ssb0lt"
      DATASOURCES_DEFAULT_DATABASE: "passbolt"
    volumes:
      - gpg_volume:/etc/passbolt/gpg
      - jwt_volume:/etc/passbolt/jwt
    command: ["/usr/bin/wait-for.sh", "-t", "0", "db:3306", "--", "/docker-entrypoint.sh"]
    ports:
      - 8081:80
#      - 3303:3306
#      - 443:443
    #Alternatively for non-root images:
    # - 80:8080
    # - 443:4433

volumes:
  db_volume:
  gpg_volume:
  jwt_volume:

Hi @ipalacio Welcome to the forum!

I’m not sure why this version of mariadb would cause a problem but this seems to be the issue:

It seems it is a result of the host docker version and maybe container version.

Thank you!!

indeed the problem is the version of docker

1 Like