Datasource not found after downgrade of grafana from enterprise 8.4.5 to enterprise 7.5.1

What happened: after the downgrade from 8.4.5 to 7.5.1 not able to load predefined datasources and queries in panel. In the panel, the data source dropdown shows option not found, even the datasource existed.

What you expected to happen: Even after downgrade we should be able to bring up dashboard with previous datasources and queries.

How to reproduce it (as minimally and precisely as possible):

  1. Install grafana enterprise 8.4.5 image using docker, draw a line chart with InfluxDB datasource
  2. rollback from enterprise 8.4.5 to enterprise 7.5.1
  3. Try to open up the dashboard
t=2022-04-18T20:14:21+0000 lvl=info msg="Starting Grafana" logger=server version=7.5.1 commit=4dffb875cf branch=HEAD compiled=2021-03-26T13:12:21+0000

t=2022-04-18T20:14:21+0000 lvl=info msg="Config loaded from" logger=settings file=/usr/share/grafana/conf/defaults.ini

t=2022-04-18T20:14:21+0000 lvl=info msg="Config loaded from" logger=settings file=/etc/grafana/grafana.ini

t=2022-04-18T20:14:21+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.data=/var/lib/grafana"

t=2022-04-18T20:14:21+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.logs=/var/log/grafana"

t=2022-04-18T20:14:21+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.plugins=/var/lib/grafana/plugins"

t=2022-04-18T20:14:21+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.provisioning=/etc/grafana/provisioning"

t=2022-04-18T20:14:21+0000 lvl=info msg="Config overridden from command line" logger=settings arg="default.log.mode=console"

t=2022-04-18T20:14:21+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PATHS_DATA=/var/lib/grafana"

t=2022-04-18T20:14:21+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PATHS_LOGS=/var/log/grafana"

t=2022-04-18T20:14:21+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PATHS_PLUGINS=/var/lib/grafana/plugins"

t=2022-04-18T20:14:21+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_PATHS_PROVISIONING=/etc/grafana/provisioning"

t=2022-04-18T20:14:21+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_SECURITY_ADMIN_USER=admin"

t=2022-04-18T20:14:21+0000 lvl=info msg="Config overridden from Environment variable" logger=settings var="GF_SECURITY_ADMIN_PASSWORD=*********"

t=2022-04-18T20:14:21+0000 lvl=info msg="Path Home" logger=settings path=/usr/share/grafana

t=2022-04-18T20:14:21+0000 lvl=info msg="Path Data" logger=settings path=/var/lib/grafana

t=2022-04-18T20:14:21+0000 lvl=info msg="Path Logs" logger=settings path=/var/log/grafana

t=2022-04-18T20:14:21+0000 lvl=info msg="Path Plugins" logger=settings path=/var/lib/grafana/plugins

t=2022-04-18T20:14:21+0000 lvl=info msg="Path Provisioning" logger=settings path=/etc/grafana/provisioning

t=2022-04-18T20:14:21+0000 lvl=info msg="App mode production" logger=settings

t=2022-04-18T20:14:21+0000 lvl=info msg="Connecting to DB" logger=sqlstore dbtype=sqlite3

t=2022-04-18T20:14:21+0000 lvl=info msg="Starting DB migrations" logger=migrator

t=2022-04-18T20:14:21+0000 lvl=info msg="migrations completed" logger=migrator performed=0 skipped=320 duration=6.3827ms

t=2022-04-18T20:14:21+0000 lvl=info msg="Validated license token" logger=licensing appURL=http://localhost:3000/ source=disk status=NotFound

t=2022-04-18T20:14:21+0000 lvl=info msg="Starting plugin search" logger=plugins

t=2022-04-18T20:14:21+0000 lvl=info msg="Registering plugin" logger=plugins id=input

t=2022-04-18T20:14:25+0000 lvl=info msg="Registering plugin" logger=plugins id=michaeldmoore-annunciator-panel

t=2022-04-18T20:14:25+0000 lvl=info msg="Registering plugin" logger=plugins id=p-my-plugin

t=2022-04-18T20:14:25+0000 lvl=info msg="Registering plugin" logger=plugins id=grafana-singlestat-panel

t=2022-04-18T20:14:25+0000 lvl=info msg="Registering plugin" logger=plugins id=natel-discrete-panel

t=2022-04-18T20:14:25+0000 lvl=info msg="Registering plugin" logger=plugins id=simpod-json-datasource

t=2022-04-18T20:14:25+0000 lvl=info msg="Registering plugin" logger=plugins id=ae3e-plotly-panel

t=2022-04-18T20:14:25+0000 lvl=info msg="Registering plugin" logger=plugins id=gapit-htmlgraphics-panel

t=2022-04-18T20:14:25+0000 lvl=info msg="Registering plugin" logger=plugins id=netsage-sankey-panel

t=2022-04-18T20:14:25+0000 lvl=info msg="Registering plugin" logger=plugins id=novatec-sdg-panel

t=2022-04-18T20:14:25+0000 lvl=info msg="Registering plugin" logger=plugins id=yesoreyeram-infinity-datasource

t=2022-04-18T20:14:25+0000 lvl=info msg="Registering plugin" logger=plugins id=briangann-datatable-panel

t=2022-04-18T20:14:25+0000 lvl=info msg="Registering plugin" logger=plugins id=grafana-simple-json-datasource

t=2022-04-18T20:14:25+0000 lvl=info msg="Registering plugin" logger=plugins id=integrationmatters-comparison-panel

t=2022-04-18T20:14:25+0000 lvl=info msg="Registering plugin" logger=plugins id=marcusolsson-json-datasource

