stas-demydiuk / ewpe-smart-mqtt

MQTT bridge for EWPE Smart powered devices
MIT License
64 stars 26 forks source link

Rpi 4 docker fatal error #25

Open pczolee opened 3 years ago

pczolee commented 3 years ago

Hi.

I have rpi 4 with openmediavault (Debian Buster) and portainer installed, I tried to run ewpe-smart-mqtt from docker but it won't. In the log I see:

Fatal error in , line 0

unreachable code

FailureMessage Object: 0xbeb385ac#22

The container details are:

Image demydiuk/ewpe-smart-mqtt:latest@sha256:e092d90ea677205de80295a14a706dbcb12260b6259c936725747a419d45ba95
CMD npm start
ENTRYPOINT docker-entrypoint.sh
ENV DEVICE_POLL_INTERVAL 5000 MQTT_BASE_TOPIC ewpe-smart MQTT_SERVER mqtt://127.0.0.1 NETWORK 192.168.1.255 NODE_VERSION 16.8.0 PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin YARN_VERSION 1.22.5 DEVICE_POLL_INTERVAL 5000 MQTT_BASE_TOPIC ewpe-smart MQTT_SERVER mqtt://127.0.0.1 NETWORK 192.168.1.255 NODE_VERSION 16.8.0 PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin YARN_VERSION 1.22.5
DEVICE_POLL_INTERVAL 5000
MQTT_BASE_TOPIC ewpe-smart
MQTT_SERVER mqtt://127.0.0.1
NETWORK 192.168.1.255
NODE_VERSION 16.8.0
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
YARN_VERSION 1.22.5
Labels org.opencontainers.image.created 2021-09-04T11:11:09.308Z org.opencontainers.image.description MQTT bridge for EWPE Smart powered devices org.opencontainers.image.licenses MIT org.opencontainers.image.revision 32d6b52031b13f90178d27d0290f87ee227a0993 org.opencontainers.image.source https://github.com/stas-demydiuk/ewpe-smart-mqtt org.opencontainers.image.title ewpe-smart-mqtt org.opencontainers.image.url https://github.com/stas-demydiuk/ewpe-smart-mqtt org.opencontainers.image.version master org.opencontainers.image.created 2021-09-04T11:11:09.308Z org.opencontainers.image.description MQTT bridge for EWPE Smart powered devices org.opencontainers.image.licenses MIT org.opencontainers.image.revision 32d6b52031b13f90178d27d0290f87ee227a0993 org.opencontainers.image.source https://github.com/stas-demydiuk/ewpe-smart-mqtt org.opencontainers.image.title ewpe-smart-mqtt org.opencontainers.image.url https://github.com/stas-demydiuk/ewpe-smart-mqtt org.opencontainers.image.version master
org.opencontainers.image.created 2021-09-04T11:11:09.308Z
org.opencontainers.image.description MQTT bridge for EWPE Smart powered devices
org.opencontainers.image.licenses MIT
org.opencontainers.image.revision 32d6b52031b13f90178d27d0290f87ee227a0993
org.opencontainers.image.source https://github.com/stas-demydiuk/ewpe-smart-mqtt
org.opencontainers.image.title ewpe-smart-mqtt
org.opencontainers.image.url https://github.com/stas-demydiuk/ewpe-smart-mqtt
org.opencontainers.image.version master

What Is the problem?

Thanks

shgubar commented 1 year ago

Please try this: wget https://ftp.debian.org/debian/pool/main/libs/libseccomp/libseccomp2_2.5.4-1+b1_armhf.deb sudo dpkg -i libseccomp2_2.5.4-1+b1_armhf.deb