-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Labels
bugSomething isn't workingSomething isn't working
Description
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Requirements
Have a PostgreSQL database that requires TLS connections.
pg_hba.conf:
hostssl nextcloud nextcloud x.x.x.x/32 scram-sha-256
Steps to reproduce
- Add the connection string to the
config.php:'dbhost' => 'db.example.org;sslmode=verify-ca;sslrootcert=/etc/ssl/certs/ca-certificates.crt;dbname=nextcloud' - Attempt to start
notify_client
Expected behaviour
notify_client parses the string, connects to the database and starts.
Actual behaviour
notify_client exits non-zero with the following error message:
Error: × Failed to connect to database: error communicating with database: failed to lookup address information: Name does not resolve
├─▶ error communicating with database: failed to lookup address information: Name does not resolve
╰─▶ failed to lookup address information: Name does not resolve
Server configuration
Web server: Apache
Database: PostgreSQL 16
PHP version: 8.2
Nextcloud version: 31.0.7
jgraichen
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working