10.3.3 broken - will not start: function "__dangerouslyInjectHTML" not defined

After upgrading to 10.3.3 grafana-service will no longer start

Feb 20 19:10:24 ubuntu-s-1vcpu-1gb-lon1-01 grafana-server[10877]: logger=migrator t=2024-02-20T19:10:24.454405793Z level=info msg="migrations completed" performed=0 skipped=541 duration=905.305µs
Feb 20 19:10:24 ubuntu-s-1vcpu-1gb-lon1-01 grafana-server[10877]: logger=licensing t=2024-02-20T19:10:24.455267628Z level=info msg="Validated license token" appURL=http://localhost:3000/ source=disk status=NotFound
Feb 20 19:10:24 ubuntu-s-1vcpu-1gb-lon1-01 grafana-server[10877]: logger=plugin.loader t=2024-02-20T19:10:24.522558967Z level=error msg="Could not start plugin" pluginId=parca err="fork/exec /usr/share/grafana/public/app/plugins/datasource/parca/dist/gpx_parca_linux_amd64: no such file or directory"
Feb 20 19:10:24 ubuntu-s-1vcpu-1gb-lon1-01 grafana-server[10877]: logger=plugin.loader t=2024-02-20T19:10:24.523182964Z level=error msg="Could not start plugin" pluginId=grafana-testdata-datasource err="fork/exec /usr/share/grafana/public/app/plugins/datasource/grafana-testdata-datasource/dist/gpx_testdata_linux_amd64: no such file or directory"
Feb 20 19:10:24 ubuntu-s-1vcpu-1gb-lon1-01 grafana-server[10877]: logger=plugin.loader t=2024-02-20T19:10:24.52358979Z level=error msg="Could not start plugin" pluginId=grafana-postgresql-datasource err="fork/exec /usr/share/grafana/public/app/plugins/datasource/grafana-postgresql-datasource/_linux_amd64: no such file or directory"
Feb 20 19:10:24 ubuntu-s-1vcpu-1gb-lon1-01 grafana-server[10877]: logger=plugin.loader t=2024-02-20T19:10:24.523754723Z level=error msg="Could not start plugin" pluginId=grafana-azure-monitor-datasource err="plugin grafana-azure-monitor-datasource is already registered"
Feb 20 19:10:24 ubuntu-s-1vcpu-1gb-lon1-01 grafana-server[10877]: logger=plugin.loader t=2024-02-20T19:10:24.524497168Z level=error msg="Could not start plugin" pluginId=grafana-pyroscope-datasource err="fork/exec /usr/share/grafana/public/app/plugins/datasource/grafana-pyroscope-datasource/_linux_amd64: no such file or directory"
Feb 20 19:10:24 ubuntu-s-1vcpu-1gb-lon1-01 grafana-server[10877]: logger=plugin.loader t=2024-02-20T19:10:24.525128848Z level=info msg="Plugin registered" pluginID=input
Feb 20 19:10:24 ubuntu-s-1vcpu-1gb-lon1-01 grafana-server[10877]: logger=plugin.loader t=2024-02-20T19:10:24.588192443Z level=info msg="Plugin registered" pluginID=grafana-piechart-panel
Feb 20 19:10:24 ubuntu-s-1vcpu-1gb-lon1-01 grafana-server[10877]: logger=plugin.loader t=2024-02-20T19:10:24.588495466Z level=info msg="Plugin registered" pluginID=marcusolsson-treemap-panel
Feb 20 19:10:24 ubuntu-s-1vcpu-1gb-lon1-01 grafana-server[10877]: logger=secrets t=2024-02-20T19:10:24.588888859Z level=info msg="Envelope encryption state" enabled=true currentprovider=secretKey.v1
Feb 20 19:10:24 ubuntu-s-1vcpu-1gb-lon1-01 grafana-server[10877]: Failed to start grafana. error: template: verify_email_update.html:6: function "__dangerouslyInjectHTML" not defined
Feb 20 19:10:24 ubuntu-s-1vcpu-1gb-lon1-01 grafana-server[10877]: template: verify_email_update.html:6: function "__dangerouslyInjectHTML" not defined

1 Like

this fixed it for me

dpkg -r grafana
dpkg -i grafana-enterprise_10.3.3_amd64.deb
1 Like