jeroenterheerdt / ring-hassio

A Home Assistant add-on for live streaming from Ring devices.
MIT License
131 stars 93 forks source link

fatal: unable to exec /ring-hassio/ring_hassio/run.sh: Exec format error #5

Closed HarryJHolmes closed 4 years ago

HarryJHolmes commented 4 years ago

Hi I have just installed this addon on hassio and get the following errors:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0. [s6-init] ensuring user provided files have correct perms...exited 0. [fix-attrs.d] applying ownership & permissions fixes... [fix-attrs.d] done. [cont-init.d] executing container initialization scripts... [cont-init.d] done. [services.d] starting services [services.d] done. ifelse: fatal: unable to exec /ring-hassio/ring_hassio/run.sh: Exec format error [cmd] /ring-hassio/ring_hassio/run.sh exited 126 [cont-finish.d] executing container finish scripts... [cont-finish.d] done. [s6-finish] waiting for services. [s6-finish] sending all processes the TERM signal.

Not sure if anyone else has the same problem? I am running on an arm instance so that shouldn't be an issue but do have 2fa enabled?

HarryJHolmes commented 4 years ago

Also when attempting in standard docker it has the same error using an rpi4. @robert-alfaro have you come across this issue before?

HarryJHolmes commented 4 years ago

Fixed with #!/bin/bash added to top of run.sh file