hassio-addons/addon-ledfx

Errors

akarpych opened this issue · 27 comments

After the last update, I get an error on startup:
with code 256 (by signal 11)
[12:45:29] INFO: Starting ledfx...
Loading configuration file: /data/ledfx/config.json
[12:45:30] INFO: Service ledfx exited with code 256 (by signal 11)
[12:45:30] INFO: Starting ledfx...
2023/01/08 12:45:31 [error] 225#225: *7 connect() failed (111: Connection refused) while connecting to upstream, client: 172.30.32.1, server: 40817795-ledfx, request: "GET /api/config HTTP/1.1", upstream: "http://127.0.0.1:8888/api/config", host: "localhost:5333"
Loading configuration file: /data/ledfx/config.json
[12:45:31] INFO: Service ledfx exited with code 256 (by signal 11)
[12:45:31] INFO: Starting ledfx...
how can this be fixed?

borky commented

i have the same error. did you find a solution?

Please provide the full logs with system information.

Home Assistant 2023.1.4
Supervisor 2022.12.1
Operating System 9.4
Frontend 20230110.0 - latest
Ledfx current version: d7e3146

After the HAOS update, the LedFX addon stopped working, the LedFX addon itself is running, but the web interface does not load, gives the error 502 Bad Gateway and keeps trying to load the configuration file: /data/led fx/config.json, and this in turn heavily loads the processor

image
image

As soon as I turn off the addon, the load drops
image

Probably related to the S6 changes in #127 but I don't know how it works exactly:
ledfx/rootfs/etc/s6-overlay/s6-rc.d/init-ledfx/run.

Similar problem
Supervisor log:
23-01-17 20:36:09 INFO (SyncWorker_0) [supervisor.docker.addon] Starting Docker add-on ghcr.io/hassio-addons/ledfx/amd64 with version d7e3146
23-01-17 20:36:17 INFO (MainThread) [supervisor.auth] Auth request from '40817795_ledfx' for '1'
23-01-17 20:36:17 WARNING (MainThread) [supervisor.auth] Unauthorized login for '1'

Similar for me with image
ghcr.io/hassio-addons/ledfx/amd64 d7e3146

For me it seems the process is being killed:

root@40817795-ledfx:/$ /usr/bin/python3 /usr/bin/ledfx --offline --config /data/ledfx -vvvv
[INFO    ] ledfx.__main__                 : Unable to set priority, please run as root or sudo if you are experiencing frame rate issues
[INFO    ] ledfx.__main__                 : LedFx Core is initializing
Loading configuration file: /data/ledfx/config.json
[INFO    ] ledfx.config                   : LedFx Configuration Version: 2.1.0
Segmentation fault (core dumped)

Config (default):

root@40817795-ledfx:/$ cat /data/ledfx/config.json
{
    "audio": {},
    "configuration_version": "2.1.0",
    "dev_mode": false,
    "devices": [],
    "global_transitions": true,
    "host": "0.0.0.0",
    "integrations": [],
    "ledfx_presets": {},
    "melbanks": {},
    "port": 8888,
    "port_s": 8443,
    "scan_on_startup": false,
    "scenes": {},
    "user_colors": {},
    "user_gradients": {},
    "user_presets": {},
    "virtuals": [],
    "visualisation_fps": 30,
    "visualisation_maxlen": 50,
    "wled_preferences": {}
}

