Skip to content
86% off$349 $48.86code BF2026

Guides

Home Assistant OS VM on Mac mini: Fix 'orb status: stopped'

Home Assistant on a Mac mini keeps stopping? Fix 'orb status: stopped' and UTM crashes: stop sleep, relaunch the VM, and handle mDNS discovery.

TroubleshootingUpdated 6 min read

On this page

You run Home Assistant on a Mac mini, either Home Assistant OS (HAOS) in a UTM VM or Home Assistant Container in OrbStack. Every few days it goes quiet and the lights stop responding. In OrbStack's case you see this:

text
orb status: stopped

Reports from users describe three versions of this: UTM crashing now and then on an M4 Mac mini, OrbStack's orb status showing stopped every few days with nothing in the logs, and a user who moved from OrbStack to UTM because OrbStack's host networking lacked mDNS. We haven't reproduced any of these on our own hardware, so work through the causes in order and rule them out.

Which setup do you have?

  • HAOS in a UTM VM: read everything except the OrbStack section.
  • Home Assistant Container in OrbStack (Docker): read the sleep, OrbStack, restart-recovery and mDNS sections. Container has no add-on store, so if you rely on add-ons you need HAOS in a VM.

Why it happens

Most common first:

  1. The Mac mini sleeps. An idle Mac can go to sleep. Sleep pauses running VMs, and an app set to shut down on sleep stops completely.
  2. OrbStack's shut-down-on-sleep option is on. A user reply pointed to this option. It would fit the symptom, but we haven't confirmed it on our own Mac.
  3. The Mac restarted. A power cut or an automatic macOS update restart takes the VM down, and nothing relaunches it until someone logs in and opens the app.
  4. UTM crashed. The cause isn't known from the reports; the crash report is the only way to tell.
  5. mDNS doesn't reach the VM. Not a stop, but it looks like one: devices that announce themselves with Bonjour disappear from Home Assistant. Whether this happens depends on how the VM is networked, so treat it as a possibility to test.
SymptomLikely causeFix
Stopped in the morning, no crash reportMac sleptStop sleep
orb status: stopped, no logOrbStack shut down on sleepTurn off the option
Gone after power cut or updateNothing relaunches the VMLogin item, watchdog
UTM missing, crash report presentUTM crashUpdate, report, watchdog
Devices not discoveredmDNS not reaching Home AssistantAdd by IP or change networking

Check whether the Mac mini is going to sleep

Open Terminal and read the power log. This only reads; it changes nothing.

bash
pmset -g log | grep -iE "sleep|wake" | tail -40

If sleep entries sit near the time Home Assistant went quiet, sleep is a suspect. To see what is holding the Mac awake right now:

bash
pmset -g assertions

To test it, run this and leave the Terminal window open for a day or two:

bash
caffeinate -s

caffeinate -s keeps the Mac awake while it is on power. Press Control-C in that window to undo it. If the outages stop, sleep was the cause.

For a permanent fix, open System Settings and search for "Energy" or "Lock Screen". Look for the options that prevent automatic sleeping when the display is off. Labels differ between macOS 14, 15 and 26, so use the search rather than a fixed click-path.

Turn off OrbStack's shut-down-on-sleep option

  1. Open OrbStack's settings.
  2. Find the option about shutting down when the computer sleeps and turn it off. We haven't verified its exact label, so scan the settings for "sleep".
  3. Stop the Mac from sleeping as described above.
  4. Run orb status after a day or two to confirm.

Make the Mac mini recover from restarts and power cuts

A VM app only runs once someone is logged in and the app is open. After a restart, nothing launches it.

  1. In System Settings, search for "Login Items" and add UTM (or OrbStack) so it opens at login.
  2. Search System Settings for "power failure". If your Mac shows an option to start up automatically after a power failure, turn it on. We haven't verified the label on every macOS version.
  3. Check whether the Mac reaches your desktop unattended after a restart. Search System Settings for "Automatically log in"; if it is unavailable, your Mac's security settings may be blocking it. Enabling it also lets anyone with physical access in, so weigh that first.
  4. Open System Settings > General > Software Update and check whether automatic installs are on. If they are, the Mac will restart on its own at some point and take the VM with it.

Opening UTM at login doesn't start your VM. The watchdog below does that.

