go build on a source
checkout produces a binary with the UI disabled. The gateway and admin API
still work, and the log says the UI is disabled. Add the dashboard in one of two
ways before go build.
Option 1: Use the prebuilt dashboard (no Node)
Every release includesgomodel_<version>_dashboard.tar.gz, listed in that
release’s checksums.txt. It contains the exact dashboard embedded in the
release binaries and Docker image. Its paths are relative to the repository
root, so unpack it there:
Option 2: Build the dashboard with Node
Use Node 22.12 or later in the 22.x line, or Node 24+. Node 23 is not supported by the dashboard’s build tools.web/dashboard/package-lock.json, so the build runs offline once the npm
dependencies are fetched from the lockfile:
Version stamp
Setinternal/version.Version with -ldflags as shown above. Without it the
binary reports dev and the update check never
reports a newer release.