carlosatta / hassio-addons

10 stars 4 forks source link

Meross addon fail to start #23

Open dalamario opened 4 years ago

dalamario commented 4 years ago

Hello Carlo,

Your addon for home assistant is no longer working, every time I try to start it I receive the following log:

[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 /run.sh: Exec format error [cmd] /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.

I'm on hassio 106.6.

Fl3eK commented 4 years ago

Hello,

I'm having the same issue on fresh install on HassOS 3.13 with Supervisor 222 and Hassio 0.109.6.

[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 /run.sh: Exec format error
[cmd] /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.

If you need any help, please feel free to ask, I can provide tests and some dev with indication.

Fl3eK commented 4 years ago

Maybe the header is missing in run.sh :

#!/bin/bash
cp /data/options.json .
pm2-runtime app.js
daplaji commented 4 years ago

I am in 110.2 and the addon still does not work. The addon does not start.

Malaga82 commented 4 years ago

Untill the package will get updates, if you want, use my forked version: https://github.com/Malaga82/meross-hassio-addons i'm using it right now and it's working fine.