Mattermost, Inc.

Error starting server, err:tls: failed to find certificate PEM data in certificate input

For feature requests, please see: http://www.mattermost.org/feature-requests/.

For troubleshooting questions, please post in the following format:

Summary

mattermost url is not working

Steps to reproduce

How can we reproduce the issue (what version are you using?)

Expected behavior

As our server on AWS while taking backup mattermost stop working. As we have checked the logs ::
apped_extras":“errorread |0: file already closed”}
{“level”:“error”,“ts”:1580828666.8629313,“caller”:“plugin/hclog_adapter.go:60”,“msg”:“reading plugin stderr”,“plugin_id”:“com.github.matterpoll.matterpoll”,“wrapped_extras”:“errorread |0: file already closed”}
{“level”:“error”,“ts”:1580828667.3582654,“caller”:“jobs/schedulers.go:161”,“msg”:“Failed to set next job run time: SqlJobStore.GetNewestJobByStatusAndType: Unable to get the newest job by status and type, Status=success, sql: database is closed”}
{“level”:“error”,“ts”:1580828672.043219,“caller”:“app/server.go:598”,“msg”:“Error starting server, err:tls: failed to find certificate PEM data in certificate input, but did find a private key; PEM inputs may have been switched”}

Observed behavior

apped_extras":“errorread |0: file already closed”}
{“level”:“error”,“ts”:1580828666.8629313,“caller”:“plugin/hclog_adapter.go:60”,“msg”:“reading plugin stderr”,“plugin_id”:“com.github.matterpoll.matterpoll”,“wrapped_extras”:“errorread |0: file already closed”}
{“level”:“error”,“ts”:1580828667.3582654,“caller”:“jobs/schedulers.go:161”,“msg”:“Failed to set next job run time: SqlJobStore.GetNewestJobByStatusAndType: Unable to get the newest job by status and type, Status=success, sql: database is closed”}
{“level”:“error”,“ts”:1580828672.043219,“caller”:“app/server.go:598”,“msg”:“Error starting server, err:tls: failed to find certificate PEM data in certificate input, but did find a private key; PEM inputs may have been switched”}
Please check on priority