What this thread does
The problem
Move self-managed Grafana from 13.1 to 13.2 with Git-managed dashboards, alerts and third-party panels.
Versions and status
| Item | Verified status | Official source |
|---|---|---|
| Upgrade target | 13.2.4, released 2026-10-13; superseded by 13.3.1 as of November 2026 (checked 2026-11-15) | Release |
| Minor release boundary | 13.2.0, released 2026-08-18 | Changelog |
| OSS licence | GNU AGPL v3; Enterprise terms are separate | Tagged licence |
All official pages below were fetched and checked 2026-10-20. Pricing is outside this migration.
What changed across the 13.1 and 13.2 minors
13.1 highlights add UI dashboard import into Git Sync folders, root-level sync and signed Git commits. Test section-level variables and panel-style copying if used.
13.2 highlights add a redesigned query-variable editor, multi-panel grouping into rows/tabs, and Git Sync author information. Saved-query Terraform provisioning is for Enterprise/Cloud.
The 13.2.0 changelog records the breaking alert-state change, scripted-dashboard deprecation/default disablement, and contact-point provenance responses changing from HTTP 500 to 403. Some fixes are backported. The 13.2.4 patch notes also include provisioning resource-name validation, legacy-path/source-annotation handling, and alerting redirect-header hardening.
What breaks, and the migration choice
| Trigger | Concrete symptom | Action |
|---|---|---|
You explicitly disabled alertingSaveStateCompressed | Current alert state is rebuilt; a one-time history/state gap can appear | Enable compression on the old instance and allow an evaluation/save cycle before upgrading |
| You use legacy scripted dashboards | Scripted dashboards are disabled by default | Replace them with provisioned JSON; a temporary exception needs an explicit retirement plan |
| Your contact-point automation changes provenance | HTTP 403 instead of HTTP 500 | Preserve provenance and fix the request contract; extra admin permissions do not bypass the guard |
| A plugin directory was modified after signing | Signature rejection and missing panel/data source | Install an intact signed release compatible with the target |
The alert-state instructions come from maintainer yuri-tceretian's merged change, merged 2026-08-04, checked 2026-10-20. The removed flag leaves compressed state as the only reader/writer. Do not manually delete state tables as a migration step.
For scripted dashboards, kristinademeshchik's merged change, merged 2026-08-05, checked 2026-10-20, names disableScriptedDashboards, enabled by default. A temporary self-managed exception sets disableScriptedDashboards = false under [feature_toggles]; verify the warning and replacement before rollout.
For alert provisioning, rwwiv's merged change, merged 2026-07-02, checked 2026-10-20, names the internal identifier ErrProvenanceChangeNotAllowed. Stop retrying a disallowed provenance change as though it were a transient server failure.
Ordered upgrade steps
1. Inventory install method, feature toggles, generators, provisioners and plugin versions. Follow the 13.2 upgrade guide in a test environment first. Back up configuration, plugins and the complete database. Stop Grafana before a SQLite copy; rehearse restoration. 2. On the existing release, finish any alert-state compression transition above. Export representative dashboards and alerts; record their provisioning owners. 3. Update plugins in the test deployment with the documented grafana cli plugins update-all. Restart, test and record plugin versions. 4. Install the target through the existing installation method. The guide's Debian command is sudo dpkg -i grafana_<version>_amd64.deb; for the verified OSS target and architecture that becomes sudo dpkg -i grafana_13.2.4_amd64.deb after downloading it from Grafana. Match architecture and edition; follow the guide for RPM/containers. 5. Restart, inspect logs and run the checks below before rollout. Rollback requires the compatible pre-upgrade backup and binaries/plugins, not older binaries against migrated state.
Dashboard schema and provisioning checks
The official JSON-model reference distinguishes Classic JSON, V1 Resource wrapping Classic under spec, and V2 Resource supporting advanced layouts. Read the schema for the actual API/export path; incrementing schemaVersion by hand does not convert models.
Round-trip a dashboard through UI save, Git Sync and your file/API provisioner. Compare UID, folder, variables, queries, permissions and layout. Check generated JSON diffs, branch, author and signing.
Community evidence and concrete regression probes
- Frosco's Loki timeout report, opened 2026-10-16, checked 2026-11-24, reported a regression after the minor upgrade; it was closed on 2026-10-22 by PR #135561. Exact log excerpt
context deadline exceeded (Client.Timeout exceeded while awaiting headers)accompanies slow queries despite a higher global timeout. The author's workaround sets numericjsonData.timeouton the affected data source. Treat this as a reported workaround to test, not a verified fix in the latest patch or a reason to change every data source. - richunger's dashboard conversion report, opened 2026-10-15, checked 2026-10-20, reports stale
status.conversion.storedVersionafter a V2 save. Do not use that field alone as proof of the stored schema. Verify actual round-trip behavior.
These upstream user reports do not establish prevalence.
What to test and common mistakes
Test slow Loki queries, scoped variables, layouts, save/reload, resync and permissions. Exercise pending/firing/resolved alerts with a test receiver; check routing, templates, mute timing, restart delivery and OAuth redirects.
The plugin-signature docs, checked 2026-10-20, verify exact log fragments plugin '<plugin id>' is unsigned and plugin '<plugin id>' has an invalid signature. Inspect signature status after plugin updates. Do not edit installed signed plugin files or enable development mode to hide a production rejection.
A prompt to give your agent
Read the linked release, upgrade, schema and merged-change sources; do not guess flags, payloads or errors. Plan our 13.1 to 13.2.4 upgrade, checking compression opt-outs, scripted dashboards, signatures and JSON consumers. Rehearse on an isolated restored copy with a test receiver. Show diffs/results; do not change production or send real alerts.
Limits
No Grafana upgrade or runtime tests were run. The exact disabled-scripted-dashboard message, alert-state-gap log text and provenance HTTP body are unverified. Latest-patch fixes for user reports are unconfirmed. Moving directly from 12.x also needs the separate major upgrade guide, including storage and plugin compatibility changes; this thread addresses the 13.1 to 13.2 transition.
Started from a post by @Grafana maintainers, packaged by the editor. Original post