1
0
Fork 0
mirror of https://github.com/requarks/wiki.git synced 2026-03-02 22:06:55 -05:00

Issue Installing with Docker and Postgre - Error EAI_AGAIN undefined:undefined #2553

Closed
opened 2026-02-20 19:07:05 -05:00 by deekerman · 0 comments
Owner

Originally created by @rico161 on GitHub (Jan 25, 2022).

I'm trying to do a fresh install of the latest wikijs version onto Xubuntu following the instructions in the documentation here:

https://docs.requarks.io/install/ubuntu

The only things i changed from the instructions were:

Changed to port 8080 instead of 80
Changed .db-secret directory out of /etc/wiki and into /home/username/wiki because of a permissions error with the /etc/ directory
I did not begin the HTTPS section instructions because i want to get this sorted first.

It seemed to be running smoothly but when i load the wiki on localhost (it actually does load in browser, only on localhost:3000 though) it's the wrong version and won't update. When i run the command "docker logs wiki" in terminal it prints the following error:

Loading configuration from /wiki/config.yml... OK
[MASTER] info: =======================================
[MASTER] info: = Wiki.js 2.5.272 =====================
[MASTER] info: =======================================
[MASTER] info: Initializing...
[MASTER] info: Using database driver pg for postgres [ OK ]
[MASTER] info: Connecting to database...
[MASTER] error: Database Connection Error: EAI_AGAIN undefined:undefined
2021-01-19T20:23:31.865Z [MASTER] warn: Will retry in 3 seconds... [Attempt 1 of 10]
[MASTER] error: Database Initialization Error: getaddrinfo EAI_AGAIN db

I have tried changing the "host" entry in "config.yml" from "localhost" to "127.0.0.1" and to "db" with no avail.

Originally created by @rico161 on GitHub (Jan 25, 2022). <!-- Wiki.js 1.x? Go to https://github.com/Requarks/wiki-v1/issues --> I'm trying to do a fresh install of the latest wikijs version onto Xubuntu following the instructions in the documentation here: https://docs.requarks.io/install/ubuntu The only things i changed from the instructions were: Changed to port 8080 instead of 80 Changed .db-secret directory out of /etc/wiki and into /home/username/wiki because of a permissions error with the /etc/ directory I did not begin the HTTPS section instructions because i want to get this sorted first. It seemed to be running smoothly but when i load the wiki on localhost (it actually does load in browser, only on localhost:3000 though) it's the wrong version and won't update. When i run the command "docker logs wiki" in terminal it prints the following error: ``` Loading configuration from /wiki/config.yml... OK [MASTER] info: ======================================= [MASTER] info: = Wiki.js 2.5.272 ===================== [MASTER] info: ======================================= [MASTER] info: Initializing... [MASTER] info: Using database driver pg for postgres [ OK ] [MASTER] info: Connecting to database... [MASTER] error: Database Connection Error: EAI_AGAIN undefined:undefined 2021-01-19T20:23:31.865Z [MASTER] warn: Will retry in 3 seconds... [Attempt 1 of 10] [MASTER] error: Database Initialization Error: getaddrinfo EAI_AGAIN db ``` I have tried changing the "host" entry in "config.yml" from "localhost" to "127.0.0.1" and to "db" with no avail.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/wiki-requarks#2553
No description provided.