Mattermost, Inc.

Systemctl start lattermost failed

starting lattermost with ./platform is working

But starting with systemctl start lattermost failed

Jul 19 06:26:03 mattermost platform[17957]: panic: runtime error: invalid memory address or nil pointer dereference [recovered]
Jul 19 06:26:03 mattermost platform[17957]: panic: interface conversion: interface is runtime.errorString, not string
Jul 19 06:26:03 mattermost platform[17957]: [signal 0xb code=0x1 addr=0x0 pc=0x775569]
Jul 19 06:26:03 mattermost platform[17957]: goroutine 1 [running]:
Jul 19 06:26:03 mattermost platform[17957]: panic(0xcd1aa0, 0xc820043ac0)
Jul 19 06:26:03 mattermost platform[17957]: /usr/local/go/src/runtime/panic.go:481 +0x3e6
Jul 19 06:26:03 mattermost platform[17957]: main.doLoadConfig.func1(0xc820145d48)
Jul 19 06:26:03 mattermost platform[17957]: /var/lib/jenkins/jobs/mattermost-platform-release/workspace/src/github.com/mattermost/platform/mattermost.go:73 +0x6f
Jul 19 06:26:03 mattermost platform[17957]: panic(0xccbec0, 0xc82000a0a0)
Jul 19 06:26:03 mattermost platform[17957]: /usr/local/go/src/runtime/panic.go:443 +0x4e9
Jul 19 06:26:03 mattermost platform[17957]: github.com/mattermost/platform/utils.configureLog(0xc820070c70)
Jul 19 06:26:03 mattermost platform[17957]: /var/lib/jenkins/jobs/mattermost-platform-release/workspace/src/github.com/mattermost/platform/utils/config.go:108 +0x539

You might check these tips. the chmod of the logfile resolved my issues.
I had similar errors on mattermost, everything else was runnig fine.

Greetings Nev