mattermost-docker icon indicating copy to clipboard operation
mattermost-docker copied to clipboard

db error:db_1 | standard_init_linux.go:211: exec user process caused "no such file or directory"

Open unreal0 opened this issue 5 years ago • 3 comments

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

unreal0 avatar Oct 02 '19 16:10 unreal0

I confirm this problem on my side.

flavienbwk avatar Oct 11 '19 11:10 flavienbwk

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 avatar Jun 29 '20 14:06 jonnyelliot

@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.

mlangley33 avatar Jul 29 '20 17:07 mlangley33