Where can I find config.json?

I am jiangtao, i am chinese. there are rare document on the internet. i am very hardly compiled mattermost project, but i don’t know why happen this problem.

Current working directory is set to /Users/jiangtao/go/mattermost
panic: Error opening config file=config.json, err=open config.json: no such file or directory

goroutine 1 [running]:
github.com/mattermost/platform/utils.LoadConfig(0x73a270, 0xb)
/Users/jiangtao/go/mattermost/src/github.com/mattermost/platform/utils/config.go:211 +0x206
main.main()
/Users/jiangtao/go/mattermost/src/github.com/mattermost/platform/mattermost.go:26 +0x21e

goroutine 2 [runnable]:
runtime.forcegchelper()
/usr/local/go/src/runtime/proc.go:90
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2232 +0x1

goroutine 3 [runnable]:
runtime.bgsweep()
/usr/local/go/src/runtime/mgc0.go:82
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2232 +0x1

goroutine 4 [runnable]:
runtime.runfinq()
/usr/local/go/src/runtime/malloc.go:712
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2232 +0x1

goroutine 5 [runnable]:
os/signal.loop()
/usr/local/go/src/os/signal/signal_unix.go:19
created by os/signal.init·1
/usr/local/go/src/os/signal/signal_unix.go:27 +0x35

goroutine 6 [runnable]:
Google Code Archive - Long-term storage for Google Code Project Hosting.(0xc208040420, 0xb76f88, 0xc208036008)
/Users/jiangtao/go/mattermost/src/code.google.com/p/log4go/termlog.go:23
created by Google Code Archive - Long-term storage for Google Code Project Hosting.
/Users/jiangtao/go/mattermost/src/code.google.com/p/log4go/termlog.go:19 +0x83

Hi @jiangtao,

There’s a pull request in the works that I believe will fix this: https://github.com/mattermost/platform/pull/130

What’s potentially happening is some dependencies needed during the install process aren’t available from China (other reports of this have come in). The pull request is to include these in the Mattermost repo so you don’t hit this again,

You can look at the pull request and either download the files needed from what’s there, or maybe wait until that pull request is completed and try the installer again?

Although this is an old thread I wanted to note that this error still happens when you start mattermost by running ~/mattermost/bin/platform instead of running cd ~/mattermost/bin && ./platform.

I believe I’m havng same problem, this is latest version as of yesterday, installed from source on linux (debian jesse)

./platform
panic: Error opening config file=config.json, err=open config.json: no such file or directory

goroutine 1 [running]:
github.com/mattermost/platform/utils.LoadConfig(0xc13fd0, 0xb)
/home/brw314/code/go/src/github.com/mattermost/platform/utils/config.go:139 +0x16a
main.main()
/home/brw314/code/go/src/github.com/brw31415/platform/mattermost.go:46 +0x43

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1696 +0x1