-
-
Notifications
You must be signed in to change notification settings - Fork 253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use a remote PostgreSQL database not using the official postgres image. #371
Comments
Just want to update, I tried this yesterday with version 6.0 and still the same issue. |
Wanted to try Zulip in Docker with my existing Postgres server and it fails on this. It seems the Postgres server for Zulip used to need to have Zulip tsearch_extra extensions installed, but the extension itself is archived and deemed no longer necessary - zulip/tsearch_extras#7 SOLVED: Downloading the |
Hmmm, although I have correctly mounted the required files in place, I still get a:
I believe some script or process deletes them.... Or it access rights? I swear, the files are correctly mounted! EDIT: There is some "black magic" taking place at https://github.com/zulip/zulip/blob/main/puppet/zulip/manifests/postgresql_base.pp#L46 These appear to be symlinked from another location ( |
Not sure how this works... :( Found a POSTGRESQL_MISSING_DICTIONARIES parameter but passing it as Also if zulip/tsearch_extras#7 is correct and tsearch_extras is not required, why are we still not able to use a plain external DB...? |
You can use a normal external database, but you should ideally add dictionary files for it. Unfortunately, postgres doesn't support providing a dictionary file over the SQL protocol; for unknown reasons, it must be a file on disk on the database server host. I have no idea why they designed it that way. https://zulip.readthedocs.io/en/latest/production/postgresql.html#cloud-provider-managed-postgresql-e-g-amazon-rds documents this detail. That said, if you're using Docker postgres container, you might as well use the one that Zulip distributes with the relevant files already installed. #371 (comment) has what I believe are correct instructions if you're using another postgres database server; maybe we can usefully document that; I'll leave this issue open for that work. Note that you need the dictionary files on the postgres server, not on the I expect |
Hi,
Failed to start ZULIP, it fails to init the databaase, anyone knows how to fix this issue?
LOGs from Docker :
The text was updated successfully, but these errors were encountered: