Grafana is constantly restarting

My grafana-server is contastantly restarting and I have no idea what is causing the issue.
Restarting server does help, but after upgrade grafana or restarting grafana the issue appears.
Here’s the logs:
logger=settings t=2022-04-23T23:09:56.75+0200 lvl=info msg=“Path Logs” path=/var/log/grafana
logger=settings t=2022-04-23T23:09:56.75+0200 lvl=info msg=“Path Plugins” path=/var/lib/grafana/plugins
logger=settings t=2022-04-23T23:09:56.75+0200 lvl=info msg=“Path Provisioning” path=/etc/grafana/provisioning
logger=settings t=2022-04-23T23:09:56.75+0200 lvl=info msg=“App mode production”
logger=sqlstore t=2022-04-23T23:09:56.75+0200 lvl=info msg=“Connecting to DB” dbtype=sqlite3
logger=migrator t=2022-04-23T23:09:56.84+0200 lvl=info msg=“Starting DB migrations”
logger=migrator t=2022-04-23T23:09:56.88+0200 lvl=info msg=“migrations completed” performed=0 skipped=381 duration=3.899093ms
logger=plugin.manager t=2022-04-23T23:09:57.13+0200 lvl=info msg=“Plugin registered” pluginId=input
logger=query_data t=2022-04-23T23:09:57.13+0200 lvl=info msg=“Query Service initialization”
logger=live.push_http t=2022-04-23T23:09:57.15+0200 lvl=info msg=“Live Push Gateway initialization”
logger=settings t=2022-04-23T23:10:08.25+0200 lvl=info msg=“Starting Grafana” version=8.4.7 commit=23bf3ef043 branch=HEAD compiled=2022-04-19T18:05:49+02:00
logger=settings t=2022-04-23T23:10:08.25+0200 lvl=info msg=“The state of unified alerting is still not defined. The decision will be made during as we run the database migrations”
logger=settings t=2022-04-23T23:10:08.25+0200 lvl=warn msg=“falling back to legacy setting of ‘min_interval_seconds’; please use the configuration option in the unified_alerting section if Grafana 8 alerts are enabled.”
logger=settings t=2022-04-23T23:10:08.25+0200 lvl=info msg=“Config loaded from” file=/usr/share/grafana/conf/defaults.ini
logger=settings t=2022-04-23T23:10:08.25+0200 lvl=info msg=“Config loaded from” file=/etc/grafana/grafana.ini
logger=settings t=2022-04-23T23:10:08.25+0200 lvl=info msg=“Config overridden from command line” arg=“default.paths.data=/var/lib/grafana”
logger=settings t=2022-04-23T23:10:08.25+0200 lvl=info msg=“Config overridden from command line” arg=“default.paths.logs=/var/log/grafana”
logger=settings t=2022-04-23T23:10:08.25+0200 lvl=info msg=“Config overridden from command line” arg=“default.paths.plugins=/var/lib/grafana/plugins”
logger=settings t=2022-04-23T23:10:08.25+0200 lvl=info msg=“Config overridden from command line” arg=“default.paths.provisioning=/etc/grafana/provisioning”
logger=settings t=2022-04-23T23:10:08.25+0200 lvl=info msg=“Path Home” path=/usr/share/grafana
logger=settings t=2022-04-23T23:10:08.25+0200 lvl=info msg=“Path Data” path=/var/lib/grafana
logger=settings t=2022-04-23T23:10:08.25+0200 lvl=info msg=“Path Logs” path=/var/log/grafana
logger=settings t=2022-04-23T23:10:08.25+0200 lvl=info msg=“Path Plugins” path=/var/lib/grafana/plugins
logger=settings t=2022-04-23T23:10:08.25+0200 lvl=info msg=“Path Provisioning” path=/etc/grafana/provisioning
logger=settings t=2022-04-23T23:10:08.25+0200 lvl=info msg=“App mode production”
logger=sqlstore t=2022-04-23T23:10:08.25+0200 lvl=info msg=“Connecting to DB” dbtype=sqlite3
logger=migrator t=2022-04-23T23:10:08.34+0200 lvl=info msg=“Starting DB migrations”
logger=migrator t=2022-04-23T23:10:08.37+0200 lvl=info msg=“migrations completed” performed=0 skipped=381 duration=3.621429ms
logger=plugin.manager t=2022-04-23T23:10:08.59+0200 lvl=info msg=“Plugin registered” pluginId=input
logger=query_data t=2022-04-23T23:10:08.59+0200 lvl=info msg=“Query Service initialization”
logger=live.push_http t=2022-04-23T23:10:08.62+0200 lvl=info msg=“Live Push Gateway initialization”
logger=settings t=2022-04-23T23:10:19.77+0200 lvl=info msg=“Starting Grafana” version=8.4.7 commit=23bf3ef043 branch=HEAD compiled=2022-04-19T18:05:49+02:00
logger=settings t=2022-04-23T23:10:19.77+0200 lvl=info msg=“The state of unified alerting is still not defined. The decision will be made during as we run the database migrations”
logger=settings t=2022-04-23T23:10:19.77+0200 lvl=warn msg=“falling back to legacy setting of ‘min_interval_seconds’; please use the configuration option in the unified_alerting section if Grafana 8 alerts are enabled.”
logger=settings t=2022-04-23T23:10:19.77+0200 lvl=info msg=“Config loaded from” file=/usr/share/grafana/conf/defaults.ini
logger=settings t=2022-04-23T23:10:19.77+0200 lvl=info msg=“Config loaded from” file=/etc/grafana/grafana.ini
logger=settings t=2022-04-23T23:10:19.77+0200 lvl=info msg=“Config overridden from command line” arg=“default.paths.data=/var/lib/grafana”
logger=settings t=2022-04-23T23:10:19.77+0200 lvl=info msg=“Config overridden from command line” arg=“default.paths.logs=/var/log/grafana”
logger=settings t=2022-04-23T23:10:19.77+0200 lvl=info msg=“Config overridden from command line” arg=“default.paths.plugins=/var/lib/grafana/plugins”
logger=settings t=2022-04-23T23:10:19.77+0200 lvl=info msg=“Config overridden from command line” arg=“default.paths.provisioning=/etc/grafana/provisioning”
logger=settings t=2022-04-23T23:10:19.77+0200 lvl=info msg=“Path Home” path=/usr/share/grafana
logger=settings t=2022-04-23T23:10:19.77+0200 lvl=info msg=“Path Data” path=/var/lib/grafana
logger=settings t=2022-04-23T23:10:19.77+0200 lvl=info msg=“Path Logs” path=/var/log/grafana
logger=settings t=2022-04-23T23:10:19.77+0200 lvl=info msg=“Path Plugins” path=/var/lib/grafana/plugins
logger=settings t=2022-04-23T23:10:19.77+0200 lvl=info msg=“Path Provisioning” path=/etc/grafana/provisioning
logger=settings t=2022-04-23T23:10:19.77+0200 lvl=info msg=“App mode production”
logger=sqlstore t=2022-04-23T23:10:19.78+0200 lvl=info msg=“Connecting to DB” dbtype=sqlite3
logger=migrator t=2022-04-23T23:10:19.88+0200 lvl=info msg=“Starting DB migrations”
logger=migrator t=2022-04-23T23:10:19.91+0200 lvl=info msg=“migrations completed” performed=0 skipped=381 duration=3.443968ms
logger=plugin.manager t=2022-04-23T23:10:20.15+0200 lvl=info msg=“Plugin registered” pluginId=input
logger=query_data t=2022-04-23T23:10:20.15+0200 lvl=info msg=“Query Service initialization”
logger=live.push_http t=2022-04-23T23:10:20.18+0200 lvl=info msg=“Live Push Gateway initialization”
logger=settings t=2022-04-23T23:10:31.21+0200 lvl=info msg=“Starting Grafana” version=8.4.7 commit=23bf3ef043 branch=HEAD compiled=2022-04-19T18:05:49+02:00
logger=settings t=2022-04-23T23:10:31.21+0200 lvl=info msg=“The state of unified alerting is still not defined. The decision will be made during as we run the database migrations”
logger=settings t=2022-04-23T23:10:31.21+0200 lvl=warn msg=“falling back to legacy setting of ‘min_interval_seconds’; please use the configuration option in the unified_alerting section if Grafana 8 alerts are enabled.”
logger=settings t=2022-04-23T23:10:31.21+0200 lvl=info msg=“Config loaded from” file=/usr/share/grafana/conf/defaults.ini
logger=settings t=2022-04-23T23:10:31.21+0200 lvl=info msg=“Config loaded from” file=/etc/grafana/grafana.ini
logger=settings t=2022-04-23T23:10:31.21+0200 lvl=info msg=“Config overridden from command line” arg=“default.paths.data=/var/lib/grafana”
logger=settings t=2022-04-23T23:10:31.21+0200 lvl=info msg=“Config overridden from command line” arg=“default.paths.logs=/var/log/grafana”
logger=settings t=2022-04-23T23:10:31.21+0200 lvl=info msg=“Config overridden from command line” arg=“default.paths.plugins=/var/lib/grafana/plugins”
logger=settings t=2022-04-23T23:10:31.21+0200 lvl=info msg=“Config overridden from command line” arg=“default.paths.provisioning=/etc/grafana/provisioning”
logger=settings t=2022-04-23T23:10:31.21+0200 lvl=info msg=“Path Home” path=/usr/share/grafana
logger=settings t=2022-04-23T23:10:31.21+0200 lvl=info msg=“Path Data” path=/var/lib/grafana
logger=settings t=2022-04-23T23:10:31.21+0200 lvl=info msg=“Path Logs” path=/var/log/grafana
logger=settings t=2022-04-23T23:10:31.21+0200 lvl=info msg=“Path Plugins” path=/var/lib/grafana/plugins
logger=settings t=2022-04-23T23:10:31.21+0200 lvl=info msg=“Path Provisioning” path=/etc/grafana/provisioning
logger=settings t=2022-04-23T23:10:31.21+0200 lvl=info msg=“App mode production”
logger=sqlstore t=2022-04-23T23:10:31.21+0200 lvl=info msg=“Connecting to DB” dbtype=sqlite3
logger=migrator t=2022-04-23T23:10:31.31+0200 lvl=info msg=“Starting DB migrations”
logger=migrator t=2022-04-23T23:10:31.34+0200 lvl=info msg=“migrations completed” performed=0 skipped=381 duration=3.599003ms
logger=plugin.manager t=2022-04-23T23:10:31.56+0200 lvl=info msg=“Plugin registered” pluginId=input
logger=query_data t=2022-04-23T23:10:31.57+0200 lvl=info msg=“Query Service initialization”
logger=live.push_http t=2022-04-23T23:10:31.59+0200 lvl=info msg=“Live Push Gateway initialization”
logger=settings t=2022-04-23T23:10:43.01+0200 lvl=info msg=“Starting Grafana” version=8.4.7 commit=23bf3ef043 branch=HEAD compiled=2022-04-19T18:05:49+02:00
logger=settings t=2022-04-23T23:10:43.01+0200 lvl=info msg=“The state of unified alerting is still not defined. The decision will be made during as we run the database migrations”
logger=settings t=2022-04-23T23:10:43.01+0200 lvl=warn msg=“falling back to legacy setting of ‘min_interval_seconds’; please use the configuration option in the unified_alerting section if Grafana 8 alerts are enabled.”
logger=settings t=2022-04-23T23:10:43.01+0200 lvl=info msg=“Config loaded from” file=/usr/share/grafana/conf/defaults.ini
logger=settings t=2022-04-23T23:10:43.01+0200 lvl=info msg=“Config loaded from” file=/etc/grafana/grafana.ini
logger=settings t=2022-04-23T23:10:43.01+0200 lvl=info msg=“Config overridden from command line” arg=“default.paths.data=/var/lib/grafana”
logger=settings t=2022-04-23T23:10:43.01+0200 lvl=info msg=“Config overridden from command line” arg=“default.paths.logs=/var/log/grafana”
logger=settings t=2022-04-23T23:10:43.01+0200 lvl=info msg=“Config overridden from command line” arg=“default.paths.plugins=/var/lib/grafana/plugins”
logger=settings t=2022-04-23T23:10:43.01+0200 lvl=info msg=“Config overridden from command line” arg=“default.paths.provisioning=/etc/grafana/provisioning”
logger=settings t=2022-04-23T23:10:43.01+0200 lvl=info msg=“Path Home” path=/usr/share/grafana
logger=settings t=2022-04-23T23:10:43.01+0200 lvl=info msg=“Path Data” path=/var/lib/grafana
logger=settings t=2022-04-23T23:10:43.01+0200 lvl=info msg=“Path Logs” path=/var/log/grafana
logger=settings t=2022-04-23T23:10:43.01+0200 lvl=info msg=“Path Plugins” path=/var/lib/grafana/plugins
logger=settings t=2022-04-23T23:10:43.01+0200 lvl=info msg=“Path Provisioning” path=/etc/grafana/provisioning
logger=settings t=2022-04-23T23:10:43.01+0200 lvl=info msg=“App mode production”
logger=sqlstore t=2022-04-23T23:10:43.01+0200 lvl=info msg=“Connecting to DB” dbtype=sqlite3
logger=migrator t=2022-04-23T23:10:43.1+0200 lvl=info msg=“Starting DB migrations”
logger=migrator t=2022-04-23T23:10:43.14+0200 lvl=info msg=“migrations completed” performed=0 skipped=381 duration=3.70378ms
logger=plugin.manager t=2022-04-23T23:10:43.35+0200 lvl=info msg=“Plugin registered” pluginId=input
logger=query_data t=2022-04-23T23:10:43.36+0200 lvl=info msg=“Query Service initialization”
logger=live.push_http t=2022-04-23T23:10:43.38+0200 lvl=info msg=“Live Push Gateway initialization”
I’m using version=8.4.7 in rasberri pi 8Gb.

howdy,

can you try increasing the verbosity of the Grafana server logs to debug and note any errors. For printing to console, set the console logs to debug as well.