Skip to content

Doctor ​

Host health check for gform — layout, browsers, library, filesystem, history, and auth profile metadata.

Related: commands/doctor · browsers · auth · install

bash
gform doctor                 # fast: disk + inventory
gform doctor --browser       # also headless-probe default browser (-B)
gform doctor --browser chrome
gform doctor --auth          # also live-verify each profile (-A; updates meta)
gform doctor --auth --browser --headless
gform doctor --json

Default ​

Reads disk / local inventory only:

  • Node + Playwright versions, $GFORM_HOME writable
  • Layout dirs (forms / artifacts / auth / browsers / history)
  • Library form count + last history row
  • Browser inventory (ready / found / missing, ★ default)
  • Auth profiles with last saved verify status (ok / invalid / inconclusive / never)

Does not open a browser or hit Google.

Interpreting warnings ​

SignalLikely action
Home not writableFix GFORM_HOME / permissions
Browser found but not ready (WSL .exe)gform br setup chrome for Linux Chrome
Auth meta invalidgform auth create / auth verify
Auth meta inconclusiveNetwork/launch — retry; not treated as logout
No forms / no historyExpected on a fresh install

--browser [id] ​

Headless launch+close probe (same idea as gform browsers check):

  • no id → browsers default, else first ready target
  • fail → error issue (auth create / run will likely fail too)

--auth (live verify) ​

Runs auth verify for every profile:

OutcomeExit / metaMeaning
okmeta → okSigned in; refreshes email / lastVerifiedAt
invalidmeta → invalidConfirmed signed out / bad session
inconclusivemeta → inconclusiveNetwork / timeout / launch failure — not treated as logout