Exec format error - Wetek Hub with LibreELEC

server-docker

#1

Hi.

I'm trying to run Plex Media Server with Docker on Wetek Hub with LibreELEC (Krypton) v7.90.010.

First command
docker run -d --name plex --net=host -e TZ=Europe/Lisbon -e PLEX_CLAIM=claim-nv1K6uoTMQvnsjzBKJCv -v /storage/plex/database:/config -v /storage/plex/temp:/transcode -v /storage/videos:/data plexinc/pms-docker

docker logs -f plex

panic: standard_init_linux.go:175: exec user process caused "exec format error" [recovered]
panic: standard_init_linux.go:175: exec user process caused "exec format error"

goroutine 1 [running, locked to thread]:
panic(0x823580, 0x48201471f0)
/home/chewitt/LibreELEC.80-addons/build.LibreELEC-Odroid_C2.aarch64-8.0.0/toolchain/lib/golang/src/runtime/panic.go:481 +0x384
github.com/urfave/cli.HandleAction.func1(0x48200b92d0)
/home/chewitt/LibreELEC.80-addons/build.LibreELEC-Odroid_C2.aarch64-8.0.0/runc-02f8fa7/Godeps/_workspace/src/github.com/urfave/cli/app.go:478 +0x330
panic(0x823580, 0x48201471f0)
/home/chewitt/LibreELEC.80-addons/build.LibreELEC-Odroid_C2.aarch64-8.0.0/toolchain/lib/golang/src/runtime/panic.go:443 +0x4b4
github.com/opencontainers/runc/libcontainer.(*LinuxFactory).StartInitialization.func1(0x48200b8bd0, 0x482001e0a0, 0x48200b8ce0)
/home/chewitt/LibreELEC.80-addons/build.LibreELEC-Odroid_C2.aarch64-8.0.0/runc-02f8fa7/Godeps/_workspace/src/github.com/opencontainers/runc/libcontainer/factory_linux.go:259 +0x190
github.com/opencontainers/runc/libcontainer.(*LinuxFactory).StartInitialization(0x482006a870, 0x7f9b5e5488, 0x48201471f0)
/home/chewitt/LibreELEC.80-addons/build.LibreELEC-Odroid_C2.aarch64-8.0.0/runc-02f8fa7/Godeps/_workspace/src/github.com/opencontainers/runc/libcontainer/factory_linux.go:277 +0x4d8
main.glob.func8(0x482008a780, 0x0, 0x0)
/home/chewitt/LibreELEC.80-addons/build.LibreELEC-Odroid_C2.aarch64-8.0.0/runc-02f8fa7/main_unix.go:26 +0x50
reflect.Value.call(0x78af20, 0x933578, 0x13, 0x87e258, 0x4, 0x48200b9250, 0x1, 0x1, 0x0, 0x0, ...)
/home/chewitt/LibreELEC.80-addons/build.LibreELEC-Odroid_C2.aarch64-8.0.0/toolchain/lib/golang/src/reflect/value.go:435 +0xeec
reflect.Value.Call(0x78af20, 0x933578, 0x13, 0x48200b9250, 0x1, 0x1, 0x0, 0x0, 0x0)
/home/chewitt/LibreELEC.80-addons/build.LibreELEC-Odroid_C2.aarch64-8.0.0/toolchain/lib/golang/src/reflect/value.go:303 +0x88
github.com/urfave/cli.HandleAction(0x78af20, 0x933578, 0x482008a780, 0x0, 0x0)
/home/chewitt/LibreELEC.80-addons/build.LibreELEC-Odroid_C2.aarch64-8.0.0/runc-02f8fa7/Godeps/_workspace/src/github.com/urfave/cli/app.go:487 +0x23c
github.com/urfave/cli.Command.Run(0x881010, 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x912e00, 0x51, 0x0, ...)
/home/chewitt/LibreELEC.80-addons/build.LibreELEC-Odroid_C2.aarch64-8.0.0/runc-02f8fa7/Godeps/_workspace/src/github.com/urfave/cli/command.go:191 +0xdc8
github.com/urfave/cli.(*App).Run(0x4820001980, 0x482000a100, 0x2, 0x2, 0x0, 0x0)
/home/chewitt/LibreELEC.80-addons/build.LibreELEC-Odroid_C2.aarch64-8.0.0/runc-02f8fa7/Godeps/_workspace/src/github.com/urfave/cli/app.go:240 +0x8e4
main.main()
/home/chewitt/LibreELEC.80-addons/build.LibreELEC-Odroid_C2.aarch64-8.0.0/runc-02f8fa7/main.go:137 +0xce4

How do I fix this? :)

Thank you.

Tim.


#2

I see aarch64 in the above logs. I take it this means that you are running a 64-bit ARM architecture. The container images are only for 64-bit Intel architectures.


#3

Yes, I'm running LibreELEC 64-bit in a ARM architecture. Is there a way to make another container for Wetek Hub and other 64-bit ARMs? I just want to run plex media server in this box. Thank you.


#4

For the moment, we don't have any immediate plans to make Aarch64 deb packages but we are considering it for the future. The docker images as currently designed do require a deb package to exist for the requisite architecture.


#5

Bought this box to make one plex media server :(( My other chinese box didn't support docker and I thought this Wetek Hub should work :(


#6

+1 I want to run plex on a raspberry pi... having the same error