jakubonty / weather_station_mqtt

5 stars 7 forks source link

s6-overlay-suexec: fatal: can only run as pid 1 #8

Open ghost opened 2 years ago

ghost commented 2 years ago

Hi, Weather Station Mqtt protocol reports: s6-overlay-suexec: fatal: can only run as pid 1 at start.

Do you have any suggestions or a solution?

Regards Horst

Versions: Home Assistant Core 2022.5.5 Home Assistant Supervisor 2022.05.2 Home Assistant OS 8.0 Kernel version 5.15.32-v8 Agent version 1.2.1

mf76130 commented 2 years ago

having the same issue - here is a link to the reason: https://developers.home-assistant.io/blog/2022/05/12/s6-overlay-base-images/?fbclid=IwAR0yg_p3aayehr4YooJDSLMadlrTC5anlbz3xdA2BwdxdpKRAPZ9hJL4w4M but not a solution. Seems we are missing a .yaml file

obimichael commented 2 years ago

Add "init": false to config.json [..] "startup": "services", "boot": "auto", "init": false, "schema": { [..]

for me the following worked:

  1. add init:false to config.json
  2. deinstall add-on (if already installed)
  3. install add-on again
  4. start add-on
mf76130 commented 2 years ago

i was running on Hass 7.6, did add the init: false and then upgraded. and i had no problem, didn't need to reinstall or anything.

Doubledom45 commented 2 years ago

Hello indeed a problem on the config.json file, it is enough to modify , I will make a request for modification. Just edit the file and go to config and rebuild, then reboot. French Bonjour effectivement un problème sur le fichier config.json, il suffit de modifier , je vais faire une demande de modif. Il suffit de modifier le fichier et d'aller sur la configuration et reconstruire, puis redémarrer.

Doubledom45 commented 2 years ago

Modification requested pending validation on Pull requests @+ Dom

jakubonty commented 2 years ago

@Doubledom45 thank you for pull request