We're Hiring!

Mattermost, Inc.

Permission Denied on AWS Elastic Beanstalk

Summary

Following the Beanstalk installation guide here: https://docs.mattermost.com/install/docker-ebs.html the installation is successful, but the mattermost app fails to start, with the following error: Error: failed to load configuration: unable to load on store creation: failed to persist: failed to write file: open /mattermost/config/config.json: permission denied

Steps to reproduce

Follow the Beanstalk installation guide at https://docs.mattermost.com/install/docker-ebs.html

Expected behavior

For Mattermost to launch successfully with no errors

Observed behavior

Error when Mattermost attempts to start

Hello! I’m sorry to hear your having troubles, could you just confirm that you have given the file the proper permissions by running the command as follows:
sudo chmod 777 /mattermost/config/config.json
as well as providing the output of the command ls -alh /mattermost/config/

Thanks, I hope I can help you get this solved!

Thanks for the reply. I got Mattermost installed via a different method.

2 Likes

No problem, I’m glad to hear you got it figured out!

1 Like