Find out why UTM crashed

  1. Open the Console app and look under Crash Reports for a UTM entry near the time of the outage. Reports are also saved as files in ~/Library/Logs/DiagnosticReports.
  2. Compare that time with the sleep and wake lines from the pmset check, and with any automatic macOS update restart.
  3. Update UTM and macOS if either is behind.

Keep any UTM crash report for the developers (see "If nothing works").

Relaunch UTM and the VM automatically

One user built an Automator app plus a watcher app for this. A launchd agent does the same job with two small files. This one is for UTM only; for OrbStack, use the sleep and login fixes above.

Create the folder:

bash
mkdir -p ~/bin

Save this as ~/bin/relaunch-utm.sh, replacing Home Assistant with your VM's exact name:

bash
#!/bin/bash
# Relaunch UTM if it is not running, then try to start the VM.
if ! pgrep -x UTM > /dev/null; then
  open -a UTM
  sleep 30
fi
/Applications/UTM.app/Contents/MacOS/utmctl start "Home Assistant" 2>/dev/null || true

Make it executable:

bash
chmod +x ~/bin/relaunch-utm.sh

Save this as ~/Library/LaunchAgents/local.utm-watchdog.plist, replacing YOURNAME with your short user name:

xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>Label</key>
  <string>local.utm-watchdog</string>
  <key>ProgramArguments</key>
  <array>
    <string>/Users/YOURNAME/bin/relaunch-utm.sh</string>
  </array>
  <key>StartInterval</key>
  <integer>120</integer>
  <key>RunAtLoad</key>
  <true/>
</dict>
</plist>

Load it. It runs at login and every 2 minutes:

bash
launchctl bootstrap gui/$(id -u) ~/Library/LaunchAgents/local.utm-watchdog.plist

To undo it:

bash
launchctl bootout gui/$(id -u) ~/Library/LaunchAgents/local.utm-watchdog.plist

Things to check:

  • utmctl is UTM's command-line tool. We haven't tested this script on your UTM version, so run utmctl help and confirm the path and the start subcommand first.
  • If pgrep -x UTM doesn't match, check the process name in Activity Monitor and adjust it.
  • A LaunchAgent runs in your login session, so the Mac still has to log in after a restart.
  • If you pass Zigbee or Z-Wave sticks through to the VM, confirm after a relaunch that they are attached and the integrations are online. The user who reported this used utmctl usb list to find their sticks.

Home Assistant can't discover devices (mDNS)

Home Assistant may stop finding devices that announce themselves with mDNS (Bonjour), such as many smart plugs, speakers and hubs. One user reported leaving OrbStack for UTM because OrbStack's host networking lacked mDNS; check OrbStack's current release notes in case that has changed. We haven't tested how discovery behaves in each networking mode, so treat the options below as things to try.

  • Where an integration accepts a device's IP address, enter it and skip discovery.
  • If discovery matters, try giving the VM its own address on your LAN. Check whether your VM app offers a bridged mode.
  • Reserve a fixed IP for the VM in your router so integrations don't lose it after a restart.

Checklist before you try again

  • pmset -g log shows no sleep near the outage, or sleep is now prevented.
  • OrbStack's shut-down-on-sleep option is off.
  • UTM or OrbStack is a login item.
  • Automatic restart after power failure is on, if your Mac offers it.
  • Automatic macOS update restarts are accounted for.
  • The watchdog is loaded and utmctl help confirmed the start command.

If nothing works

If UTM crashes while the Mac is awake and nothing else explains it, report it to the UTM project. If orb status shows stopped with sleep disabled, report it to OrbStack support. Include your Mac model, macOS version, app version, the crash report or the pmset log lines around the failure, and how often it happens.

text
Mac mini (M4), macOS [version], [UTM or OrbStack] [version].
Home Assistant stops roughly every [N] days. Sleep is disabled
(pmset -g assertions attached). Last failure: [date and time].
Crash report or `orb status` output: [attached or pasted].
Steps tried: login item, caffeinate -s, shut-down-on-sleep off.

Common questions

Does caffeinate survive a restart?

No. It ends when you close the Terminal window, press Control-C, or the Mac restarts. Use the Energy settings for a permanent fix.

Will the watchdog work for OrbStack?

No, the script is written for UTM. For OrbStack, fix sleep and add OrbStack as a login item.

Does the Mac need to stay logged in?

Yes. Both apps run in your login session, so after a restart the Mac has to log in before the VM can come back.

Every app.
One purchase.