Skip to main content
HydroGo
ReferenceTroubleshooting

Troubleshooting

Symptoms, causes and fixes for the problems people hit most often. Start with the request id.

Every API error and every audit entry carries a request_id. When something fails, copy it: it ties the browser, the proxy and the server log together.

Command not found

hydro: command not found right after installing usually means the shell has not picked up PATH yet. Open a new terminal. On Windows the installer's "Add hydro to PATH" option must be ticked. Check with hydro version.

Cannot sign in to the admin

SymptomCause and fix
Login succeeds, then you are signed out immediatelysecurity.secure_cookies: true over plain HTTP. Secure cookies are only sent over HTTPS. Use HTTPS, or keep it false for local HTTP development.
Behind a proxy, login loopsThe proxy must forward Host and X-Forwarded-Proto: https, and http.public_origin must match the public URL.
403 on any POST, PUT or DELETEMissing CSRF token. Send X-CSRF-Token from GET /csrf-token, or use a Bearer token or API key instead of the cookie.
Forgot the passwordAnother admin can send a reset link from Users and roles. Locked out entirely: hydro create-admin --email [email protected] --password-stdin creates a new admin.
Lost the authenticator deviceUse a recovery code from enrolment. Otherwise another admin disables MFA for you.
429 too_many_requestsLogin is limited to 5 attempts per minute. Wait for the Retry-After period.

Start-up errors

MessageMeaning
invalid HYDRO_…: …An environment variable has a bad value (for example a boolean). Fix or unset it.
automatic TLS cannot run behind a reverse proxyhttp.auto_tls and http.behind_proxy are mutually exclusive.
automatic TLS requires one valid domainSet http.domain to a single host name without scheme, port or wildcard.
preview signing key must contain at least 32 bytesLengthen security.preview_signing_key.
scheduled cloud backup requires configured S3-compatible storage credentialsbackup.enabled needs the media.s3_* settings.
i18n default locale cannot be emptySet i18n.default_locale and list it in i18n.locales.
… already exists; refusing to overwritehydro new and hydro init never overwrite files. Choose a new folder.
Address already in useAnother process owns the port. Change http.address or stop the other process.
BASH
hydro validate --config config.yaml
hydro doctor --config config.yaml

Database

  • database is locked (SQLite). Only one writer at a time. Make sure no other tool writes to the file, avoid network drives, and move to PostgreSQL or MySQL for concurrent hosting such as CGI.
  • Migration fails. Restore your backup, then run hydro migrate against a disposable copy to reproduce. Never edit an applied migration.
  • The server refuses to start after deleting a migration folder. Databases that applied a migration require its directory. Restore it from git.

Content does not show up

SymptomCheck
A new YAML content type is missing in the adminRun hydro content-type validate, then restart hydro serve. Unknown YAML keys are rejected.
/api/v1/content/<id> answers 404The type needs public: true. With drafts: true only published records are visible.
Published page is not in the APIPages and news need the matching locale and slug, and must be published (not draft, scheduled for later or expired).
400 limit must be between 1 and 100Lower limit; use offset or loop on metadata.has_more.
400 for filter[field] or searchThe field must be filterable (or searchable) in the YAML, and each parameter may appear only once.
?locale= answers 400The locale is not in i18n.locales.
Translated fields come back in the default languageLocalization needs i18n.enabled and more than one locale, and the field needs localized: true. Missing values fall back per field.

Browser and CORS

Browsers on another origin can read published content only when the origin is listed in security.public_api_origins (no wildcards). Server-side code is unaffected. Admin writes from other origins are not supported; use a token from a server.

Media

  • Uploads rejected. Free disk space is below media.min_free_bytes (default 50 MiB), or your proxy limits the body size (client_max_body_size in nginx).
  • Images missing after moving servers. Copy the media directory with the database, or restore both from one backup.
  • Hotlinked images blocked on your own site. Add your frontend host to media.allowed_referer_hosts.

Webhooks

  • Nothing arrives: check the topics list (hydro events catalog shows valid names) and that the URL is reachable from the server.
  • Signature mismatch: sign the raw request body, prefixed with the timestamp and a dot, using the same secret. Parse JSON only after verifying.

Still stuck?

Collect the request_id, the output of hydro version, hydro doctor --json (redact secrets) and the relevant log lines, then open an issue. For security problems follow Reporting vulnerabilities instead.