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

ELF: not found

Open nvjacobo opened this issue 6 years ago • 5 comments

I have issue "ELF: not found " on Raspberry Pi 3B +

docker logs -f mattermostdocker_app_1 `` /mattermost/bin/mattermost: line 4: syntax error: unexpected “(” Using existing config file /mattermost/config/config.json Configure database connection…OK Starting mattermost /mattermost/bin/mattermost: line 1: ELF: not found /mattermost/bin/mattermost: line 2: @%: not found /mattermost/bin/mattermost: line 1: ��: not found /mattermost/bin/mattermost: line 3: ����o���@Z ��@� �@�@��@��@�@h� �����@8: not found /mattermost/bin/mattermost: line 4: syntax error: unexpected “(”

Client: Version: 18.09.0 API version: 1.39 Go version: go1.10.4 Git commit: 4d60db4 Built: Wed Nov 7 00:57:21 2018 OS/Arch: linux/arm Experimental: false

Server: Docker Engine - Community Engine: Version: 18.09.0 API version: 1.39 (minimum version 1.12) Go version: go1.10.4 Git commit: 4d60db4 Built: Wed Nov 7 00:17:57 2018 OS/Arch: linux/arm Experimental: false`

nvjacobo avatar Apr 30 '19 05:04 nvjacobo

Someone is having the same issue on the Mattermost Peer-to-Peer forum, and I think it's because you are using an ARM device. The Mattermost Docker image is using the AMD64 binary, so I think it can't work on a Raspberry PI, sorry.

pichouk avatar Apr 30 '19 21:04 pichouk

Someone is having the same issue on the Mattermost Peer-to-Peer forum, and I think it's because you are using an ARM device. The Mattermost Docker image is using the AMD64 binary, so I think it can't work on a Raspberry PI, sorry.

Thanks @pichouk. Do you have plans for ARM support in the future?

nvjacobo avatar May 02 '19 23:05 nvjacobo

I think there is no ARM compatible binary built by Mattermost, so I think we will not have an ARM compatible Docker image, sorry. I think you can find some information about this on Mattermost Forum.

pichouk avatar May 03 '19 07:05 pichouk

yes @pichouk is right the AMD64 binary release by mattermost which is used in the app/Dockerfile will not work with an ARM kernel. You might take a look at https://gitlab.com/nerzhul/dockerfiles/blob/master/mattermost-server-arm64/Dockerfile how to build the binaries with go yourself. Sadly there is not docker image tag for arm provided by mattermost.

eratio08 avatar Jan 07 '20 14:01 eratio08

thanks @eratio08

nvjacobo avatar Jan 08 '20 07:01 nvjacobo