Failed to start Grafana instance

hey guys, im on raspberry 4 / 4gb all deinstalled grafana and installed again but will not start instance.

Hope, you can help. Thank you :wink:

sudo service grafana-server status
● grafana-server.service - Grafana instance
   Loaded: loaded (/lib/systemd/system/grafana-server.service; enabled; vendor p
   Active: failed (Result: exit-code) since Sat 2021-07-31 17:26:46 CEST; 4min 3
     Docs: http://docs.grafana.org
  Process: 18173 ExecStart=/usr/sbin/grafana-server --config=${CONF_FILE} --pidf
 Main PID: 18173 (code=exited, status=1/FAILURE)

Jul 31 17:26:46 raspberrypi systemd[1]: grafana-server.service: Service RestartS
Jul 31 17:26:46 raspberrypi systemd[1]: grafana-server.service: Scheduled restar
Jul 31 17:26:46 raspberrypi systemd[1]: Stopped Grafana instance.
Jul 31 17:26:46 raspberrypi systemd[1]: grafana-server.service: Start request re
Jul 31 17:26:46 raspberrypi systemd[1]: grafana-server.service: Failed with resu
Jul 31 17:26:46 raspberrypi systemd[1]: Failed to start Grafana instance.
sudo cat /var/log/grafana/grafana.log
t=2021-07-28T14:06:37+0100 lvl=info msg="Starting Grafana" logger=server version=8.0.6 commit=68fe9e3431 branch=HEAD compiled=2021-07-15T08:49:19+0100
t=2021-07-28T14:06:37+0100 lvl=info msg="Config loaded from" logger=settings file=/usr/share/grafana/conf/defaults.ini
t=2021-07-28T14:06:37+0100 lvl=info msg="Config loaded from" logger=settings file=/etc/grafana/grafana.ini
t=2021-07-28T14:06:37+0100 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.data=/var/lib/grafana"
t=2021-07-28T14:06:37+0100 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.logs=/var/log/grafana"
t=2021-07-28T14:06:37+0100 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.plugins=/var/lib/grafana/plugins"
t=2021-07-28T14:06:37+0100 lvl=info msg="Config overridden from command line" logger=settings arg="default.paths.provisioning=/etc/grafana/provisioning"
t=2021-07-28T14:06:37+0100 lvl=info msg="Path Home" logger=settings path=/usr/share/grafana
t=2021-07-28T14:06:37+0100 lvl=info msg="Path Data" logger=settings path=/var/lib/grafana
t=2021-07-28T14:06:37+0100 lvl=info msg="Path Logs" logger=settings path=/var/log/grafana
t=2021-07-28T14:06:37+0100 lvl=info msg="Path Plugins" logger=settings path=/var/lib/grafana/plugins
t=2021-07-28T14:06:37+0100 lvl=info msg="Path Provisioning" logger=settings path=/etc/grafana/provisioning
t=2021-07-28T14:06:37+0100 lvl=info msg="App mode production" logger=settings
t=2021-07-28T14:06:37+0100 lvl=info msg="Writing PID file" logger=server path=/var/run/grafana/grafana-server.pid pid=7946
t=2021-07-28T14:06:37+0100 lvl=info msg="Connecting to DB" logger=sqlstore dbtype=sqlite3
t=2021-07-28T14:06:37+0100 lvl=info msg="Creating SQLite database file" logger=sqlstore path=/var/lib/grafana/grafana.db
t=2021-07-28T14:06:37+0100 lvl=info msg="Starting DB migrations" logger=migrator
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="create migration_log table"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="create user table"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="add unique index user.login"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="add unique index user.email"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="drop index UQE_user_login - v1"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="drop index UQE_user_email - v1"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="Rename table user to user_v1 - v1"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="create user table v2"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="create index UQE_user_login - v2"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="create index UQE_user_email - v2"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="copy data_source v1 to v2"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="Drop old table user_v1"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="Add column help_flags1 to user table"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="Update user table charset"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="Add last_seen_at column to user"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="Add missing user data"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="Add is_disabled column to user"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="Add index user.login/user.email"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="create temp user table v1-7"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="create index IDX_temp_user_email - v1-7"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="create index IDX_temp_user_org_id - v1-7"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="create index IDX_temp_user_code - v1-7"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="create index IDX_temp_user_status - v1-7"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="Update temp_user table charset"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="drop index IDX_temp_user_email - v1"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="drop index IDX_temp_user_org_id - v1"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="drop index IDX_temp_user_code - v1"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="drop index IDX_temp_user_status - v1"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="Rename table temp_user to temp_user_tmp_qwerty - v1"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="create temp_user v2"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="create index IDX_temp_user_email - v2"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="create index IDX_temp_user_org_id - v2"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="create index IDX_temp_user_code - v2"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="create index IDX_temp_user_status - v2"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="copy temp_user v1 to v2"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="drop temp_user_tmp_qwerty"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="Set created for temp users that will otherwise prematurely expire"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="create star table"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="add unique index star.user_id_dashboard_id"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="create org table v1"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="create index UQE_org_name - v1"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="create org_user table v1"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="create index IDX_org_user_org_id - v1"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="create index UQE_org_user_org_id_user_id - v1"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="Update org table charset"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="Update org_user table charset"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="Migrate all Read Only Viewers to Viewers"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="create dashboard table"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="add index dashboard.account_id"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="add unique index dashboard_account_id_slug"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="create dashboard_tag table"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="add unique index dashboard_tag.dasboard_id_term"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="drop index UQE_dashboard_tag_dashboard_id_term - v1"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="Rename table dashboard to dashboard_v1 - v1"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="create dashboard v2"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="create index IDX_dashboard_org_id - v2"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="create index UQE_dashboard_org_id_slug - v2"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="copy dashboard v1 to v2"
t=2021-07-28T14:06:37+0100 lvl=info msg="Executing migration" logger=migrator id="drop table dashboard_v1"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="alter dashboard.data to mediumtext v1"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Add column updated_by in dashboard - v2"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Add column created_by in dashboard - v2"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Add column gnetId in dashboard"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Add index for gnetId in dashboard"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Add column plugin_id in dashboard"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Add index for plugin_id in dashboard"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Add index for dashboard_id in dashboard_tag"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Update dashboard table charset"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Update dashboard_tag table charset"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Add column folder_id in dashboard"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Add column isFolder in dashboard"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Add column has_acl in dashboard"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Add column uid in dashboard"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Update uid column values in dashboard"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Add unique index dashboard_org_id_uid"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Remove unique index org_id_slug"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Update dashboard title length"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Add unique index for dashboard_org_id_title_folder_id"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="create dashboard_provisioning"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Rename table dashboard_provisioning to dashboard_provisioning_tmp_qwerty - v1"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="create dashboard_provisioning v2"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="create index IDX_dashboard_provisioning_dashboard_id - v2"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="create index IDX_dashboard_provisioning_dashboard_id_name - v2"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="copy dashboard_provisioning v1 to v2"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="drop dashboard_provisioning_tmp_qwerty"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Add check_sum column"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Add index for dashboard_title"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="delete tags for deleted dashboards"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="delete stars for deleted dashboards"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="create data_source table"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="add index data_source.account_id"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="add unique index data_source.account_id_name"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="drop index IDX_data_source_account_id - v1"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="drop index UQE_data_source_account_id_name - v1"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Rename table data_source to data_source_v1 - v1"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="create data_source table v2"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="create index IDX_data_source_org_id - v2"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="create index UQE_data_source_org_id_name - v2"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="copy data_source v1 to v2"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Drop old table data_source_v1 #2"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Add column with_credentials"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Add secure json data column"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Update data_source table charset"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Update initial version to 1"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Add read_only data column"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Migrate logging ds to loki ds"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Update json_data with nulls"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Add uid column"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Update uid value"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Add unique index datasource_org_id_uid"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="add unique index datasource_org_id_is_default"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="create api_key table"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="add index api_key.account_id"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="add index api_key.key"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="add index api_key.account_id_name"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="drop index IDX_api_key_account_id - v1"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="drop index UQE_api_key_key - v1"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="drop index UQE_api_key_account_id_name - v1"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Rename table api_key to api_key_v1 - v1"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="create api_key table v2"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="create index IDX_api_key_org_id - v2"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="create index UQE_api_key_key - v2"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="create index UQE_api_key_org_id_name - v2"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="copy api_key v1 to v2"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Drop old table api_key_v1"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Update api_key table charset"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Add expires to api_key table"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="create dashboard_snapshot table v4"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="drop table dashboard_snapshot_v4 #1"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="create dashboard_snapshot table v5 #2"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="create index UQE_dashboard_snapshot_key - v5"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="create index UQE_dashboard_snapshot_delete_key - v5"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="create index IDX_dashboard_snapshot_user_id - v5"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="alter dashboard_snapshot to mediumtext v2"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Update dashboard_snapshot table charset"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Add column external_delete_url to dashboard_snapshots table"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Add encrypted dashboard json column"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Change dashboard_encrypted column to MEDIUMBLOB"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="create quota table v1"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="create index UQE_quota_org_id_user_id_target - v1"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Update quota table charset"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="create plugin_setting table"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="create index UQE_plugin_setting_org_id_plugin_id - v1"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Add column plugin_version to plugin_settings"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Update plugin_setting table charset"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="create session table"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Drop old table playlist table"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Drop old table playlist_item table"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="create playlist table v2"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="create playlist item table v2"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Update playlist table charset"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Update playlist_item table charset"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="drop preferences table v2"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="drop preferences table v3"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="create preferences table v3"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Update preferences table charset"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Add column team_id in preferences"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Update team_id column values in preferences"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="create alert table v1"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="add index alert org_id & id "
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="add index alert state"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="add index alert dashboard_id"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Create alert_rule_tag table v1"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Add unique index alert_rule_tag.alert_id_tag_id"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="drop index UQE_alert_rule_tag_alert_id_tag_id - v1"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Rename table alert_rule_tag to alert_rule_tag_v1 - v1"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Create alert_rule_tag table v2"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="create index UQE_alert_rule_tag_alert_id_tag_id - Add unique index alert_rule_tag.alert_id_tag_id V2"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="copy alert_rule_tag v1 to v2"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="drop table alert_rule_tag_v1"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="create alert_notification table v1"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Add column is_default"
t=2021-07-28T14:06:38+0100 lvl=info msg="Executing migration" logger=migrator id="Add column frequency"
t=2021-07-28T14:06:39+0100 lvl=info msg="Executing migration" logger=migrator id="Add column send_reminder"
t=2021-07-28T14:06:39+0100 lvl=info msg="Executing migration" logger=migrator id="Add column disable_resolve_message"
t=2021-07-28T14:06:39+0100 lvl=info msg="Executing migration" logger=migrator id="add index alert_notification org_id & name"
t=2021-07-28T14:06:39+0100 lvl=info msg="Executing migration" logger=migrator id="Update alert table charset"
t=2021-07-28T14:06:39+0100 lvl=info msg="Executing migration" logger=migrator id="Update alert_notification table charset"
t=2021-07-28T14:06:39+0100 lvl=info msg="Executing migration" logger=migrator id="create notification_journal table v1"
t=2021-07-28T14:06:39+0100 lvl=info msg="Executing migration" logger=migrator id="add index notification_journal org_id & alert_id & notifier_id"
t=2021-07-28T14:06:39+0100 lvl=info msg="Executing migration" logger=migrator id="drop alert_notification_journal"
t=2021-07-28T14:06:39+0100 lvl=info msg="Executing migration" logger=migrator id="create alert_notification_state table v1"
t=2021-07-28T14:06:39+0100 lvl=info msg="Executing migration" logger=migrator id="add index alert_notification_state org_id & alert_id & notifier_id"
t=2021-07-28T14:06:39+0100 lvl=info msg="Executing migration" logger=migrator id="Add for to alert table"
t=2021-07-28T14:06:39+0100 lvl=info msg="Executing migration" logger=migrator id="Add column uid in alert_notification"
t=2021-07-28T14:06:39+0100 lvl=info msg="Executing migration" logger=migrator id="Update uid column values in alert_notification"
t=2021-07-28T14:06:39+0100 lvl=info msg="Executing migration" logger=migrator id="Add unique index alert_notification_org_id_uid"
t=2021-07-28T14:06:39+0100 lvl=info msg="Executing migration" logger=migrator id="Remove unique index org_id_name"
t=2021-07-28T14:06:39+0100 lvl=info msg="Executing migration" logger=migrator id="Add column secure_settings in alert_notification"
t=2021-07-28T14:06:39+0100 lvl=info msg="Executing migration" logger=migrator id="alter alert.settings to mediumtext"
t=2021-07-28T14:06:39+0100 lvl=info msg="Executing migration" logger=migrator id="Add non-unique index alert_notification_state_alert_id"
t=2021-07-28T14:06:39+0100 lvl=info msg="Executing migration" logger=migrator id="Add non-unique index alert_rule_tag_alert_id"
t=2021-07-28T14:06:39+0100 lvl=info msg="Executing migration" logger=migrator id="Drop old annotation table v4"
t=2021-07-28T14:06:39+0100 lvl=info msg="Executing migration" logger=migrator id="create annotation table v5"
t=2021-07-31T17:26:45+0200 lvl=crit msg="failed to parse \"/etc/grafana/grafana.ini\": key-value delimiter not found: anonymous, data proxy will add X-Grafana-User header with username into the request, default is false.\n"

The log does tell you exactly why it’s not starting - crit (critical) message saying that it cannot parse your grafana.ini

So check and fix the error in that file (around where it says “anonymous, data proxy will add”).

"/etc/grafana/grafana.ini"

thank you!

i changed anonymus= true

but what i have to do with data-proxy?

#################################### Data proxy ###########################
[dataproxy]

# This enables data proxy logging, default is false
;logging = false

# How long the data proxy waits to read the headers of the response before timi$
# This setting also applies to core backend HTTP data sources where query reque$
;timeout = 30

# How long the data proxy waits to establish a TCP connection before timing out$
;dialTimeout = 10

# How many seconds the data proxy waits before sending a keepalive probe reques$
;keep_alive_seconds = 30

# How many seconds the data proxy waits for a successful TLS Handshake before t$
;tls_handshake_timeout_seconds = 10

# How many seconds the data proxy will wait for a server's first response heade$
# fully writing the request headers if the request has an "Expect: 100-continue"
# header. A value of 0 will result in the body being sent immediately, without
# waiting for the server to approve.
;expect_continue_timeout_seconds = 1

# Optionally limits the total number of connections per host, including connect$
# active, and idle states. On limit violation, dials will block.
# A value of zero (0) means no limit.
;max_conns_per_host = 0
# How many seconds the data proxy waits for a successful TLS Handshake before t$
;tls_handshake_timeout_seconds = 10

# How many seconds the data proxy will wait for a server's first response heade$
# fully writing the request headers if the request has an "Expect: 100-continue"
# header. A value of 0 will result in the body being sent immediately, without
# waiting for the server to approve.
;expect_continue_timeout_seconds = 1

# Optionally limits the total number of connections per host, including connect$
# active, and idle states. On limit violation, dials will block.
# A value of zero (0) means no limit.
;max_conns_per_host = 0

# The maximum number of idle connections that Grafana will keep alive.
;max_idle_connections = 100

# The maximum number of idle connections per host that Grafana will keep alive.
;max_idle_connections_per_host = 2

# How many seconds the data proxy keeps an idle connection open before timing o$
;idle_conn_timeout_seconds = 90

# If enabled and user is not 
anonymous, data proxy will add X-Grafana-User header with username into the req$
;send_user_header = true


"/etc/grafana/grafana.ini"

/etc/grafana/grafana.ini

thank you!

i changed anonymus= true

I trust that you spelled it “anonymous”?

but what i have to do with data-proxy?

Now that you have made those changes, what remaining errors do you get when
you start Grafana?

Antony.

heheee, yep anonymous is true :wink:

Grafana not starting!

sudo systemctl status grafana-server
● grafana-server.service - Grafana instance
   Loaded: loaded (/lib/systemd/system/grafana-server.service; enabled; vendor p
   Active: failed (Result: exit-code) since Sun 2021-08-01 13:54:56 CEST; 9s ago
     Docs: http://docs.grafana.org
  Process: 29654 ExecStart=/usr/sbin/grafana-server --config=${CONF_FILE} --pidf
 Main PID: 29654 (code=exited, status=1/FAILURE)

Aug 01 13:54:55 raspberrypi systemd[1]: grafana-server.service: Service RestartS
Aug 01 13:54:56 raspberrypi systemd[1]: grafana-server.service: Scheduled restar
Aug 01 13:54:56 raspberrypi systemd[1]: Stopped Grafana instance.
Aug 01 13:54:56 raspberrypi systemd[1]: grafana-server.service: Start request re
Aug 01 13:54:56 raspberrypi systemd[1]: grafana-server.service: Failed with resu
Aug 01 13:54:56 raspberrypi systemd[1]: ***Failed to start Grafana instance.***


no proxy in my network! Are the ini with the default “data proxy” settings ok?

thank you

You have a newline in your .ini file that should not be there. Lines starting with a # or ‘;’ are treated as comments and are ignored, so the lines should look like this:

# If enabled and user is not anonymous, data proxy will add X-Grafana-User header with username into the req$
;send_user_header = true

But you have a newline part way through the comment so it is invalid, like this:

# If enabled and user is not 
anonymous, data proxy will add X-Grafana-User header with username into the req$
;send_user_header = true

Remove the newline so the comment is back on one single line starting with ‘#’

hey guys thank you.

the problem was an old grafana installation and under /etc/grafana/ a lot of files was not deleted like grafana.ini … after deinstallation.

sudo apt-get --purge remove grafana
sudo apt-get remove --auto-remove grafana

so the old ini file was there but not the new one after installation.

thank you guys so much

This topic was automatically closed after 365 days. New replies are no longer allowed.