Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Home Assistant OS installation of ModbusTCP2MQTT - s6-overlay-suexec: fatal: can only run as pid 1 #33

Closed
Chris-Mow opened this issue May 14, 2022 · 10 comments

Comments

@Chris-Mow
Copy link

I have issues all of a sudden communicating with the Sungrow SG5kd. I don't believe i have done anything to break it, but i have started getting the error;
s6-overlay-suexec: fatal: can only run as pid 1
This in the ModbusTCP2MQTT Log, and the overall home assistant system log is showing
Failed to to call /addons/4ee6ccd4_modbus_inverter/stats - Container addon_4ee6ccd4_modbus_inverter is not running

I am fairly new to home assistant and would love someone to point me in the right direction. I am running the HyperV image of home assistant OS - core-2022.5.2 (i was at 2022.5.4, but tried a restore an older backup of home assistant to 2022.5.2 to see if it was the update which broke it)

I assume i am getting the Container Addon not running error due to the fact that there is the S6 overlay error, but any further diagnosis is a little above my current level of expertise

@highground88
Copy link

highground88 commented May 16, 2022

I have just installed this version (0.2.2.1) and am getting the same error.

The old version of ModbusTCP2MQTT I had installed for some time now (v0.2 - but stopped whilst trying v0.2.2.1.) works fine, logs show this:

[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.

@antonyclarage
Copy link

antonyclarage commented May 20, 2022

same issue.

This is a solution...
zoneminder-containers/zoneminder-base#28

@highground88
Copy link

highground88 commented May 22, 2022

This is a solution...
zoneminder-containers/zoneminder-base#28

I made a fork of this with the minor change apparently necessary but can't import into HA as a repository.... Oh well, I tried.

@stniemin
Copy link

Hoping to see this fixed soon. It should be a trivial change based on the proposed solution that @antonyclarage shared.

@amykapernick
Copy link

Have the same issue, have submitted a PR with the config change so we can use the fix

@ttvt ttvt closed this as completed Jun 8, 2022
@ttvt
Copy link
Contributor

ttvt commented Jun 8, 2022

Solved in latest commit

@highground88
Copy link

Can anyone confirm this is fixed? I still have the same error after reinstall: s6-overlay-suexec: fatal: can only run as pid 1

@amykapernick
Copy link

Still broken for me

@amykapernick
Copy link

It hasn't actually updated any of the changes, the configuration still has the old options

image

@Chris-Mow
Copy link
Author

I can't seem to figure out how to get my Home Assistant to update the add-on to V0.3
Is there something i can do to get the update, or do we need to do anything extra to have it included in the next home assistant update? I am not real sure on the process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants