Running HA offline

So here us my setup:
Raspberry Pi connected to an Access Point.
HA OS installed on pi.
Dhcp server installed on HA to provide IP addresses to clients connected to access point.

Android App connected via the Wifi network.

Bear in mind that my setup is configured with NO INTERNET access whatsoever. Everything is local only.

Now, after a power outage, HA clock was, messed up, but with no obvious way to change the clock, I turned to the advanced ssh terminal to configure via CLI only to realize that this add on won’t start. See logs below.

Any assistance would be greatly appreciated.

[19:07:17] WARNING: Please, consider using a public/private key pair. [19:07:17] WARNING: What is this? [19:07:17] WARNING: s6-rc: info: service init-ssh successfully started s6-rc: info: service init-user: starting [19:07:17] NOTICE: Session sharing has been disabled! fetch (url to gz update) fetch (url) WARNING: updating and opening (url): temporary error (try again later) WARNING: updating and opening hxxps://dl-cdn.alpinelinux.org/alpine/v3.19/community: temporary error (try again later) 4 unavailable, 0 stale; 238 distinct packages available [19:07:37] FATAL: Failed updating Alpine packages repository indexes s6-rc: warning: unable to start service init-user: command exited 1 /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 init-mysql: stopping s6-rc: info: service init-mosquitto: stopping s6-rc: info: service init-docker: stopping s6-rc: info: service init-ssh: stopping s6-rc: info: service init-mysql successfully stopped s6-rc: info: service init-mosquitto successfully stopped s6-rc: info: service init-docker successfully stopped s6-rc: info: service init-ssh successfully stopped s6-rc: info: service legacy-cont-init: stopping s6-rc: info: service legacy-cont-init successfully stopped 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 ----------------------------------------------------------- Add-on: Advanced SSH & Web Terminal A supercharged SSH & Web Terminal access to your Home Assistant instance ----------------------------------------------------------- Add-on version: 17.3.0 There is an update available for this add-on! Latest add-on version: 18.0.0 Please consider upgrading as soon as possible. System: Home Assistant OS 12.3 (aarch64 / raspberrypi4-64) Home Assistant Core: 2024.5.4 Home Assistant Supervisor: 2024.06.0 ----------------------------------------------------------- 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 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-ssh: starting s6-rc: info: service init-mysql: starting s6-rc: info: service init-mosquitto: starting s6-rc: info: service init-docker: starting s6-rc: info: service init-docker successfully started s6-rc: info: service init-mysql successfully started s6-rc: info: service init-mosquitto successfully started [19:10:44] WARNING: [19:10:44] WARNING: Logging in with a SSH password is security wise, a bad idea! [19:10:44] WARNING: Please, consider using a public/private key pair. [19:10:44] WARNING: What is this? [19:10:44] WARNING: s6-rc: info: service init-ssh successfully started s6-rc: info: service init-user: starting [19:10:45] NOTICE: Session sharing has been disabled! fetch Url fetch url WARNING: updating and opening url: temporary error (try again later) WARNING: updating and opening url: temporary error (try again later) 4 unavailable, 0 stale; 238 distinct packages available [19:11:05] FATAL: Failed updating Alpine packages repository indexes s6-rc: warning: unable to start service init-user: command exited 1 /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 init-mysql: stopping s6-rc: info: service init-mosquitto: stopping s6-rc: info: service init-docker: stopping s6-rc: info: service init-ssh: stopping s6-rc: info: service init-mysql successfully stopped s6-rc: info: service init-docker successfully stopped s6-rc: info: service init-mosquitto successfully stopped s6-rc: info: service init-ssh successfully stopped s6-rc: info: service legacy-cont-init: stopping s6-rc: info: service legacy-cont-init successfully stopped 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

RPi needs an NTP server to set time

1 Like

Hi, welcome to the forum.
You could synchronize your RPi with another system on your LAN.
There are also expansion boards to add a RTC to a RPi