requarks / wiki

Wiki.js | A modern and powerful wiki app built on Node.js
https://js.wiki
GNU Affero General Public License v3.0
24.69k stars 2.73k forks source link

v2.0 → doesn't work #720

Closed stkac closed 5 years ago

stkac commented 5 years ago

Actual behavior

screenshot from 2018-12-04 15-49-32

$ docker-compose top
bu_db_1
 UID     PID    PPID    C   STIME   TTY     TIME                      CMD
------------------------------------------------------------------------------------------
avahi   16952   16922   0   15:46   ?     00:00:00   postgres
avahi   17100   16952   0   15:46   ?     00:00:00   postgres: checkpointer process
avahi   17101   16952   0   15:46   ?     00:00:00   postgres: writer process
avahi   17102   16952   0   15:46   ?     00:00:00   postgres: wal writer process
avahi   17103   16952   0   15:46   ?     00:00:00   postgres: autovacuum launcher process
avahi   17104   16952   0   15:46   ?     00:00:00   postgres: stats collector process

bu_redis_1
UID    PID    PPID    C   STIME   TTY     TIME         CMD
---------------------------------------------------------------
100   16951   16907   0   15:46   ?     00:00:00   redis-server

bu_wiki_1
UID     PID    PPID    C   STIME   TTY     TIME            CMD
---------------------------------------------------------------------
root   17148   17131   0   15:46   ?     00:00:00   tail -f /dev/null

$ docker ps -a
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                     NAMES
fbb97090f323        bu_wiki             "tail -f /dev/null"      4 minutes ago       Up 4 minutes        0.0.0.0:3000->3000/tcp    bu_wiki_1
ed1a2f075972        postgres:9-alpine   "docker-entrypoint.s…"   4 minutes ago       Up 4 minutes        0.0.0.0:15432->5432/tcp   bu_db_1
e6e0047f86f4        redis:4-alpine      "docker-entrypoint.s…"   4 minutes ago       Up 4 minutes        0.0.0.0:16379->6379/tcp   bu_redis_1

Expected behavior

wiki.js v2 up and running

Steps to reproduce the behavior

git clone https://github.com/Requarks/wiki.git
cd wiki
git checkout dev
docker-compose up -d
ChessSpider commented 5 years ago

try 127.0.0.1:3000 ;)

0.0.0.0 tells wikijs and any application to listen on all available ip-addresses, it's not a valid ip-adres by itself

stkac commented 5 years ago

Hi @ChessSpider, I tried it using localhost and 127.0.0.1 and get the same message: This site can’t be reached

browser

screenshot from 2018-12-04 17-01-34

terminal

$ curl -l 127.0.0.1:3000
curl: (56) Recv failure: Connection reset by peer
EsEnZeT commented 5 years ago

https://github.com/Requarks/wiki/issues/497 ?

I don't know why that issue is closed but the problem still persist.

NGPixel commented 5 years ago

Please read the docs. Running docker-compose up will only load dependencies, not the actual project.