Heya here is a dump of the migrate up and start up commands I am running for nakama as well as the output that follows them. I do start the DB before running starting nakama itself of course .
MIGRATE UP
C:\Users\xxxx\Documents\repos\git_nakama\nakama>nakama.exe migrate up
{“level”:“info”,“ts”:“2019-08-28T16:11:29.218+0100”,“msg”:“Database connection”,“dsn”:“root@localhost:26257”}
{“level”:“info”,“ts”:“2019-08-28T16:11:50.240+0100”,“msg”:“Database information”,“version”:“CockroachDB CCL v19.1.4 (x86_64-w64-mingw32, built 2019/08/06 15:43:11, go1.11.6)”}
{“level”:“info”,“ts”:“2019-08-28T16:11:50.241+0100”,“msg”:“Using existing database”,“name”:“nakama”}
{“level”:“info”,“ts”:“2019-08-28T16:11:50.255+0100”,“msg”:“Successfully applied migration”,“count”:0}
START NAKAMA
C:\Users\xxxx\Documents\repos\git_nakama\nakama>nakama.exe
{“level”:“warn”,“ts”:“2019-08-28T16:12:55.964+0100”,“msg”:“WARNING: insecure default parameter value, change this for production!”,“param”:“console.username”}
{“level”:“warn”,“ts”:“2019-08-28T16:12:55.964+0100”,“msg”:“WARNING: insecure default parameter value, change this for production!”,“param”:“console.password”}
{“level”:“warn”,“ts”:“2019-08-28T16:12:55.965+0100”,“msg”:“WARNING: insecure default parameter value, change this for production!”,“param”:“console.signing_key”}
{“level”:“warn”,“ts”:“2019-08-28T16:12:55.965+0100”,“msg”:“WARNING: insecure default parameter value, change this for production!”,“param”:“socket.server_key”}
{“level”:“warn”,“ts”:“2019-08-28T16:12:55.966+0100”,“msg”:“WARNING: insecure default parameter value, change this for production!”,“param”:“session.encryption_key”}
{“level”:“warn”,“ts”:“2019-08-28T16:12:55.966+0100”,“msg”:“WARNING: insecure default parameter value, change this for production!”,“param”:“runtime.http_key”}
{“level”:“info”,“ts”:“2019-08-28T16:12:55.966+0100”,“msg”:“Nakama starting”}
{“level”:“info”,“ts”:“2019-08-28T16:12:55.967+0100”,“msg”:“Node”,“name”:“nakama”,“version”:“2.0.0+dev”,“runtime”:“go1.12.9”,“cpu”:16,“proc”:16}
{“level”:“info”,“ts”:“2019-08-28T16:12:55.967+0100”,“msg”:“Data directory”,“path”:“C:\Users\xxxx\Documents\repos\git_nakama\nakama\data”}
{“level”:“info”,“ts”:“2019-08-28T16:12:55.968+0100”,“msg”:“Database connections”,“dsns”:[“root@127.0.0.1:26257”]}
{“level”:“fatal”,“ts”:“2019-08-28T16:13:16.982+0100”,“msg”:“Error pinging database”,“error”:“context deadline exceeded”,“stacktrace”:“main.dbConnect\n\tC:/Users/xxxx/Documents/repos/git_nakama/nakama/main.go:244\nmain.main\n\tC:/Users/xxxx/Documents/repos/git_nakama/nakama/main.go:109\nruntime.main\n\tc:/go/src/runtime/proc.go:200”}
START COCKROACH
C:\Users\xxx\Documents\cockroach-v19.1.4.windows-6.2-amd64>cockroach.exe start --insecure
*
- WARNING: RUNNING IN INSECURE MODE!
-
-
- Your cluster is open for any client that can access .
- …
NING: neither --listen-addr nor --advertise-addr was specified.
- The server will advertise “xxxx” to other nodes, is this routable?
-
- Consider using:
-
- for local-only servers: --listen-addr=localhost
-
- for multi-node clusters: --advertise-addr=<host/IP addr>
-
-
CockroachDB node starting at 2019-08-28 15:10:15.5488464 +0000 UTC (took 1.1s)
build: CCL v19.1.4 @ 2019/08/06 15:43:11 (go1.11.6)
webui: http://xxxx:8080
sql: postgresql://root@xxxx:26257?sslmode=disable
client flags: cockroach.exe --host=xxxx:26257 --insecure
logs: C:\Users\xxxx\Documents\cockroach-v19.1.4.windows-6.2-amd64\cockroach-data\logs
temp dir: C:\Users\xxxx\Documents\cockroach-v19.1.4.windows-6.2-amd64\cockroach-data\cockroach-temp032257399
external I/O path: C:\Users\xxxx\Documents\cockroach-v19.1.4.windows-6.2-amd64\cockroach-data\extern
store[0]: path=C:\Users\xxxx\Documents\cockroach-v19.1.4.windows-6.2-amd64\cockroach-data
status: restarted pre-existing node
clusterID: 630f2dc5-b045-47a7-9c82-be3d8a777c98
nodeID: 1