Hello!!
I need to run hyperion as a docker container, becouse i have multiple setups in my home and i need multiple instances of it.
I found a Docker image: https://hub.docker.com/r/sirfragalot/hyperion.ng
But it's outdated and it has no source code.
I actually have a Raspberry PI 4,. I was trying to build a new docker file with latest hyperion version, but i am encountering some problems.
This is my Docker File:
Docker
FROM balenalib/raspberrypi3:run
RUN install_packages \
libpython3.5 \
libjpeg62-turbo \
libavahi-compat-libdnssd1 \
libdbus-1-3 \
libqt5sql5 \
libqt5serialport5 \
libqt5network5 \
libqt5widgets5 \
libqt5gui5 \
libqt5core5a \
libcec4
ENV RELEASE 2.0.0-alpha.10/Hyperion-2.0.0-alpha.10-Linux-armv7l
RUN curl -fsSL https://github.com/hyperion-project/hyperion.ng/releases/download/${RELEASE}.deb > /tmp/hypeperion.deb
EXPOSE 8090 8091 19333 19400 19445
VOLUME /config
CMD hyperiond -u /config
Alles anzeigen
But i get this errors:
First, during package install:
Code
Get:92 http://archive.raspbian.org/raspbian buster/main armhf libqt5widgets5 armhf 5.11.3+dfsg1-1+rpi1+deb10u4 [1937 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 30.5 MB in 4s (6919 kB/s)
And then this:
Code
Selecting previously unselected package hyperion.
(Reading database ... 12731 files and directories currently installed.)
Preparing to unpack /tmp/hyperion.deb ...
---Hyperion ambient light preinst ---
/var/lib/dpkg/tmp.ci/preinst: 6: /var/lib/dpkg/tmp.ci/preinst: root: not found
Unpacking hyperion (2.0.0-alpha.10) ...
Setting up hyperion (2.0.0-alpha.10) ...
--- Hyperion ambient light postinstall ---
/var/lib/dpkg/info/hyperion.postinst: 33: /var/lib/dpkg/info/hyperion.postinst: root: not found
---> init deamon: sysV
hyperiond: unrecognized service
---> Install Hyperion desktop icons
---> Warning: RPi using BERRYBOOT found but can not locate where config.txt is to enable SPI. (BOOT_DIR=/boot)
---> service hyperiond start
-----------------------------------------------------------------------------
---> Hyperion has been installed/updated!
Alles anzeigen
Any ideas?
Thanks in advance
Ok, besides the errors when building the image, it Works!!
Here is the final Dockerfile for raspberry:
Docker
FROM balenalib/armv7hf:run
RUN install_packages \
libpython3.5 \
libjpeg62-turbo \
libavahi-compat-libdnssd1 \
libdbus-1-3 \
libqt5sql5 \
libqt5serialport5 \
libqt5network5 \
libqt5widgets5 \
libqt5gui5 \
libqt5core5a \
libcec4 \
libusb-1.0-0
ENV RELEASE 2.0.0-alpha.10/Hyperion-2.0.0-alpha.10-Linux-armv7l
RUN curl -fsSL https://github.com/hyperion-project/hyperion.ng/releases/download/${RELEASE}.deb > /tmp/hyperion.deb && dpkg -i /tmp/hyperion.deb && rm -f /tmp/hyperion.deb
EXPOSE 8090 8091 19333 19400 19445
VOLUME /config
CMD hyperiond -u /config
Alles anzeigen
Haven't tested everything yet, but the webUi is working Ok!!
One question, where are configuration files saved?