Help needed with tinode server docker installation

34 views
Skip to first unread message

Shailendra Maurya

unread,
Sep 3, 2023, 4:33:35 AMSep 3
to Tinode General
I followed the installation instructions given at: https://github.com/tinode/chat/blob/master/docker/README.md
(Except the optional ones)

But, when I tried running the container, it shows following error on tinode-srv log:

2023/09/03 07:40:18 Database adapter: 'postgres'; version: 113
2023/09/03 07:40:18 Failed to init DB adapter: failed to connect to `host=localhost user=postgres database=tinode`: dial error (dial tcp [::1]:5432: connect: network is unreachable)
./init-db failed. Quitting.
2023/09/03 08:00:01 Database adapter: 'postgres'; version: 113
2023/09/03 08:00:01 Failed to init DB adapter: failed to connect to `host=localhost user=postgres database=tinode`: dial error (dial tcp [::1]:5432: connect: network is unreachable)
./init-db failed. Quitting.

What's gone wrong??

Thanks in advance :-)

Gene Sokolov

unread,
Sep 3, 2023, 11:15:18 AMSep 3
to tin...@googlegroups.com
It looks like your setup expects postgress to be in the same container as Tinode server. Obviously, it's not there: 

connect: network is unreachable

--
You received this message because you are subscribed to the Google Groups "Tinode General" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tinode+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tinode/62b40202-b112-4e83-a42e-17bed6b92c2cn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages