mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-26 13:36:02 +03:00
[GH-ISSUE #1716] docker cypht/cypht:2.4.2 not connect with POSTGRESQL #701
Labels
No labels
2fa
I18N
PGP
Security
Security
account
advanced_search
advanced_search
announcement
api_login
authentication
awaiting feedback
blocker
bug
bug
bug
calendar
config
contacts
core
core
devops
docker
docs
duplicate
dynamic_login
enhancement
epic
feature
feeds
framework
github
github
gmail_contacts
good first issue
help wanted
history
history
imap
imap_folders
inline_message
installation
keyboard_shortcuts
keyboard_shortcuts
ldap_contacts
mobile
need-ssh-access
new module set
nux
pop3
profiles
pull-request
question
refactor
release
research
saved_searches
smtp
strategic
tags
tests
themes
website
wordpress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cypht#701
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @emicba126 on GitHub (Sep 30, 2025).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/1716
Originally assigned to: @IrAlfred on GitHub.
Hi!
When start container, show in logs:
Attempting to connect to database ... (1/10)
...
Unable to connect to database
Enviroment Database config:
DB_CONNECTION_TYPE=host
DB_DRIVER=pgsql
DB_HOST=cypht_postgres
DB_NAME=cypht
DB_USER=admin
DB_PASS=pass
DB_PORT=5432
The postgres container/server work correctly. Connections accept other containers and external connection! and database "cypht" was created correctly.
I've been checking the source code and other issues, but I couldn't detect the problem. The "logs" do not provide any information with "DEBUG_LOG=true".
Does anyone have the same problem? From what I read, the project has support for Postgres.
Thanks
@IrAlfred commented on GitHub (Oct 2, 2025):
Hello @emicba126,
Thank you for reporting this issue. We have reproduced the issue and we confirm this is a bug. We are working on it and we will update this issue as soon as we have a solution.
@JulianBerkner commented on GitHub (Oct 2, 2025):
In case you are deploying with kubernetes, here is my fix in values.yaml,
It probably works like this for the docker image to:
@emicba126 commented on GitHub (Oct 3, 2025):
Hi! @JulianBerkner
Not use kubernetes, use docker-compose.
Add code list "command" in "entrypoint" section and start correctly! Just test the login by entering correctly. Thanks for the help!
Note for the next update for the correct connection with Postgres (test with version 17).
Thanks
@christer77 commented on GitHub (Oct 6, 2025):
Related https://github.com/cypht-org/cypht/issues/1544
@IrAlfred commented on GitHub (Nov 11, 2025):
Hello @emicba126
We've made several improvements and fixes in the newer version. Please retest with the cypht/cypht:2.5.1 Docker image.
If the issue persists with version 2.5.1, please let us know and we'll investigate further. You might also want to ensure that:
We appreciate your help in improving Cypht!