zammad / zammad-docker-compose

Zammad Docker images for docker-compose
https://hub.docker.com/r/zammad/zammad-docker-compose/
GNU Affero General Public License v3.0
268 stars 207 forks source link

Postgres-Password error with .env Variables #392

Closed raffisweb closed 8 months ago

raffisweb commented 8 months ago

Hello all, first let me say thanks for you contributions.

I'm probably making a big mistake but I can't start the whole thing. Hope, you could give me a hint. Just cloned the git repository and started the containers with docker-compose up.

This results in an error with the passwords: zammad-init_1 | ActiveRecord::DatabaseConnectionError: There is an issue connecting to your database with your username/password, username: zammad. zammad-init_1 | zammad-init_1 | Please check your database configuration to ensure the username/password are valid.

I tried to change the Password variable in .env and even tried to leave it as provided. Always the same error.

Usually I'm working with Traefik and tried in second row to use the proxy example with my traefik labels and the network. Same error.

Infos

Server: Docker Engine - Community Engine: Version: 20.10.17 API version: 1.41 (minimum version 1.12) Go version: go1.17.11 Git commit: a89b842 Built: Mon Jun 6 23:01:03 2022 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.6.7 GitCommit: 0197261a30bf81f1ee8e6a4dd2dea0ef95d67ccb runc: Version: 1.1.3 GitCommit: v1.1.3-0-g6724737 docker-init: Version: 0.19.0 GitCommit: de40ad0

Distributor ID: Ubuntu Description: Ubuntu 22.04.3 LTS Release: 22.04 Codename: jammy

Expected behavior

Actual behavior

Steps to reproduce the behavior

Am I completely misunderstanding something? Thank you very much.

raffisweb commented 8 months ago

Problem solved: Updating Docker to latest and cleaning up old volumes solved this case.