I finally found a solution!
As ssmoss suggested (Thanks!), try to replace the content of the 8.2.0 service (or in my case 8.2.1) with the 8.1.7 one. (I’d recommend to make a backup copy first.)
su
cd /usr/lib/systemd/system/
cp grafana-server.service grafana-server.service.bckp
vi grafana-server.service
Then, delete all lines (e.g. keep ‘d’ pressed to delete lines (=double ‘d’ input))
And insert new configuration: Copy from this URL, then in the vi editor, press ‘i’, then Shift + Insert.
See original post here:
Never change a running system.
P.S.: For some weird reason, I also had to change permissions on the grafana.ini since the syslog ("vi /var/log/syslog") showed: lvl=crit msg="failed to parse \"/etc/grafana/grafana.ini\": open /etc/grafana/grafana.ini: permission denied"
So I ran: chmod g+rw /etc/grafana/grafana.ini
Not sure if this was the reason for the error in the first place, but I don’t want to touch anything anymore.