root@eu:/opt/sogo6-stalwart-openldap-dockerized# docker compose --profile db-mariadb up -d [+] up 14/14 ✔ Network sogo6-stalwart-openldap-dockerized_sogo6-net Created 0.2s ✔ Volume sogo6-stalwart-openldap-dockerized_sogo6-postgres-data Created 0.0s ✔ Volume sogo6-stalwart-openldap-dockerized_sogo6-ldap-data Created 0.0s ✔ Volume sogo6-stalwart-openldap-dockerized_sogo6-ldap-config Created 0.0s ✔ Volume sogo6-stalwart-openldap-dockerized_sogo6-stalwart-data Created 0.0s ✔ Volume sogo6-stalwart-openldap-dockerized_sogo6-redis-data Created 0.0s ✔ Container sogo6-ldap Healthy 13.3s ✔ Container sogo6-smtp Started 1.6s ✔ Container sogo6-postgres Healthy 13.3s ✔ Container sogo6-redis Healthy 13.3s ✘ Container sogo6-stalwart Error dependency sogo6-stalwart failed to start 14.2s ✔ Container sogo6-server Created 0.2s ✔ Container sogo6-ui Created 0.1s ✔ Container sogo6-nginx Created 0.1s dependency failed to start: container sogo6-stalwart exited (1) root@eu:/opt/sogo6-stalwart-openldap-dockerized# docker compose --profile db-mariadb logs -f sogo6-smtp | MailDev API running at http://localhost:1080 sogo6-smtp | sogo6-smtp | MailDev sogo6-smtp | Version: 3.0.0-rc.1 sogo6-smtp | SMTP Server sogo6-smtp | Address: :: sogo6-smtp | Port: 25 sogo6-smtp | Web Interface sogo6-smtp | URL: http://localhost:1080/ sogo6-smtp | Press Ctrl+C to stop sogo6-smtp | sogo6-redis | 1:C 28 Jul 2026 09:36:10.631 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo sogo6-redis | 1:C 28 Jul 2026 09:36:10.632 * Redis version=7.4.10, bits=64, commit=00000000, modified=0, pid=1, just started sogo6-redis | 1:C 28 Jul 2026 09:36:10.632 * Configuration loaded sogo6-redis | 1:M 28 Jul 2026 09:36:10.633 * Increased maximum number of open files to 10032 (it was originally set to 1024). sogo6-redis | 1:M 28 Jul 2026 09:36:10.633 * monotonic clock: POSIX clock_gettime sogo6-redis | 1:M 28 Jul 2026 09:36:10.637 * Running mode=standalone, port=6379. sogo6-redis | 1:M 28 Jul 2026 09:36:10.637 * Server initialized sogo6-redis | 1:M 28 Jul 2026 09:36:10.640 * Ready to accept connections tcp sogo6-ldap | First start - initializing LDAP database... sogo6-ldap | modifying entry "olcDatabase={1}mdb,cn=config" sogo6-ldap | sogo6-ldap | adding new entry "dc=example,dc=org" sogo6-ldap | sogo6-ldap | Loading seed LDIF: /ldif-seed/00-init.ldif sogo6-ldap | adding new entry "ou=users,dc=example,dc=org" sogo6-ldap | sogo6-ldap | adding new entry "uid=testuser@example.org,ou=users,dc=example,dc=org" sogo6-ldap | sogo6-postgres | ******************************************************************************** sogo6-postgres | WARNING: POSTGRES_HOST_AUTH_METHOD has been set to "trust". This will allow sogo6-postgres | anyone with access to the Postgres port to access your database without sogo6-postgres | a password, even if POSTGRES_PASSWORD is set. See PostgreSQL sogo6-postgres | documentation about "trust": sogo6-postgres | https://www.postgresql.org/docs/current/auth-trust.html sogo6-postgres | In Docker's default configuration, this is effectively any other sogo6-postgres | container on the same system. sogo6-postgres | sogo6-postgres | It is not recommended to use POSTGRES_HOST_AUTH_METHOD=trust. Replace sogo6-postgres | it with "-e POSTGRES_PASSWORD=password" instead to set a password in sogo6-postgres | "docker run". sogo6-postgres | ******************************************************************************** sogo6-postgres | The files belonging to this database system will be owned by user "postgres". sogo6-postgres | This user must also own the server process. sogo6-postgres | sogo6-postgres | The database cluster will be initialized with locale "en_US.utf8". sogo6-postgres | The default database encoding has accordingly been set to "UTF8". sogo6-postgres | The default text search configuration will be set to "english". sogo6-postgres | sogo6-postgres | Data page checksums are disabled. sogo6-postgres | sogo6-postgres | fixing permissions on existing directory /var/lib/postgresql/data ... ok sogo6-postgres | creating subdirectories ... ok sogo6-postgres | selecting dynamic shared memory implementation ... posix sogo6-postgres | selecting default max_connections ... 100 sogo6-postgres | selecting default shared_buffers ... 128MB sogo6-ldap | adding new entry "uid=testadmin@example.org,ou=users,dc=example,dc=org" sogo6-ldap | sogo6-ldap | adding new entry "uid=testuser2@example.org,ou=users,dc=example,dc=org" sogo6-ldap | sogo6-ldap | LDAP initialization complete sogo6-postgres | selecting default time zone ... UTC sogo6-ldap | 6a68780c.2454165b 0x7f8e8e6a4200 @(#) $OpenLDAP: slapd 2.5.13+dfsg-5 (Feb 8 2023 01:56:12) $ sogo6-postgres | creating configuration files ... ok sogo6-ldap | Debian OpenLDAP Maintainers sogo6-ldap | 6a68780c.24e75904 0x7f8e8e6a4200 slapd starting sogo6-ldap | 6a68780f.190e60b0 0x7f8e8cdfe6c0 conn=1000 fd=12 ACCEPT from IP=[::1]:42492 (IP=[::]:389) sogo6-ldap | 6a68780f.196b34c8 0x7f8e8cdfe6c0 conn=1000 op=0 BIND dn="cn=admin,dc=example,dc=org" method=128 sogo6-ldap | 6a68780f.196d90ea 0x7f8e8cdfe6c0 conn=1000 op=0 BIND dn="cn=admin,dc=example,dc=org" mech=SIMPLE bind_ssf=0 ssf=0 sogo6-stalwart | ⚠️ Startup failed: Failed to create tables: PostgreSQL error (store.postgresql-error): reason = Error occurred while creating a new object: db error sogo6-ldap | 6a68780f.1970ce95 0x7f8e8cdfe6c0 conn=1000 op=0 RESULT tag=97 err=0 qtime=0.000033 etime=0.000526 text= sogo6-ldap | 6a68780f.197adf58 0x7f8e87fff6c0 conn=1000 op=1 SRCH base="dc=example,dc=org" scope=0 deref=0 filter="(objectClass=*)" sogo6-ldap | 6a68780f.1984d875 0x7f8e87fff6c0 conn=1000 op=1 SEARCH RESULT tag=101 err=0 qtime=0.000048 etime=0.000768 nentries=1 text= sogo6-ldap | 6a68780f.19aad7b0 0x7f8e8cdfe6c0 conn=1000 op=2 UNBIND sogo6-ldap | 6a68780f.19af0109 0x7f8e8cdfe6c0 conn=1000 fd=12 closed sogo6-postgres | running bootstrap script ... ok sogo6-postgres | sh: locale: not found sogo6-postgres | 2026-07-28 09:36:12.076 UTC [36] WARNING: no usable system locales were found sogo6-postgres | performing post-bootstrap initialization ... ok sogo6-postgres | syncing data to disk ... ok sogo6-postgres | sogo6-postgres | sogo6-postgres | Success. You can now start the database server using: sogo6-postgres | sogo6-postgres | pg_ctl -D /var/lib/postgresql/data -l logfile start sogo6-postgres | sogo6-postgres | initdb: warning: enabling "trust" authentication for local connections sogo6-postgres | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. sogo6-postgres | waiting for server to start....2026-07-28 09:36:13.667 UTC [42] LOG: starting PostgreSQL 15.18 on x86_64-pc-linux-musl, compiled by gcc (Alpine 15.2.0) 15.2.0, 64-bit sogo6-postgres | 2026-07-28 09:36:13.670 UTC [42] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" sogo6-postgres | 2026-07-28 09:36:13.679 UTC [45] LOG: database system was shut down at 2026-07-28 09:36:13 UTC sogo6-postgres | 2026-07-28 09:36:13.693 UTC [42] LOG: database system is ready to accept connections sogo6-postgres | done sogo6-postgres | server started sogo6-postgres | CREATE DATABASE sogo6-postgres | sogo6-postgres | sogo6-postgres | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/* sogo6-postgres | sogo6-postgres | waiting for server to shut down....2026-07-28 09:36:13.920 UTC [42] LOG: received fast shutdown request sogo6-postgres | 2026-07-28 09:36:13.929 UTC [42] LOG: aborting any active transactions sogo6-postgres | 2026-07-28 09:36:13.941 UTC [42] LOG: background worker "logical replication launcher" (PID 48) exited with exit code 1 sogo6-postgres | 2026-07-28 09:36:13.946 UTC [43] LOG: shutting down sogo6-postgres | 2026-07-28 09:36:13.953 UTC [43] LOG: checkpoint starting: shutdown immediate sogo6-postgres | 2026-07-28 09:36:14.090 UTC [43] LOG: checkpoint complete: wrote 922 buffers (5.6%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.051 s, sync=0.067 s, total=0.144 s; sync files=301, longest=0.005 s, average=0.001 s; distance=4249 kB, estimate=4249 kB sogo6-postgres | 2026-07-28 09:36:14.107 UTC [42] LOG: database system is shut down sogo6-postgres | done sogo6-postgres | server stopped sogo6-postgres | sogo6-postgres | PostgreSQL init process complete; ready for start up. sogo6-postgres | sogo6-postgres | 2026-07-28 09:36:14.159 UTC [1] LOG: starting PostgreSQL 15.18 on x86_64-pc-linux-musl, compiled by gcc (Alpine 15.2.0) 15.2.0, 64-bit sogo6-postgres | 2026-07-28 09:36:14.160 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 sogo6-postgres | 2026-07-28 09:36:14.160 UTC [1] LOG: listening on IPv6 address "::", port 5432 sogo6-postgres | 2026-07-28 09:36:14.197 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" sogo6-postgres | 2026-07-28 09:36:14.213 UTC [58] LOG: database system was shut down at 2026-07-28 09:36:14 UTC sogo6-postgres | 2026-07-28 09:36:14.223 UTC [1] LOG: database system is ready to accept connections sogo6-postgres | 2026-07-28 09:36:22.207 UTC [69] FATAL: database "stalwart" does not exist sogo6-ldap | 6a68782d.206369ec 0x7f8e87fff6c0 conn=1001 fd=12 ACCEPT from IP=[::1]:37592 (IP=[::]:389) sogo6-ldap | 6a68782d.2066507b 0x7f8e87fff6c0 conn=1001 op=0 BIND dn="cn=admin,dc=example,dc=org" method=128 sogo6-ldap | 6a68782d.206782df 0x7f8e87fff6c0 conn=1001 op=0 BIND dn="cn=admin,dc=example,dc=org" mech=SIMPLE bind_ssf=0 ssf=0 sogo6-ldap | 6a68782d.20689694 0x7f8e87fff6c0 conn=1001 op=0 RESULT tag=97 err=0 qtime=0.000018 etime=0.000259 text= sogo6-ldap | 6a68782d.208c8321 0x7f8e8cdfe6c0 conn=1001 op=1 SRCH base="dc=example,dc=org" scope=0 deref=0 filter="(objectClass=*)" sogo6-ldap | 6a68782d.20999355 0x7f8e8cdfe6c0 conn=1001 op=1 SEARCH RESULT tag=101 err=0 qtime=0.000141 etime=0.001081 nentries=1 text= sogo6-ldap | 6a68782d.21b93e21 0x7f8e87fff6c0 conn=1001 op=2 UNBIND sogo6-ldap | 6a68782d.21bccabd 0x7f8e87fff6c0 conn=1001 fd=12 closed ^C root@eu:/opt/sogo6-stalwart-openldap-dockerized#