Grafana Plugin Not Loading After a HEAL Upgrade
Restore the HEAL Grafana data source plugin when dashboards break after an upgrade.
After a HEAL platform upgrade, the Grafana dashboards may stop working — panels fail to render, show "No data" or a plugin error, or the HEAL data source no longer loads. In most cases this is caused by Grafana refusing to load HEAL's data source plugin after the upgrade, rather than by a problem with the dashboards themselves.
This guide explains how the HEAL Grafana plugins are packaged, and gives a step-by-step checklist to diagnose and fix the plugin after an upgrade. Work through the checklist in order; each item maps to one of the standard verification points (installation and compatibility, version, configuration, logs, permissions and dependencies, and recent changes).
About the HEAL Grafana plugins#
HEAL ships Grafana as a containerised service managed by Nomad (job name grafana). Recent HEAL releases bundle Grafana 11.x. HEAL renders its dashboards through data source plugins that are loaded from a plugins directory mounted into the Grafana container:
| Item | Value |
|---|---|
| Plugins directory (host) | /opt/Heal/Appsone_Service/grafana/plugins |
| Plugins directory (inside container) | /var/lib/grafana/plugins |
| HEAL data source plugin ID | heal-application-dashboard-datasource |
| Additional plugin used by HEAL | simpod-json-datasource |
| Effective config (inside container) | /etc/grafana/grafana.ini (generated from a template) |
| Config template (host) | /opt/Heal/Appsone_Service/conf-template/grafana/grafana.ini.tpl |
These plugins are loaded as unsigned plugins. Grafana enforces plugin signatures, so an unsigned plugin loads only when its ID is allow-listed in grafana.ini under the [plugins] section:
[plugins]
allow_loading_unsigned_plugins = simpod-json-datasource,heal-application-dashboard-datasource
Why an upgrade can break the plugin: grafana.ini is generated at container start from the template above. If an upgrade replaces or overwrites the template (grafana.ini.tpl), the regenerated grafana.ini can lose the allow-list entries — after which Grafana silently refuses to load the unsigned HEAL plugin and the dashboards stop working. A major Grafana version change can also tighten signature enforcement or disable legacy AngularJS-based plugins by default. Note that a plugin whose signature has been modified is never loaded, even if it is allow-listed.
Quick reference: symptom to likely cause#
| Log message / symptom | Likely cause | Resolution |
|---|---|---|
| "plugin ... is unsigned" / "Skipping loading plugin due to unsigned" | Allow-list lost during the upgrade | Cause A |
| "angular ... not supported" / plugin needs Angular | Plugin incompatible with the new Grafana version | Cause B |
| "failed to load plugin" / "permission denied" / "signature ... modified" | Plugin files missing, corrupt, or wrong ownership | Cause C |
| Plugin loads, but panels show "No data" | Data source configuration lost during the upgrade | Cause D |
Diagnostic checklist#
Before you start, identify the running Grafana allocation so you can query it. The examples below use <alloc-id> and <plugin-id> (for example heal-application-dashboard-datasource) as placeholders:
nomad status grafana
1. Plugin installation and compatibility#
What to verify: the plugin files are present, Grafana has loaded the plugin, and the plugin is compatible with the running Grafana version.
i. Confirm the plugin files exist in the plugins mount. Each plugin is its own directory (named after its plugin ID) containing a plugin.json and, for a backend data source plugin, an executable binary:
ls -l /opt/Heal/Appsone_Service/grafana/plugins
ls -l /opt/Heal/Appsone_Service/grafana/plugins/<plugin-id>
Note: An empty or partial plugins directory means the upgrade did not deploy the plugin. Redeploy it from the HEAL release bundle (see Cause C).
ii. List the plugins Grafana sees, from inside the running container:
nomad alloc exec -task grafana <alloc-id> grafana cli plugins ls
Note: On Grafana 11, use grafana cli. The older standalone grafana-cli command still works but is deprecated and may be removed in a future release.
iii. In the Grafana UI, go to Administration → Plugins and data → Plugins and search for the HEAL plugin. It should appear and be enabled — not shown as "Not found", "unsigned", or "disabled".
iv. Check compatibility by comparing the plugin's declared Grafana dependency with the running Grafana version:
grep -E 'grafanaDependency|"version"' /opt/Heal/Appsone_Service/grafana/plugins/<plugin-id>/plugin.json
nomad alloc exec -task grafana <alloc-id> grafana cli -v
If the plugin's grafanaDependency (for example >=9.0.0) does not include the running Grafana version, the plugin is incompatible with this release (see Cause B).
2. Plugin version after the upgrade#
What to verify: which plugin version is present after the upgrade, and whether the upgrade replaced, downgraded, or removed it.
i. Read the installed plugin version:
grep '"version"' /opt/Heal/Appsone_Service/grafana/plugins/<plugin-id>/plugin.json
ii. Confirm this matches the plugin version shipped in the HEAL upgrade bundle, and that it is the build intended for the new Grafana version. If you recorded the plugin version that worked before the upgrade, compare the two. An upgrade can leave a stale plugin that predates the new Grafana, ship a newer plugin that expects a different Grafana version, or fail to copy the plugin at all.
3. Plugin configuration#
What to verify: the plugin allow-list and the data source configuration survived the upgrade.
i. Because grafana.ini is generated from the template, check the rendered file that the container is actually using, not just the template. Confirm the [plugins] section still allow-lists the HEAL plugin:
nomad alloc exec -task grafana <alloc-id> grep allow_loading_unsigned_plugins /etc/grafana/grafana.ini
The command must return the line, and its value must include the HEAL plugin ID:
allow_loading_unsigned_plugins = simpod-json-datasource,heal-application-dashboard-datasource
If the HEAL plugin ID is missing here after the upgrade, this is the most common cause (see Cause A).
ii. In the UI, go to Connections → Data sources, open the HEAL data source, and confirm its URL, credentials, or token still point to the correct HEAL backend for this environment. Upgrades occasionally reset these values (see Cause D).
4. Grafana server logs for plugin-related errors#
What to verify: the Grafana logs for plugin load, signature, or runtime errors around the time the service started after the upgrade.
HEAL runs Grafana with [log] mode = console file, so logs are available both from the Nomad allocation (console output) and from a log file inside the container.
i. View the allocation logs and filter for plugin errors:
nomad alloc logs <alloc-id> | grep -iE 'plugin|signature|unsigned|angular|failed to load|datasource'
nomad alloc logs -stderr <alloc-id>
ii. Alternatively, read the log file inside the container:
nomad alloc exec -task grafana <alloc-id> tail -n 200 /var/log/grafana/grafana.log
Use the Quick reference table above to map the message you find to a likely cause.
5. Plugin permissions and dependencies#
What to verify: the Grafana process can read the plugin directory and execute the backend binary, and any runtime dependencies are present.
i. The Grafana container runs as the HEAL service user (its UID and GID are supplied from the platform configuration, typically the healuser account). That user must be able to read the plugin directory and execute the plugin's backend binary. Check ownership and permissions:
ls -l /opt/Heal/Appsone_Service/grafana/plugins
ls -l /opt/Heal/Appsone_Service/grafana/plugins/<plugin-id>
Files should be owned by the HEAL service user and group (for example healuser:healuser), and the backend binary must be executable. If not, correct them (see Cause C).
ii. A backend data source plugin ships a platform-specific binary. Ensure the binary architecture matches the container (for example linux_amd64) and that any data source the dashboards depend on is present and healthy.
Note: If SELinux is enforcing, confirm it is not blocking the plugin binary. HEAL prerequisites require SELinux to be disabled — see the Linux host preparation guide.
6. Recent changes affecting plugin functionality#
What to verify: what changed around the time the issue appeared. The upgrade itself is the primary change to inspect.
i. Confirm what the upgrade changed: the Grafana version (a major bump tightens signature and Angular enforcement), the grafana.ini.tpl template (which carries the plugin allow-list) or the values it references (data source URLs, hostnames, ports, authentication), and the plugin build.
ii. Check for out-of-band changes in the same window: certificate or token rotation, a backend endpoint or HAProxy route change, operating-system patching, or firewall changes.
iii. Compare the current grafana.ini, plugin version, and grafana.nomad against a backup taken before the upgrade to see exactly what changed.
Root causes and resolutions#
Cause A — Plugin allow-list was reset by the upgrade (most common)#
The upgrade regenerated grafana.ini without the HEAL plugin in allow_loading_unsigned_plugins, so Grafana refuses to load the unsigned plugin.
1. Edit the template and ensure the [plugins] section allow-lists the HEAL plugin (and simpod-json-datasource):
vi /opt/Heal/Appsone_Service/conf-template/grafana/grafana.ini.tpl
[plugins]
allow_loading_unsigned_plugins = simpod-json-datasource,heal-application-dashboard-datasource
2. Restart the Grafana job so the template re-renders and the container reloads the configuration (use your platform's standard procedure — for example restarting the grafana Nomad job, or stopping and re-running grafana.nomad):
nomad job restart grafana
3. Confirm the plugin now loads (checklist items 1 and 4).
Cause B — Plugin incompatible with the new Grafana version#
The new Grafana version no longer supports the installed plugin build — for example the plugin's grafanaDependency excludes the new version, or the plugin is AngularJS-based and the new Grafana disables Angular by default.
1. Deploy the plugin build that matches the Grafana version bundled with this HEAL release, taken from the HEAL release bundle, into the plugins mount.
2. If the plugin is AngularJS-based, prefer the updated (React-based) plugin build. Only as a temporary measure, and only if your Grafana version still supports it, you may re-enable Angular in grafana.ini:
[panels]
angular_support_enabled = true
3. Restart the Grafana job and re-verify (checklist items 1, 2, and 4).
Cause C — Plugin files missing, corrupt, or wrong ownership#
The plugin directory is empty or partial after the upgrade, the files are corrupt (modified signature), or the Grafana user cannot read or execute them.
1. Redeploy the plugin from the HEAL release bundle into the plugins mount:
/opt/Heal/Appsone_Service/grafana/plugins/<plugin-id>
2. Fix ownership and permissions so the HEAL service user can read the directory and execute the backend binary:
chown -R healuser:healuser /opt/Heal/Appsone_Service/grafana/plugins
chmod -R u+rX /opt/Heal/Appsone_Service/grafana/plugins
3. Restart the Grafana job and confirm the plugin loads without signature or "failed to load" errors.
Cause D — Data source configuration lost#
The plugin loads, but panels show "No data" because the HEAL data source settings were reset during the upgrade.
1. In the UI, go to Connections → Data sources and open the HEAL data source.
2. Restore the correct URL, credentials, or token for this environment, then use Save & test to confirm connectivity.
Verify the fix#
After applying the resolution and restarting Grafana, confirm all of the following:
1. The Grafana logs show the plugin loaded, with no signature, Angular, or "failed to load" errors (checklist item 4).
2. Administration → Plugins and data → Plugins shows the HEAL plugin as enabled.
3. The affected dashboards render, and the panels populate with data.
Prevent recurrence#
1. Before any HEAL or Grafana upgrade, back up the rendered grafana.ini, the grafana.nomad file, and the plugins directory.
2. Record the working plugin version and the Grafana version it is compatible with, so you can compare after an upgrade.
3. Add "HEAL Grafana plugin loads and dashboards render" to the post-upgrade validation checklist, so the plugin is verified as part of every upgrade rather than discovered later.