Skip to content

Missing error logs on startup crash #694

Description

@arne-fuchs

I am trying to run openldap in a docker compose env. which crashes at startup without any info (running self build dev branch)

I have following docker-compose.yml config:

services:Watch   d Detach
  openldap:
    image: osixia/openldap
    container_name: openldap
    hostname: example.com
    ports:
      - "389:3890"
      - "636:6360"
    environment:
      - OPENLDAP_BOOTSTRAP_ORGANIZATION=MyExampleCompany
      - OPENLDAP_BOOTSTRAP_SUFFIX="dc=example,dc=com"
      - OPENLDAP_CONF_DIR=/config
      - OPENLDAP_DATA_DIR=/data
      - OPENLDAP_BACKUP_DIR=/backups
    volumes:
      - ./config:/config
      - ./data:/data
      - ./backups:/backups

This is the output:

openldap  | 2026-04-24T07:29:24Z INFO    Container image: osixia/openldap:develop
openldap  | 2026-04-24T07:29:24Z INFO    Loading environment variables from /container/environment/.env, /container/environment/.env.bootstrap, /container/environment/.env.cron, /container/environment/.env.ctl, /container/environment/.env.upgrade ...
openldap  | 2026-04-24T07:29:24Z INFO    Running /container/services/openldap/startup.sh ...
openldap  | 2026-04-24T07:29:24Z INFO    Running /container/services/openldap-bootstrap/startup.sh ...
openldap  | 2026-04-24T07:29:24Z INFO    Bootstrapping OpenLDAP ...
openldap  | 2026-04-24T07:29:24Z INFO    Setting bootstrapping environment variables ...
openldap  | 2026-04-24T07:29:24Z WARNING Generated config root password: QpMgiRyS2fMr3llp
openldap  | 2026-04-24T07:29:24Z WARNING Generated database root password: 2HNB/I//zD5URvsD
openldap  | 2026-04-24T07:29:24Z INFO    Creating OpenLDAP config ...
openldap  | 2026-04-24T07:29:24Z INFO    Load /container/services/openldap-bootstrap/assets/ldif/config/base LDIFs ...
openldap  | 2026-04-24T07:29:24Z INFO    Load /container/services/openldap-bootstrap/assets/ldif/config/custom LDIFs ...
openldap  | 2026-04-24T07:29:24Z INFO    Exiting ...
openldap  | 2026-04-24T07:29:24Z ERROR   /container/services/openldap-bootstrap/startup.sh: exit status 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions