OttPeterR / addon-babybuddy

BabyBuddy, wrapped into a Home Assistant addon
36 stars 13 forks source link

Addon crashing with Error: s6-overlay-suexec: fatal: can only run as pid 1 #8

Closed cxy7722 closed 2 years ago

cxy7722 commented 2 years ago

A little new to this so forgive me if my question is really simple.

I have installed the add-on and configured the port to access it via http. I understand the ingress issue but was hoping the workaround would work for me, however, I realized the add on is crashing shortly after launch.

This is in the add-on logs: s6-overlay-suexec: fatal: can only run as pid 1

I did find some other instances of this error here http. Not sure if they are related or not.

OttPeterR commented 2 years ago

I'm able to recreate your issue, I'm working on a fix in addition to the new 1.11.0 baby buddy that was just released

hindseb commented 2 years ago

hi, I just installed the add-on. But I am also getting the same error message in the logs. 's6-overlay-suexec: fatal: can only run as pid 1'

In addition, I am also getting a '502: Bad Gateway' error when trying to click on the web UI. Any idea how to fix the errors?

OttPeterR commented 2 years ago

The web UI is broken (see issue #2) but you should be able to access it via the port you can set. That is of course assuming the s6 error is fixed.

Could I ask what hardware you're running?

I haven't had much time to get into working on the fix unfortunately and not sure when I will.

hindseb commented 2 years ago

Hi Thanks for the quick response. I’m using a raspberry pi 4, 8gb

Let me know if you need further details. I highly appreciate your efforts looking into this

Sebastian

On Sun, Jun 12, 2022 at 22:22 Peter Ott @.***> wrote:

The web UI is broken (see issue #2 https://github.com/OttPeterR/addon-babybuddy/issues/2) but you should be able to access it via the port you can set. That is of course assuming the s6 error is fixed.

Could I ask what hardware you're running?

I haven't had much time to get into working on the fix unfortunately and not sure when I will.

— Reply to this email directly, view it on GitHub https://github.com/OttPeterR/addon-babybuddy/issues/8#issuecomment-1153391526, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARTA3I4YM7LIKUBYBO3IZ73VO2LNHANCNFSM5WXZFCEA . You are receiving this because you commented.Message ID: @.***>

OttPeterR commented 2 years ago

I pushed out an update, can some of you chime in if it fixes the launch issue?

hindseb commented 2 years ago

It works for me after updating. Thanks for your efforts. Highly appreciated!

cxy7722 commented 2 years ago

Worked for me as well! Thank you!!

OttPeterR commented 2 years ago

closing this out, I believe it is no longer an issue