mattermost-docker
mattermost-docker copied to clipboard
db error:db_1 | standard_init_linux.go:211: exec user process caused "no such file or directory"
mac osx system: docker-compose build ok! docker-compose up diplay error
db_1 | standard_init_linux.go:211: exec user process caused "no such file or directory" mattermost-docker-master_db_1 exited with code 1
I confirm this problem on my side.
I was getting this error on both the app and the db: standard_init_linux.go:211: exec user process caused "no such file or directory"
I was cloning the mattermost repo on a windows machine and copying it on to a Linux box. Changing the line endings from Windows CRLF to linux LF fixed this for me:
find app -type f -exec bash -c "dos2unix {}" \;
find db -type f -exec bash -c "dos2unix {}" \;
docker-compose build
docker-compose up
@jonnyelliot Thank you, sir! I had the exact same issue attempting to docker-compose up using Docker Desktop on Windows. The commands in the post above worked perfectly. I also had to run the command for the web app.