I've configured a single Ubuntu 14.04.4 server and have been following the Ubuntu 14.04 LTS guide: http://docs.mattermost.com/install/prod-ubuntu.html
When I run ./platform the service does not work.
This is the result of execution:
root@Mattermost:/home/mattermost/mattermost/bin# su mattermost
mattermost@Mattermost:~/mattermost/bin$ ./platform
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x6198b0]goroutine 1 0x2e)
/go/src/github.com/mattermost/platform/utils/config.go:152 +0x6a0
main.main()
/go/src/github.com/mattermost/platform/mattermost.go:54 +0x43goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1696 +0x1goroutine 5 /usr/local/go/src/os/signal/signal_unix.go:22 +0x18
created by os/signal.init.1
/usr/local/go/src/os/signal/signal_unix.go:28 +0x37goroutine 6 0x7f394f3462b8, 0xc820028010)
/go/src/github.com/mattermost/platform/Godeps/_workspace/src/github.com/alecthomas/log4go/termlog.go:33 +0x69
created by github.com/alecthomas/log4go.NewConsoleLogWriter
/go/src/github.com/mattermost/platform/Godeps/_workspace/src/github.com/alecthomas/log4go/termlog.go:26 +0xb5
In this post: https://forum.mattermost.org/t/single-server-centos-7-initial-setup-wont-launch-as-service/868 indicates create the log file mattermost.log and assign the correct permissions, but does not influence in the result.
Any help would be appreciated.