archlinux 0 Posted July 21, 2019 Posted July 21, 2019 Hello there! Emby has a build for archlinux. Emby has a build for the pi4 (debian). Can it run on armv7h with arch linux? $uname -aLinux pi4 4.19.58-1-ARCH #1 SMP PREEMPT Tue Jul 16 01:25:23 UTC 2019 armv7l GNU/Linux I used debtab to convert to an armv7h arch package, then installed sudo pacman -U emby-server-4.2.0.33-1-armv7h.pkg.tar.xz (1/1) installing emby-server [#######################################################################] 100% /tmp/alpm_iTdiS9/.INSTALL: line 3: syntax error near unexpected token `}' /tmp/alpm_iTdiS9/.INSTALL: line 3: `}' /usr/bin/bash: post_upgrade: command not found error: command failed to execute correctly :: Running post-transaction hooks... (1/2) Reloading system manager configuration... (2/2) Arming ConditionNeedsUpdate... [root@pi4 pi]# systemctl status emby-server * emby-server.service - Emby Server is a personal media server with apps on just about every device. Loaded: loaded (/usr/lib/systemd/system/emby-server.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Sun 2019-07-21 20:34:49 UTC; 19min ago Main PID: 309 (code=exited, status=217/USER) Jul 21 20:34:49 pi4 systemd[1]: Started Emby Server is a personal media server with apps on just about every device.. Jul 21 20:34:49 pi4 systemd[309]: emby-server.service: Failed to determine user credentials: No such process Jul 21 20:34:49 pi4 systemd[309]: emby-server.service: Failed at step USER spawning /opt/emby-server/bin/emby-server: No such process Jul 21 20:34:49 pi4 systemd[1]: emby-server.service: Main process exited, code=exited, status=217/USER Jul 21 20:34:49 pi4 systemd[1]: emby-server.service: Failed with result 'exit-code'. Would anyone have any pointers? It ran on buster with the pi4, but buster isn't as reliable (for me - I know the difference between debian and bleeding-edge arch, just let me have my arch, ok?) . Thanks!
Luke 42078 Posted July 22, 2019 Posted July 22, 2019 Hi, I'm afraid we haven't tested what you're trying to do so we don't have answers at this time. Thanks.
archlinux 0 Posted July 22, 2019 Author Posted July 22, 2019 OK, there's this docker thing that might work. Installed, ran: docker run -d --volume /path/to/programdata:/config --volume /mnt/green64:/mnt/share1 --volume /mnt/fatboy:/mnt/share2 --volume /mnt/hawaii:/mnt/share3 --publish 8096:8096 --publish 8920:8920 --env UID=1000 --env GID=100 --env GIDLIST=100 emby/embyserver:latest Gives: [root@pi4 pi]# docker container ls CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 1226a9f9e5c9 emby/embyserver:latest "/init" 7 seconds ago Up 2 seconds 1900/udp, 0.0.0.0:8096->8096/tcp, 7359/udp, 0.0.0.0:8920->8920/tcp dreamy_chebyshev This container disappears (Why? I need to find logs..) quite quickly. I think 0.0.0.0 should instead be my ip. Anyone have any useful information on what I could try? Many thanks. More info: [root@pi4 pi]# docker versionClient: Version: 18.09.8-ce API version: 1.39 Go version: go1.12.7 Git commit: 0dd43dd87f Built: Thu Jul 18 13:58:52 2019 OS/Arch: linux/arm Experimental: false Server: Engine: Version: 18.09.8-ce API version: 1.39 (minimum version 1.12) Go version: go1.12.7 Git commit: 0dd43dd87f Built: Thu Jul 18 13:58:12 2019 OS/Arch: linux/arm Experimental: false [root@pi4 pi]# docker image ls REPOSITORY TAG IMAGE ID CREATED SIZE emby/embyserver latest 8b6f0a928f65 2 months ago 261MB
Luke 42078 Posted July 22, 2019 Posted July 22, 2019 Have you referred to our docker install instructions? https://emby.media/docker-server.html
archlinux 0 Posted July 22, 2019 Author Posted July 22, 2019 Hi Luke, Yes, that's how I installed it, from the info at https://hub.docker.com/r/emby/embyserver/
mastrmind11 722 Posted July 23, 2019 Posted July 23, 2019 (edited) That's normal. If you want the container to explicitly assume your server's IP address, then you need to run the container in host mode. Edited July 23, 2019 by mastrmind11
archlinux 0 Posted July 24, 2019 Author Posted July 24, 2019 (edited) Hi, I tried this on my arch laptop - all fine (with the commands I detailed before). On the pi4: standard_init_linux.go:211: exec user process caused "exec format error" I think the docker image needs to support arm https://stackoverflow.com/questions/52767983/docker-error-standard-init-linux-go185-exec-user-process-caused-exec-format-e All the devs need to do is build it with multi-arch support. Edited July 24, 2019 by archlinux
Luke 42078 Posted July 24, 2019 Posted July 24, 2019 We have separate containers for different architectures. It's in the instructions.
archlinux 0 Posted August 22, 2019 Author Posted August 22, 2019 (edited) Just an update. Mainly to help me as I tend to retrace my steps with this sort of thing. Some things to note: pacman -S linux-raspberrypi4 install / start / enable docker docker pull emby/embyserver_arm32v7 docker run -d --restart=unless-stopped --volume /path/to/programdata:/config --volume /mnt/green64:/mnt/share1 --volume /mnt/fatboy:/mnt/share2 --volume /mnt/hawaii:/mnt/share3 --publish 8096:8096 --publish 8920:8920 --env UID=1000 --env GID=100 --env GIDLIST=100 emby/embyserver_arm32v7:latest The /mnt/hawaii and /mnt/fatboy are the external hdds with media on. The /mnt/green64 is a flash drive useful for incomplete torrents. I also use this for the emby cache and metadata. I forgot to do this for the metadata with the docker install first time round, so I set it afterwards in the emby web gui. This doesn't automatically move old metadata files, so the idea is to delete & refresh. sudo docker ps (lists containers, here emby container is vibrant_swanson) sudo docker exec -it vibrant_swanson rm -rf config/metadata/ (scan libraries in emby web gui) To update, I stopped the container and removed it: sudo docker stop determined_zhukovsky docker remove determined_zhukovsky docker pull emby/embyserver_arm32v7 Then the long docker run command above again. HTH (by the way, the pi4 now has hevc hardware decoding, does anyone know howto utilize it with the setup above?) Edited August 22, 2019 by archlinux
Luke 42078 Posted August 22, 2019 Posted August 22, 2019 Thanks for the info ! (by the way, the pi4 now has hevc hardware decoding, does anyone know howto utilize it with the setup above?) Fyi, our native, non-docker package supports hardware encoding with the Pi.
ichanmich 0 Posted September 24, 2019 Posted September 24, 2019 Hi, is there any news on getting emby server to run natively on a Raspberry Pie 4 with archARM? Could I compile it myself on the pie? I have no experience with VS or C# projects though
Luke 42078 Posted September 24, 2019 Posted September 24, 2019 Hi, is there any news on getting emby server to run natively on a Raspberry Pie 4 with archARM? Could I compile it myself on the pie? I have no experience with VS or C# projects though @@alucryd may have some thoughts on that.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now