(Sorry I don't have a BT at hand, but can provide the core dump file)

the problem is with spatialaudio/python-sounddevice#90 it do segmentation fault on alpine in docker

Same problem

prbtt commented

same issue.

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting
-----------------------------------------------------------
 Add-on: ledfx
 A network based LED effect controller with support for advanced real-time audio effects!
-----------------------------------------------------------
 Add-on version: d7e3146
 You are running the latest version of this add-on.
 System: Home Assistant OS 9.5  (amd64 / generic-x86-64)
 Home Assistant Core: 2023.2.3
 Home Assistant Supervisor: 2023.01.1
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
Log level is set to DEBUG
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-nginx: starting
s6-rc: info: service init-ledfx: starting
s6-rc: info: service init-ledfx successfully started
s6-rc: info: service ledfx: starting
s6-rc: info: service ledfx successfully started
[22:12:50] INFO: Starting ledfx...
s6-rc: info: service init-nginx successfully started
s6-rc: info: service nginx: starting
s6-rc: info: service nginx successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[22:12:50] INFO: Starting NGINX...
Loading configuration file: /data/ledfx/config.json
[22:12:52] INFO: Service ledfx exited with code 256 (by signal 11)
[22:12:52] INFO: Starting ledfx...
Loading configuration file: /data/ledfx/config.json
[22:12:54] INFO: Service ledfx exited with code 256 (by signal 11)
[22:12:54] INFO: Starting ledfx...

Works with version ledFX 0.10.7

prbtt commented

Works with version ledFX 0.10.7

How would I get 0.10.7?

addon-ledfx-main.zip unzip to /usr/share/hassio/addons/local/ then install local addon

prbtt commented

/usr/share/hassio/addons/local/

got this error:

The command '/bin/bash -o pipefail -c apk add --no-cache --virtual .build-dependencies build-base=0.5-r3 cython=0.29.32-r0 python3-dev=3.10.9-r1 zlib-dev=1.2.13-r0 && apk add --no-cache alsa-plugins-pulse=1.2.7.1-r0 ffmpeg-libs=5.1.2-r1 nginx=1.22.1-r0 portaudio-dev=19.7.0-r0 pulseaudio-alsa=16.1-r6 pulseaudio=16.1-r6 py3-packaging=21.3-r2 py3-pip=22.3.1-r1 python3=3.10.9-r1 && pip3 install -r /tmp/requirements.txt && apk del --no-cache --purge .build-dependencies && rm -fr /etc/nginx /root/.cache /tmp/*' returned a non-zero code: 2

/usr/share/hassio/addons/local/

got this error:

The command '/bin/bash -o pipefail -c apk add --no-cache --virtual .build-dependencies build-base=0.5-r3 cython=0.29.32-r0 python3-dev=3.10.9-r1 zlib-dev=1.2.13-r0 && apk add --no-cache alsa-plugins-pulse=1.2.7.1-r0 ffmpeg-libs=5.1.2-r1 nginx=1.22.1-r0 portaudio-dev=19.7.0-r0 pulseaudio-alsa=16.1-r6 pulseaudio=16.1-r6 py3-packaging=21.3-r2 py3-pip=22.3.1-r1 python3=3.10.9-r1 && pip3 install -r /tmp/requirements.txt && apk del --no-cache --purge .build-dependencies && rm -fr /etc/nginx /root/.cache /tmp/*' returned a non-zero code: 2

Same problem

/usr/share/hassio/addons/local/

got this error:

The command '/bin/bash -o pipefail -c apk add --no-cache --virtual .build-dependencies build-base=0.5-r3 cython=0.29.32-r0 python3-dev=3.10.9-r1 zlib-dev=1.2.13-r0 && apk add --no-cache alsa-plugins-pulse=1.2.7.1-r0 ffmpeg-libs=5.1.2-r1 nginx=1.22.1-r0 portaudio-dev=19.7.0-r0 pulseaudio-alsa=16.1-r6 pulseaudio=16.1-r6 py3-packaging=21.3-r2 py3-pip=22.3.1-r1 python3=3.10.9-r1 && pip3 install -r /tmp/requirements.txt && apk del --no-cache --purge .build-dependencies && rm -fr /etc/nginx /root/.cache /tmp/*' returned a non-zero code: 2

Have you found a solution to the problem?

prbtt commented

/usr/share/hassio/addons/local/

got this error:

The command '/bin/bash -o pipefail -c apk add --no-cache --virtual .build-dependencies build-base=0.5-r3 cython=0.29.32-r0 python3-dev=3.10.9-r1 zlib-dev=1.2.13-r0 && apk add --no-cache alsa-plugins-pulse=1.2.7.1-r0 ffmpeg-libs=5.1.2-r1 nginx=1.22.1-r0 portaudio-dev=19.7.0-r0 pulseaudio-alsa=16.1-r6 pulseaudio=16.1-r6 py3-packaging=21.3-r2 py3-pip=22.3.1-r1 python3=3.10.9-r1 && pip3 install -r /tmp/requirements.txt && apk del --no-cache --purge .build-dependencies && rm -fr /etc/nginx /root/.cache /tmp/*' returned a non-zero code: 2

Have you found a solution to the problem?

Yes. I'm pretty sure I used a different build than this.

/usr/share/hassio/addons/local/

got this error:

The command '/bin/bash -o pipefail -c apk add --no-cache --virtual .build-dependencies build-base=0.5-r3 cython=0.29.32-r0 python3-dev=3.10.9-r1 zlib-dev=1.2.13-r0 && apk add --no-cache alsa-plugins-pulse=1.2.7.1-r0 ffmpeg-libs=5.1.2-r1 nginx=1.22.1-r0 portaudio-dev=19.7.0-r0 pulseaudio-alsa=16.1-r6 pulseaudio=16.1-r6 py3-packaging=21.3-r2 py3-pip=22.3.1-r1 python3=3.10.9-r1 && pip3 install -r /tmp/requirements.txt && apk del --no-cache --purge .build-dependencies && rm -fr /etc/nginx /root/.cache /tmp/*' returned a non-zero code: 2

Have you found a solution to the problem?

Yes. I'm pretty sure I used a different build than this.

can you share it?

prbtt commented

/usr/share/hassio/addons/local/

got this error:

The command '/bin/bash -o pipefail -c apk add --no-cache --virtual .build-dependencies build-base=0.5-r3 cython=0.29.32-r0 python3-dev=3.10.9-r1 zlib-dev=1.2.13-r0 && apk add --no-cache alsa-plugins-pulse=1.2.7.1-r0 ffmpeg-libs=5.1.2-r1 nginx=1.22.1-r0 portaudio-dev=19.7.0-r0 pulseaudio-alsa=16.1-r6 pulseaudio=16.1-r6 py3-packaging=21.3-r2 py3-pip=22.3.1-r1 python3=3.10.9-r1 && pip3 install -r /tmp/requirements.txt && apk del --no-cache --purge .build-dependencies && rm -fr /etc/nginx /root/.cache /tmp/*' returned a non-zero code: 2

Have you found a solution to the problem?

Yes. I'm pretty sure I used a different build than this.

can you share it?

https://github.com/YeonV/home-assistant-addons

/usr/share/hassio/addons/local/

got this error:

The command '/bin/bash -o pipefail -c apk add --no-cache --virtual .build-dependencies build-base=0.5-r3 cython=0.29.32-r0 python3-dev=3.10.9-r1 zlib-dev=1.2.13-r0 && apk add --no-cache alsa-plugins-pulse=1.2.7.1-r0 ffmpeg-libs=5.1.2-r1 nginx=1.22.1-r0 portaudio-dev=19.7.0-r0 pulseaudio-alsa=16.1-r6 pulseaudio=16.1-r6 py3-packaging=21.3-r2 py3-pip=22.3.1-r1 python3=3.10.9-r1 && pip3 install -r /tmp/requirements.txt && apk del --no-cache --purge .build-dependencies && rm -fr /etc/nginx /root/.cache /tmp/*' returned a non-zero code: 2

Have you found a solution to the problem?

Yes. I'm pretty sure I used a different build than this.

can you share it?

https://github.com/YeonV/home-assistant-addons

Thank you! I'll check if it works tomorrow

/usr/share/hassio/addons/local/

got this error:

The command '/bin/bash -o pipefail -c apk add --no-cache --virtual .build-dependencies build-base=0.5-r3 cython=0.29.32-r0 python3-dev=3.10.9-r1 zlib-dev=1.2.13-r0 && apk add --no-cache alsa-plugins-pulse=1.2.7.1-r0 ffmpeg-libs=5.1.2-r1 nginx=1.22.1-r0 portaudio-dev=19.7.0-r0 pulseaudio-alsa=16.1-r6 pulseaudio=16.1-r6 py3-packaging=21.3-r2 py3-pip=22.3.1-r1 python3=3.10.9-r1 && pip3 install -r /tmp/requirements.txt && apk del --no-cache --purge .build-dependencies && rm -fr /etc/nginx /root/.cache /tmp/*' returned a non-zero code: 2

Have you found a solution to the problem?

Yes. I'm pretty sure I used a different build than this.

can you share it?

https://github.com/YeonV/home-assistant-addons

Can't install ghcr.io/yeonv/amd64-addon-ledfx:2.0.62: 500 Server Error for http+docker://localhost/v1.42/images/create?tag=2.0.62&fromImage=ghcr.io%2Fyeonv%2Famd64-addon-ledfx&platform=linux%2Famd64: Internal Server Error ("Get "https://ghcr.io/v2/": dial tcp: lookup ghcr.io on 127.0.0.1:53: read udp 127.0.0.1:42914->127.0.0.1:53: read: connection refused")

prbtt commented

/usr/share/hassio/addons/local/

got this error:

The command '/bin/bash -o pipefail -c apk add --no-cache --virtual .build-dependencies build-base=0.5-r3 cython=0.29.32-r0 python3-dev=3.10.9-r1 zlib-dev=1.2.13-r0 && apk add --no-cache alsa-plugins-pulse=1.2.7.1-r0 ffmpeg-libs=5.1.2-r1 nginx=1.22.1-r0 portaudio-dev=19.7.0-r0 pulseaudio-alsa=16.1-r6 pulseaudio=16.1-r6 py3-packaging=21.3-r2 py3-pip=22.3.1-r1 python3=3.10.9-r1 && pip3 install -r /tmp/requirements.txt && apk del --no-cache --purge .build-dependencies && rm -fr /etc/nginx /root/.cache /tmp/*' returned a non-zero code: 2

Have you found a solution to the problem?

Yes. I'm pretty sure I used a different build than this.

can you share it?

https://github.com/YeonV/home-assistant-addons

Can't install ghcr.io/yeonv/amd64-addon-ledfx:2.0.62: 500 Server Error for http+docker://localhost/v1.42/images/create?tag=2.0.62&fromImage=ghcr.io%2Fyeonv%2Famd64-addon-ledfx&platform=linux%2Famd64: Internal Server Error ("Get "https://ghcr.io/v2/": dial tcp: lookup ghcr.io on 127.0.0.1:53: read udp 127.0.0.1:42914->127.0.0.1:53: read: connection refused")

I'm running 2.0.6 and indeed I can't update to 2.0.62

/usr/share/hassio/addons/local/

got this error:

The command '/bin/bash -o pipefail -c apk add --no-cache --virtual .build-dependencies build-base=0.5-r3 cython=0.29.32-r0 python3-dev=3.10.9-r1 zlib-dev=1.2.13-r0 && apk add --no-cache alsa-plugins-pulse=1.2.7.1-r0 ffmpeg-libs=5.1.2-r1 nginx=1.22.1-r0 portaudio-dev=19.7.0-r0 pulseaudio-alsa=16.1-r6 pulseaudio=16.1-r6 py3-packaging=21.3-r2 py3-pip=22.3.1-r1 python3=3.10.9-r1 && pip3 install -r /tmp/requirements.txt && apk del --no-cache --purge .build-dependencies && rm -fr /etc/nginx /root/.cache /tmp/*' returned a non-zero code: 2

Have you found a solution to the problem?

Yes. I'm pretty sure I used a different build than this.

can you share it?

https://github.com/YeonV/home-assistant-addons

Can't install ghcr.io/yeonv/amd64-addon-ledfx:2.0.62: 500 Server Error for http+docker://localhost/v1.42/images/create?tag=2.0.62&fromImage=ghcr.io%2Fyeonv%2Famd64-addon-ledfx&platform=linux%2Famd64: Internal Server Error ("Get "https://ghcr.io/v2/": dial tcp: lookup ghcr.io on 127.0.0.1:53: read udp 127.0.0.1:42914->127.0.0.1:53: read: connection refused")

I'm running 2.0.6 and indeed I can't update to 2.0.62

how can i set the version 2.0.6

prbtt commented

/usr/share/hassio/addons/local/

got this error:

The command '/bin/bash -o pipefail -c apk add --no-cache --virtual .build-dependencies build-base=0.5-r3 cython=0.29.32-r0 python3-dev=3.10.9-r1 zlib-dev=1.2.13-r0 && apk add --no-cache alsa-plugins-pulse=1.2.7.1-r0 ffmpeg-libs=5.1.2-r1 nginx=1.22.1-r0 portaudio-dev=19.7.0-r0 pulseaudio-alsa=16.1-r6 pulseaudio=16.1-r6 py3-packaging=21.3-r2 py3-pip=22.3.1-r1 python3=3.10.9-r1 && pip3 install -r /tmp/requirements.txt && apk del --no-cache --purge .build-dependencies && rm -fr /etc/nginx /root/.cache /tmp/*' returned a non-zero code: 2

Have you found a solution to the problem?

Yes. I'm pretty sure I used a different build than this.

can you share it?

https://github.com/YeonV/home-assistant-addons

Can't install ghcr.io/yeonv/amd64-addon-ledfx:2.0.62: 500 Server Error for http+docker://localhost/v1.42/images/create?tag=2.0.62&fromImage=ghcr.io%2Fyeonv%2Famd64-addon-ledfx&platform=linux%2Famd64: Internal Server Error ("Get "https://ghcr.io/v2/": dial tcp: lookup ghcr.io on 127.0.0.1:53: read udp 127.0.0.1:42914->127.0.0.1:53: read: connection refused")

I'm running 2.0.6 and indeed I can't update to 2.0.62

how can i set the version 2.0.6

I just tried again and I was able to update to 2.0.62

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/ledfx.sh
cont-init: info: /etc/cont-init.d/ledfx.sh exited 0
cont-init: info: running /etc/cont-init.d/nginx.sh
cont-init: info: /etc/cont-init.d/nginx.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun ledfx (no readiness notification)
services-up: info: copying legacy longrun nginx (no readiness notification)
-----------------------------------------------------------
LedFx backend host /api/hassio_ingress/N1u9GbNqC-fTS-DO9BCoDyV7kF2_V5j-KxqoGWAeRy4/#/./
-----------------------------------------------------------
s6-rc: info: service legacy-services successfully started
[14:11:59] INFO: Starting ledfx...
[WARNING ] ledfx.effects.audio            : Discarded malformed audio frame - 481 samples, expected 500
[14:12:02] INFO: Starting NGinx...

/usr/share/hassio/addons/local/

got this error:

The command '/bin/bash -o pipefail -c apk add --no-cache --virtual .build-dependencies build-base=0.5-r3 cython=0.29.32-r0 python3-dev=3.10.9-r1 zlib-dev=1.2.13-r0 && apk add --no-cache alsa-plugins-pulse=1.2.7.1-r0 ffmpeg-libs=5.1.2-r1 nginx=1.22.1-r0 portaudio-dev=19.7.0-r0 pulseaudio-alsa=16.1-r6 pulseaudio=16.1-r6 py3-packaging=21.3-r2 py3-pip=22.3.1-r1 python3=3.10.9-r1 && pip3 install -r /tmp/requirements.txt && apk del --no-cache --purge .build-dependencies && rm -fr /etc/nginx /root/.cache /tmp/*' returned a non-zero code: 2

Have you found a solution to the problem?

Yes. I'm pretty sure I used a different build than this.

can you share it?

https://github.com/YeonV/home-assistant-addons

Can't install ghcr.io/yeonv/amd64-addon-ledfx:2.0.62: 500 Server Error for http+docker://localhost/v1.42/images/create?tag=2.0.62&fromImage=ghcr.io%2Fyeonv%2Famd64-addon-ledfx&platform=linux%2Famd64: Internal Server Error ("Get "https://ghcr.io/v2/": dial tcp: lookup ghcr.io on 127.0.0.1:53: read udp 127.0.0.1:42914->127.0.0.1:53: read: connection refused")

I'm running 2.0.6 and indeed I can't update to 2.0.62

how can i set the version 2.0.6

I just tried again and I was able to update to 2.0.62

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/ledfx.sh
cont-init: info: /etc/cont-init.d/ledfx.sh exited 0
cont-init: info: running /etc/cont-init.d/nginx.sh
cont-init: info: /etc/cont-init.d/nginx.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun ledfx (no readiness notification)
services-up: info: copying legacy longrun nginx (no readiness notification)
-----------------------------------------------------------
LedFx backend host /api/hassio_ingress/N1u9GbNqC-fTS-DO9BCoDyV7kF2_V5j-KxqoGWAeRy4/#/./
-----------------------------------------------------------
s6-rc: info: service legacy-services successfully started
[14:11:59] INFO: Starting ledfx...
[WARNING ] ledfx.effects.audio            : Discarded malformed audio frame - 481 samples, expected 500
[14:12:02] INFO: Starting NGinx...

I restarted the home assistant and it worked for me too!

/usr/share/hassio/addons/local/

got this error:

The command '/bin/bash -o pipefail -c apk add --no-cache --virtual .build-dependencies build-base=0.5-r3 cython=0.29.32-r0 python3-dev=3.10.9-r1 zlib-dev=1.2.13-r0 && apk add --no-cache alsa-plugins-pulse=1.2.7.1-r0 ffmpeg-libs=5.1.2-r1 nginx=1.22.1-r0 portaudio-dev=19.7.0-r0 pulseaudio-alsa=16.1-r6 pulseaudio=16.1-r6 py3-packaging=21.3-r2 py3-pip=22.3.1-r1 python3=3.10.9-r1 && pip3 install -r /tmp/requirements.txt && apk del --no-cache --purge .build-dependencies && rm -fr /etc/nginx /root/.cache /tmp/*' returned a non-zero code: 2

Have you found a solution to the problem?

Yes. I'm pretty sure I used a different build than this.

can you share it?

https://github.com/YeonV/home-assistant-addons

Can't install ghcr.io/yeonv/amd64-addon-ledfx:2.0.62: 500 Server Error for http+docker://localhost/v1.42/images/create?tag=2.0.62&fromImage=ghcr.io%2Fyeonv%2Famd64-addon-ledfx&platform=linux%2Famd64: Internal Server Error ("Get "https://ghcr.io/v2/": dial tcp: lookup ghcr.io on 127.0.0.1:53: read udp 127.0.0.1:42914->127.0.0.1:53: read: connection refused")

I'm running 2.0.6 and indeed I can't update to 2.0.62

how can i set the version 2.0.6

I just tried again and I was able to update to 2.0.62

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/ledfx.sh
cont-init: info: /etc/cont-init.d/ledfx.sh exited 0
cont-init: info: running /etc/cont-init.d/nginx.sh
cont-init: info: /etc/cont-init.d/nginx.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun ledfx (no readiness notification)
services-up: info: copying legacy longrun nginx (no readiness notification)
-----------------------------------------------------------
LedFx backend host /api/hassio_ingress/N1u9GbNqC-fTS-DO9BCoDyV7kF2_V5j-KxqoGWAeRy4/#/./
-----------------------------------------------------------
s6-rc: info: service legacy-services successfully started
[14:11:59] INFO: Starting ledfx...
[WARNING ] ledfx.effects.audio            : Discarded malformed audio frame - 481 samples, expected 500
[14:12:02] INFO: Starting NGinx...

do you happen to know which port it works on?

prbtt commented

/usr/share/hassio/addons/local/

got this error:

The command '/bin/bash -o pipefail -c apk add --no-cache --virtual .build-dependencies build-base=0.5-r3 cython=0.29.32-r0 python3-dev=3.10.9-r1 zlib-dev=1.2.13-r0 && apk add --no-cache alsa-plugins-pulse=1.2.7.1-r0 ffmpeg-libs=5.1.2-r1 nginx=1.22.1-r0 portaudio-dev=19.7.0-r0 pulseaudio-alsa=16.1-r6 pulseaudio=16.1-r6 py3-packaging=21.3-r2 py3-pip=22.3.1-r1 python3=3.10.9-r1 && pip3 install -r /tmp/requirements.txt && apk del --no-cache --purge .build-dependencies && rm -fr /etc/nginx /root/.cache /tmp/*' returned a non-zero code: 2

Have you found a solution to the problem?

Yes. I'm pretty sure I used a different build than this.

can you share it?

https://github.com/YeonV/home-assistant-addons

Can't install ghcr.io/yeonv/amd64-addon-ledfx:2.0.62: 500 Server Error for http+docker://localhost/v1.42/images/create?tag=2.0.62&fromImage=ghcr.io%2Fyeonv%2Famd64-addon-ledfx&platform=linux%2Famd64: Internal Server Error ("Get "https://ghcr.io/v2/": dial tcp: lookup ghcr.io on 127.0.0.1:53: read udp 127.0.0.1:42914->127.0.0.1:53: read: connection refused")

I'm running 2.0.6 and indeed I can't update to 2.0.62

how can i set the version 2.0.6

I just tried again and I was able to update to 2.0.62

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/ledfx.sh
cont-init: info: /etc/cont-init.d/ledfx.sh exited 0
cont-init: info: running /etc/cont-init.d/nginx.sh
cont-init: info: /etc/cont-init.d/nginx.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun ledfx (no readiness notification)
services-up: info: copying legacy longrun nginx (no readiness notification)
-----------------------------------------------------------
LedFx backend host /api/hassio_ingress/N1u9GbNqC-fTS-DO9BCoDyV7kF2_V5j-KxqoGWAeRy4/#/./
-----------------------------------------------------------
s6-rc: info: service legacy-services successfully started
[14:11:59] INFO: Starting ledfx...
[WARNING ] ledfx.effects.audio            : Discarded malformed audio frame - 481 samples, expected 500
[14:12:02] INFO: Starting NGinx...

do you happen to know which port it works on?

Honestly I never got it to work. Just gave up on it.

We are dropping the add-on development as we don't see any future for it as an add-on.

LedFX is now packaged as a standalone application as well, which is way more viable.

../Frenck