ESPHome doesn’t start due to `s6-rc` error

Current situation & issue:
ESPHome stopped working due to s6-rc error. I rely on Home Assistant for my Smart Agriculture system, where ESPHome manages multiple devices such as ESP32 and ESP8266. Reinstalling ESPHome would be my final option, because it would involve rewriting YAML configurations for all devices, which is time-consuming. I’m seeking a solution to resolve this issue without reinstalling ESPHome.

Version information:

  • Core: 2024.11.2
  • Supervisor: 2024.11.2
  • Operating System 13.2
  • Frontend: 20241106.2
  • ESPHome: 2024.10.3
  • s6: 2.12.0.2-r0
  • s6-rc: 0.5.4.2-r0

Log:
Error message is s6-rc: warning: unable to start service base-addon-timezone: command exited 2.
Whole error message is following one.

[12:20:52] ERROR: Unknown HTTP error occured
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-timezone: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
[12:20:52] INFO: Configuring timezone (Asia/Thimphu)...
s6-rc: warning: unable to start service base-addon-timezone: command exited 2
[12:20:52] ERROR: Unknown HTTP error occured
s6-rc: info: service base-addon-log-level successfully started
/run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information.
/run/s6/basedir/scripts/rc.init: fatal: stopping the container.
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service base-addon-log-level: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service base-addon-log-level successfully stopped
s6-rc: info: service base-addon-banner: stopping
s6-rc: info: service base-addon-banner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
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

What I did:

  • Reboot HomeAssistant
  • Restart ESPHome
  • Update s6-rc with apk add —update s6-rc command through Terminal&SSH add-on.
  • Change time zone through Settings → System → General → Time zone

Relevant post:
I found a following post, but there is no solution and response to this comment.

Screenshots:

Hi

Completely wrong and I would strongly advice as first step to try to fix the problem to uninstall ESPHome, reboot system (not only HA but HAOS), then reinstall ESPHome (all your sketchs will show up back automatically :wink:

Vincèn

Thank you for your response.

I updated ESPHome version from 2024.10.3 to 2024.11.0 today, then the problem was resolved automatically.

If the s6-rc problem occurs again, I’ll follow your suggestion and reinstall ESPHome.