install err

55 views
Skip to first unread message

xin song

unread,
Mar 28, 2025, 11:30:06 PM3/28/25
to Tinode General
Hello author, I am a junior developer. I cloned the latest GitHub branch and started it. It showed an error:

I2025/03/29 11:24:07 stats: variables exposed at '/debug/vars'
I2025/03/29 11:24:07 Cluster: running as a standalone server.
I2025/03/29 11:24:07 DB adapter -1
E2025/03/29 11:24:07 Failed to connect to DB: store: db adapter is not specified. Please set `store_config.use_adapter` in `tinode.conf`

The following is my configuration file. Is it because the configuration file is wrong?
tinode.conf

xin song

unread,
Mar 28, 2025, 11:42:34 PM3/28/25
to Tinode General
My installation method is: Run a standalone server
My command is: $GOPATH/bin/server -config=./server/tinode.conf -static_data=$HOME/tinode/webapp/

显示报错如下:
Failed to connect to DB: store: mysql adapter is not available in this binary

Gene Sokolov

unread,
Mar 29, 2025, 1:55:31 AM3/29/25
to tin...@googlegroups.com
Please follow instructions: https://github.com/tinode/chat/blob/master/INSTALL.md#building-from-source
Please pay attention when reading instructions, specifically "Note the required -tags rethinkdb-tags mysql-tags mongodb or -tags postgres build option.".

Gene Sokolov


--
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 visit https://groups.google.com/d/msgid/tinode/d95be06e-edc3-409a-9ded-e1d3538ce1d5n%40googlegroups.com.

xin song

unread,
Mar 31, 2025, 1:31:17 AM3/31/25
to tin...@googlegroups.com
Hello, there is no problem starting it through the binary file package. But I want to start it through code. I have configured the database and can serve normally. I started it, but there are some errors. Please help me check.

image.png

Gene Sokolov <ge...@tinode.co> 于2025年3月29日周六 13:55写道:
You received this message because you are subscribed to a topic in the Google Groups "Tinode General" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tinode/Mp8wcPHEUmM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tinode+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/tinode/CABwN2QqL5PsZZqbMJ0VV%3D%3DN%3DMU_Y3Z91Wt4r_Gm%2B8zFAjjZ2sg%40mail.gmail.com.

Gene S

unread,
Mar 31, 2025, 2:41:09 AM3/31/25
to tin...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages