Repository navigation
Patch release. An update run from a session with a restrictive umask (the MoaV Deploy app) no longer crash-loops the containers that do not run as root, moav apply makes an update live in one unattended command, and Grafana moves to 13.3.2, an upstream security release. No breaking changes and no re-bootstrap: keys, users and certificates are untouched.
Action required for operators
- Upgrade:
moav update, thenmoav apply.moav update --applydoes both in one go, but only from this release on: the 2.5.0moav updatedoes not know the flag. - admin, Prometheus or dns-router restarting in a loop after an update through the MoaV Deploy app? That is the umask bug fixed here. Update, then run
moav apply. To check or repair by hand:moav doctor perms,moav doctor perms --fix. - Monitoring profile: recreate Grafana for the 13.3.2 security fixes.
moav apply(ormoav start) pulls the new image and recreates the container. If you build Grafana locally (IMAGE_GRAFANA=moav-grafana:local), setGRAFANA_VERSION=13.3.2in.envfirst, then runmoav build --local grafana && moav start.
Security
- Grafana 13.3.1 -> 13.3.2 (the default image, pinned by digest, and the
moav build --localpin). Upstream security release that fixes CVE-2026-107561 and CVE-2026-88960. As of 2026-11-25 Grafana has published the two IDs only, with no description, severity or advisory page yet; they should appear under Grafana security advisories. Only the monitoring profile runs Grafana.
Added
moav apply: one command to make an update live. It runs whatmoav updateprints:moav buildfor the saved default profiles,moav bootstrap --yeswhen the update changed config templates,moav regenerate-users,moav start(recreates containers whose image or config changed), any setup job or config recreate the update called for, and the dangling-image cleanup. It never prompts and is safe to re-run: unchanged images are cache hits and unchanged containers keep running.moav apply xray(any service or profile) applies just that, andmoav update --applychains into it when the update left something to apply. Made for unattended and detached use (the MoaV Deploy app): every step prints[moav-apply] step N/6: NAME, the last line is always[moav-apply] exit=CODE result=..., the exit code says which step failed (2 preflight, 3 already running, 10 build, 11 bootstrap, 12 regenerate-users, 13 start), a second apply is refused while one runs, andmoav apply --status [--json]reports the running or last run. A failed build restarts nothing.moav updatenow ends with a pointer to it.moav doctor perms. Fails when files in the checkout are not readable by the containers that mount them, or when a locally built image has an entrypoint its own non-root user cannot read or run, and prints the fix for each.moav doctor perms --fixrepairs the checkout.
Changed
moav applyis now the recommended way to finish an update, in the CLI and the docs.moav updateleads its closing message withmoav apply(andmoav update --applyfor next time); the numbered build, bootstrap, regenerate-users and start steps are still printed below it for doing it by hand. A latermoav updatethat finds nothing new reminds you when an earlier update is still unapplied.moav --help,moav update --help,moav apply --help, the update hint inmoav doctorand the admin dashboard's update banner say the same.README.md,README-fa.md,AGENTS.md,llms.txtanddocs/V2-MIGRATION.mdrecommendmoav update, thenmoav apply(ormoav update --apply), note that both are available from 2.5.1, and point crash-loop and permission problems after an update atmoav doctor perms,moav doctor perms --fixandmoav apply.moav regenerate-usersexits 1 when the provisioning run fails. It printed "provisioning run failed" and exited 0, so a caller could not tell.
Deprecated
- The manual update sequence in the docs (
moav update, thenmoav build,moav bootstrap,moav regenerate-usersandmoav startby hand). It is kept for servers that stay on 2.5.0 or older, marked "Legacy (pre-2.5.1)", and will be removed from the docs in a future release. Each place carries aLEGACY-PRE-2.5.1marker (git grep LEGACY-PRE-2.5.1), and the release checklist asks for the check. The commands themselves are not going away, andmoav updatekeeps printing the steps.
Fixed
- Updating from a session with a restrictive umask no longer crash-loops the non-root containers.
moav updateandmoav applyrun from the MoaV Deploy app inherit its SSH session'sumask 077. git then wrote the checkout owner-only (0600files,0700directories) anddocker buildcopied those modes into the images, so every container that does not run as root failed with a permission error and restarted forever: admin on/project/VERSION, Prometheus onprometheus.yml, dns-router on/app/entrypoint.sh. The same update from a login shell (umask 022) was fine. Nowmoav,install.sh,moav update,moav buildandmoav applysetumask 022themselves; update, build, apply, start and restart first re-open any tracked file an earlier run left owner-only (only tracked files:.env,state/andoutputs/keep their modes); and every Dockerfile gives the files it copies from the checkout an explicit mode instead ofchmod +x.moav exportstill writes its archive owner-only. Already affected? Update, then runmoav apply. To check or repair by hand:moav doctor perms,moav doctor perms --fix. moav buildknows every profile indocker-compose.yml. It kept its own profile list, which was missingxhttp,telegram,gooserelay,clientandsetup.moav build xhttpandmoav build setupfailed with "no such service";telegramandgooserelayonly worked because a service or alias happens to share the name.build,start,stop,restart,logsand the help text now all read the profiles from the compose file, somoav stopandmoav restartalso acceptxhttp,gooserelay,clientandsetupas profiles. A name that is neither a profile nor a service is rejected up front with the valid names, instead of reaching compose.
Quick Install
curl -fsSL https://moav.sh/install.sh | bashThis will install MoaV to /opt/moav and guide you through setup.
Documentation
moav.sh/docs — full documentation
Get started
- Quick Start — install to first user in ~10 minutes
- Client Setup — connect from phones and desktops
- DNS Configuration — records, delegations, freeing port 53
Reference
- CLI Reference — every command and flag
- Setup Guide — every option, in depth
- Monitoring — Grafana dashboards and metrics
- Troubleshooting — symptom-first fixes
Understand it
- Supported Protocols — per-protocol ports, ciphers, stealth
- Architecture — container topology and bundle flow
- Threat Model — what is and is not protected
- OPSEC Guide — operator-side hardening
Help out
- Support MoaV — run a server, contribute, translate, donate
- Translating the Docs — one page is a complete contribution
Running it with an AI agent? llms.txt is a compact
orientation for coding agents; llms-full.txt is the
whole corpus. Both ship as release assets.