Hi all,
I'm trying to get postgres to talk with wiki.js but I am having no end of failure. Half of today is gone so far. I am finally asking.
https://hub.docker.com/_/postgres?tab=description
https://docs.requarks.io/install/docker
This is the wiki.JS error:
2020-02-20T03:25:22.103Z [MASTER] info: =======================================
2020-02-20T03:25:22.106Z [MASTER] info: = Wiki.js 2.1.113 =====================
2020-02-20T03:25:22.106Z [MASTER] info: =======================================
2020-02-20T03:25:22.107Z [MASTER] info: Initializing...
2020-02-20T03:25:22.626Z [MASTER] info: Using database driver pg for postgres [ OK ]
2020-02-20T03:25:22.635Z [MASTER] info: Connecting to database...
2020-02-20T03:25:22.700Z [MASTER] error: Database Connection Error: 3D000 undefined:undefined
2020-02-20T03:25:22.701Z [MASTER] warn: Will retry in 3 seconds... [Attempt 1 of 10]
2020-02-20T03:25:25.704Z [MASTER] info: Connecting to database...
2020-02-20T03:25:25.715Z [MASTER] error: Database Connection Error: 3D000 undefined:undefined
2020-02-20T03:25:25.716Z [MASTER] warn: Will retry in 3 seconds... [Attempt 2 of 10]
2020-02-20T03:25:28.721Z [MASTER] info: Connecting to database...
2020-02-20T03:25:28.732Z [MASTER] error: Database Connection Error: 3D000 undefined:undefined
2020-02-20T03:25:28.733Z [MASTER] warn: Will retry in 3 seconds... [Attempt 3 of 10]
I've installed postgres via docker in OMV with the following settings:
Volume /var/lib/postgresql/data shared to a folder on server
PGDATA /var/lib/postgresql/data
PUID 1000
PG_VERSION 9.6.17-1.pgdg90+1
GOSU_VERSION 1.11
LANG en_US.utf8
PG_MAJOR 9.6
PGID 100
TZ Australia/Brisbane
POSTGRES_PASSWORD passwordHere
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/9.6/bin
I've installed wiki.JS with the following settings:
PORT: 0.0.0.0:1212 to 3000/tcp
VOLUME /wiki/data/content shared to a folder on server
DB_NAME wiki-DB
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
NODE_VERSION 12.14.1
DB_TYPE postgres
DB_PORT 5432
DB_PASS passwordHere
YARN_VERSION 1.21.1
DB_HOST 3e43cf68e053
DB_USER wiki_user
I've put them both on the same virtual network and also tried to leave them on bridge.
I'm totally out of ideas and energy at the moment so thought I'd check in and see if anyone has any ideas?
Thanks so much