You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 13, 2025. It is now read-only.
Small issue that i encountered but relatively easy fix.
If you use postgres as a database and it enforces SSL, you need to ensure your config.php has the appropriate ssl connection param, or MediaDC will fail. e.g.:
'dbhost' => 'tools-pg:5432;sslmode=require',
The above works.
'dbhost' => 'tools-pg
The above does not:
pg8000.exceptions.DatabaseError: {'S': 'FATAL', 'V': 'FATAL', 'C': '28000', 'M': 'pg_hba.conf rejects connection for host "10.42.3.91", user "nextcloud", database "nextcloud", no encryption', 'F': 'auth.c', 'L': '467', 'R': 'ClientAuthentication'}
It seems that Nextcloud by default attempts SSL connection, but MediaDC does not I guess.
This issue can be used to investigate the behaviour difference, or purely for info if anyone else encounters the same issue.