Skip to content

Status & Health

After your system is created, merka shows the dashboard. This is the steady-state view of your running system. It shows:

  • System name and connection URL
  • System phase (Normal, Preparing)
  • Service health — How many services are ready vs total
  • Reachability — Whether the system is responding to health checks

The dashboard automatically reconnects if the connection drops: it polls the system’s health endpoint every 10 seconds and updates the display silently. If the system becomes unreachable, the status indicator changes to “Offline” and switches back to “Connected” when it recovers.

The dashboard sidebar has five tabs, selectable with the number keys:

KeyTab
1Home
2Photos
3Files
4AI Chat
5Settings

The Home tab also offers two actions:

ActionDescription
SettingsOpen settings
Start over / resetRemove the local system and start fresh

For a quick health check without opening the TUI:

Terminal window
merka status

It prints your system’s address, overall status, phase, service readiness, whether claiming is required, and the remote-access state:

System: http://192.168.64.2:7474
System Status: Healthy
Phase: Normal
Services: 12/12 ready
Claiming: Not required
Remote Access: Enabled (Tailscale)

If services are unhealthy, they’re listed below with a reason:

Services: 10/12 ready
Unhealthy services:
storage Pending (waiting to start)
photos Pending (waiting for database)

For scripting or automation:

Terminal window
merka status --json

Returns a merka.status.v1 JSON document with all health details.

Your Merka system runs several internal services. You don’t need to manage them individually — merka status gives you the aggregate health. But if something goes wrong, the unhealthy service list tells you what’s stuck and why.

Common service states:

StateMeaning
ReadyRunning and healthy
PendingWaiting to start (usually waiting for a dependency)
DeployingCurrently being set up
FailedSomething went wrong (check the reason)
PhaseWhat it means
NormalEverything is running. This is the steady state.
PreparingServices are still coming online after a fresh start or restart.

The TUI dashboard refreshes automatically. When connected to the event stream, updates are real-time. If the stream drops, a periodic health poll keeps the display current until the stream reconnects.

To watch status changes from the command line:

Terminal window
watch -n 5 merka status