t=2022-04-18T20:14:25+0000 lvl=info msg="Registering plugin" logger=plugins id=neocat-cal-heatmap-panel

t=2022-04-18T20:14:25+0000 lvl=info msg="Registering plugin" logger=plugins id=yesoreyeram-boomtable-panel

t=2022-04-18T20:14:25+0000 lvl=eror msg="Failed to read plugin provisioning files from directory" logger=provisioning.plugins path=/etc/grafana/provisioning/plugins error="open /etc/grafana/provisioning/plugins: no such file or directory"

t=2022-04-18T20:14:25+0000 lvl=warn msg="Scheduling and sending of reports disabled, no image renderer found/installed. For image rendering support please install the grafana-image-renderer plugin. Read more at https://grafana.com/docs/grafana/latest/administration/image_rendering/" logger=report

t=2022-04-18T20:14:25+0000 lvl=info msg="HTTP Server Listen" logger=http.server address=[::]:3000 protocol=http subUrl= socket=

t=2022-04-18T20:14:30+0000 lvl=info msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=GET path=/api/live/ws status=404 remote_addr=172.21.0.1 time_ms=11 size=23 referer=

t=2022-04-18T20:14:32+0000 lvl=eror msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=GET path=/api/datasources/proxy/24/query status=500 remote_addr=172.21.0.1 time_ms=98 size=168 referer="http://localhost:3000/d/t1-e4fs7k/overview-dashboard-demo?orgId=1"

t=2022-04-18T20:14:32+0000 lvl=eror msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=GET path=/api/datasources/proxy/24/query status=500 remote_addr=172.21.0.1 time_ms=105 size=168 referer="http://localhost:3000/d/t1-e4fs7k/overview-dashboard-demo?orgId=1"

{"@level":"debug","@message":"datasource: registering query type handler","@timestamp":"2022-04-18T20:14:25.212680Z","queryType":"exponential_heatmap_bucket_data"}

{"@level":"debug","@message":"datasource: registering query type handler","@timestamp":"2022-04-18T20:14:25.212751Z","queryType":"linear_heatmap_bucket_data"}

{"@level":"debug","@message":"datasource: registering query type handler","@timestamp":"2022-04-18T20:14:25.212776Z","queryType":"random_walk"}

{"@level":"debug","@message":"datasource: registering query type handler","@timestamp":"2022-04-18T20:14:25.212792Z","queryType":"predictable_pulse"}

{"@level":"debug","@message":"datasource: registering query type handler","@timestamp":"2022-04-18T20:14:25.212808Z","queryType":"predictable_csv_wave"}

{"@level":"debug","@message":"datasource: registering query type handler","@timestamp":"2022-04-18T20:14:25.212833Z","queryType":"random_walk_table"}

{"@level":"debug","@message":"datasource: registering query type handler","@timestamp":"2022-04-18T20:14:25.212857Z","queryType":"slow_query"}

{"@level":"debug","@message":"datasource: registering query type handler","@timestamp":"2022-04-18T20:14:25.212881Z","queryType":"no_data_points"}

{"@level":"debug","@message":"datasource: registering query type handler","@timestamp":"2022-04-18T20:14:25.212907Z","queryType":"datapoints_outside_range"}

{"@level":"debug","@message":"datasource: registering query type handler","@timestamp":"2022-04-18T20:14:25.212924Z","queryType":"manual_entry"}

{"@level":"debug","@message":"datasource: registering query type handler","@timestamp":"2022-04-18T20:14:25.212939Z","queryType":"csv_metric_values"}

{"@level":"debug","@message":"datasource: registering query type handler","@timestamp":"2022-04-18T20:14:25.212962Z","queryType":"streaming_client"}

{"@level":"debug","@message":"datasource: registering query type handler","@timestamp":"2022-04-18T20:14:25.212985Z","queryType":"live"}

{"@level":"debug","@message":"datasource: registering query type handler","@timestamp":"2022-04-18T20:14:25.213021Z","queryType":"grafana_api"}

{"@level":"debug","@message":"datasource: registering query type handler","@timestamp":"2022-04-18T20:14:25.213068Z","queryType":"arrow"}

{"@level":"debug","@message":"datasource: registering query type handler","@timestamp":"2022-04-18T20:14:25.213094Z","queryType":"annotations"}

{"@level":"debug","@message":"datasource: registering query type handler","@timestamp":"2022-04-18T20:14:25.213119Z","queryType":"table_static"}

{"@level":"debug","@message":"datasource: registering query type handler","@timestamp":"2022-04-18T20:14:25.213136Z","queryType":"random_walk_with_error"}

{"@level":"debug","@message":"datasource: registering query type handler","@timestamp":"2022-04-18T20:14:25.213151Z","queryType":"server_error_500"}

{"@level":"debug","@message":"datasource: registering query type handler","@timestamp":"2022-04-18T20:14:25.213174Z","queryType":"logs"}

{"@level":"debug","@message":"datasource: registering query type handler","@timestamp":"2022-04-18T20:14:25.213198Z","queryType":"node_graph"}

{"@level":"debug","@message":"datasource: registering query type fallback handler","@timestamp":"2022-04-18T20:14:25.213213Z"}

Anything else we need to know?:

Environment:

Grafana version: grafana-enterprise 7.5.1, grafana-enterprise 8.4.5
Data source type: InfluxDB
Grafana is installed on: Docker
User OS: n/a
Grafana plugins: n/a
Others: n/a

since you are paying for enterprise, have you reached out and made a support request for this?

can you share a little more about why you wanted to downgrade? I’d be curious to know :slight_smile: