project-nomad/admin/app
Chris Sherwood 034ad41ef4 fix(system): show a clear message when a service port is already in use
When a service fails to install because something on the host already binds its
port, the user saw the raw dockerode error ("Bind for 0.0.0.0:11434 failed:
port is already allocated"), which is meaningless to a non-technical user. The
most common case is a native Ollama install holding 11434.

Add _humanizeDockerError() to map host port-conflict errors to an actionable
message that names the port and, for Ollama/11434, points at the likely cause
(a host Ollama service) with the commands to stop it. Unrecognized errors pass
through unchanged. Wired into the install failure broadcast and the thrown
error.

Closes #934

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-08 11:04:12 -07:00
..
controllers feat(supply-depot): opt-in automatic updates for installed apps 2026-06-07 15:56:42 -07:00
exceptions fix(Docs): documentation renderer fixes 2025-12-23 16:00:33 -08:00
jobs feat(supply-depot): opt-in automatic updates for installed apps 2026-06-07 15:56:42 -07:00
middleware fix(API): skip compression for Server-Sent Events (#798) 2026-05-20 10:16:00 -07:00
models feat(supply-depot): opt-in automatic updates for installed apps 2026-06-07 15:56:42 -07:00
services fix(system): show a clear message when a service port is already in use 2026-06-08 11:04:12 -07:00
utils feat(supply-depot): opt-in automatic updates for installed apps 2026-06-07 15:56:42 -07:00
validators feat(supply-depot): opt-in automatic updates for installed apps 2026-06-07 15:56:42 -07:00