From f198421f10dd3be9d58f64a242d12ea1ef45fee3 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Mon, 12 Jan 2026 03:54:41 +0200 Subject: [PATCH] Added FerretDB2/PostgreSQL Docs. Part 2. Thanks to juri_ at WeKan Libera.Chat IRC and xet7 ! --- docs/Platforms/FOSS/FerretDB2-PostgreSQL.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/Platforms/FOSS/FerretDB2-PostgreSQL.md b/docs/Platforms/FOSS/FerretDB2-PostgreSQL.md index b99e1653b..2158a601e 100644 --- a/docs/Platforms/FOSS/FerretDB2-PostgreSQL.md +++ b/docs/Platforms/FOSS/FerretDB2-PostgreSQL.md @@ -30,6 +30,9 @@ Edit `/etc/postgresql/17/main/postgresql.conf`, there set ``` shared_preload_libraries = 'pg_cron, pg_documentdb, pg_documentdb_core' ``` +edit `/etc/postgresql/17/main/pg_hba.conf` , +replace **scram-sha-256` with trust on the host lines for `127.0.0.1/32` and `::1/128` + Restart PostgreSQL: ``` sudo service postgresql restart @@ -47,7 +50,7 @@ Install: ``` sudo apt -y install /tmp/ferretdb-amd64-linux.deb ``` -Edit your `/etc/systemd/system/ferritdb.service` file, +Edit your `/etc/systemd/system/ferretdb.service` file, add your username/password pair to the following line: ``` Environment="FERRETDB_POSTGRESQL_URL=postgres://ferret:DB_PASSWORD_GOES_HERE@127.0.0.1:5432/postgres" @@ -77,7 +80,7 @@ GRANT documentdb_admin_role to ferret; ``` ## Launching WeKan ``` -export PATH=$PATH:/home/demo/.meteor +export PATH=$HOME/.meteor cd ~/wekan MONGO_URL=mongodb://ferret:DB_PASSWORD_GOES_HERE@127.0.0.1:27017/wekan \