# Update/upgrade grafana

**URL:** <https://community.openhab.org/t/update-upgrade-grafana/95299>\
**Category:** Installation\
**Tags:** update, upgrade, grafana\
**Created:** [March 26, 2020, 11:12am UTC](https://community.openhab.org/t/update-upgrade-grafana/95299 "2020-03-26T11:12:55Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![jswim788](https://community.openhab.org/user_avatar/community.openhab.org/jswim788/32/36341_2.png) [@jswim788](https://community.openhab.org/u/jswim788)\
**Post date:** [March 27, 2020, 6:23pm UTC](https://community.openhab.org/t/update-upgrade-grafana/95299/21 "2020-03-27T18:23:07Z")

</div>

> [@c\_PROG](#):
>
> When I would update my system with your instructions I get this message:

Probably because you need to follow all the instructions [here.](https://grafana.com/docs/grafana/latest/installation/debian/) Anybody looking at this later should go to that link, but here is what it has now for the OSS release:

```auto
sudo apt-get install -y apt-transport-https
sudo apt-get install -y software-properties-common wget
wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -

# Alternatively you can add the beta repository, see in the table above
sudo add-apt-repository "deb https://packages.grafana.com/oss/deb stable main"

sudo apt-get update
sudo apt-get install grafana

```

But I don’t think that will change your problem. You only have Grafana server, right? Could the IP address you have point to the wrong/different server?

Do you see any messages in /var/log/syslog or /var/log/grafana/grafana.log that indicate the version as it starts up?

---

<div class="post-metadata">

**Author:** ![c\_PROG](https://community.openhab.org/letter_avatar_proxy/v4/letter/c/f9ae1b/32.png) [@c\_PROG](https://community.openhab.org/u/c_PROG)\
**Post date:** [March 28, 2020, 6:12pm UTC](https://community.openhab.org/t/update-upgrade-grafana/95299/22 "2020-03-28T18:12:26Z")

</div>

@jswim788:  
Thank you for your helpfulness and patience.

> [@jswim788](#):
>
> You only have Grafana server, right? Could the IP address you have point to the wrong/different server?

I use only one rpi as server with the openhabian distribution and grafana. For openhab and grafana I use the same IP-Adress. Only the port is chanched.

> [@jswim788](#):
>
> Do you see any messages in /var/log/syslog or /var/log/grafana/grafana.log that indicate the version as it starts up?

No, unfortunality I don’t see nothing that idicate the version of grafana.

When I use the command ([link](https://grafana.com/docs/grafana/latest/administration/cli/))

```auto
grafana-cli -v

```

I get the massages

> Grafana cli version 6.6.1

It is possible that I have installed on my rpi to versions of grafana (old and new) because on the one site the installation of the new version of grafana is completed and on the other site I see on my browser the old version of grafana?  
what could I do now? 🤔

Sorry, I’m not an expert with linux. How can I delete the message or rather correct the installationspaket of grafana. I get this message:

> [@c\_PROG](#):
>
> Err:5 [https://packages.grafana.com/oss/deb](https://packages.grafana.com/oss/deb) stable InRelease  
> The following signatures couldn’t be verified because the public key is not available: NO\_PUBKEY 8C8C34C524098CB6  
> Reading package lists… Done  
> W: GPG error: [https://packages.grafana.com/oss/deb](https://packages.grafana.com/oss/deb) stable InRelease: The following signatures couldn’t be verified because the public key is not available: NO\_PUBKEY 8C8C34C524098CB6  
> E: The repository ‘[https://packages.grafana.com/oss/deb](https://packages.grafana.com/oss/deb) stable InRelease’ is not signed.  
> N: Updating from such a repository can’t be done securely, and is therefore disabled by default.  
> N: See apt-secure(8) manpage for repository creation and user configuration details.

Thank you!

---

<div class="post-metadata">

**Author:** ![jswim788](https://community.openhab.org/user_avatar/community.openhab.org/jswim788/32/36341_2.png) [@jswim788](https://community.openhab.org/u/jswim788)\
**Post date:** [March 28, 2020, 10:16pm UTC](https://community.openhab.org/t/update-upgrade-grafana/95299/23 "2020-03-28T22:16:56Z")

</div>

What do you see if you type this?

```auto
systemctl status grafana-server

```

Something like this?

```auto
● grafana-server.service - Grafana instance
   Loaded: loaded (/usr/lib/systemd/system/grafana-server.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2020-03-22 19:39:36 PDT; 5 days ago
     Docs: http://docs.grafana.org
 Main PID: 1379 (grafana-server)
    Tasks: 11 (limit: 4139)
   CGroup: /system.slice/grafana-server.service
           └─1379 /usr/sbin/grafana-server --config=/etc/grafana/grafana.ini --pidfile=/var/run/grafana/grafana-server.pid --packaging=deb cfg:default.paths.logs=/var/log/grafana cfg:default.p

```

If the last line is similar, type this and see what you get for the version:

```auto
/usr/sbin/grafana-server -v

```

What I see is:

```auto
Version 6.7.1 (commit: ca6d08d5cb, branch: HEAD)

```

Let’s see if that gives a clue.

---

<div class="post-metadata">

**Author:** ![robb01](https://community.openhab.org/letter_avatar_proxy/v4/letter/r/838e76/32.png) [@robb01](https://community.openhab.org/u/robb01)\
**Post date:** [March 29, 2020, 8:24am UTC](https://community.openhab.org/t/update-upgrade-grafana/95299/24 "2020-03-29T08:24:47Z")

</div>

> [@c\_PROG](#):
>
> It is possible that I have installed on my rpi to versions of grafana (old and new)

If you think you may have two versions running try running:

```auto
ps axx | grafana

```

(copy and paste that command).  
If you get two versions of /usr/sbin/grafana-server showing then you may have two installations.

---

<div class="post-metadata">

**Author:** ![c\_PROG](https://community.openhab.org/letter_avatar_proxy/v4/letter/c/f9ae1b/32.png) [@c\_PROG](https://community.openhab.org/u/c_PROG)\
**Post date:** [March 29, 2020, 8:47am UTC](https://community.openhab.org/t/update-upgrade-grafana/95299/25 "2020-03-29T08:47:45Z")

</div>

Hello!

> [@jswim788](#):
>
> If the last line is similar, type this and see what you get for the version:
> 
> ```auto
> /usr/sbin/grafana-server -v
> 
> ```

I get the message:

> [10:32:53] openhabian@openhab:~$ /usr/sbin/grafana-server -v  
> Version 6.6.1 (commit: 21bf8b71bc, branch: HEAD)

> [@robb01](#):
>
> If you think you may have two versions running try running:
> 
> ```auto
> ps axx | grafana
> 
> ```
> 
> (copy and paste that command).

When I copy and paste your command I get the message:

> [10:35:52] openhabian@openhab:~$ ps axx | grafana  
> -bash: grafana: command not found

---

<div class="post-metadata">

**Author:** ![robb01](https://community.openhab.org/letter_avatar_proxy/v4/letter/r/838e76/32.png) [@robb01](https://community.openhab.org/u/robb01)\
**Post date:** [March 29, 2020, 9:32am UTC](https://community.openhab.org/t/update-upgrade-grafana/95299/26 "2020-03-29T09:32:48Z")

</div>

> [@c\_PROG](#):
>
> When I copy and paste your command I get the message:

Sorry my bad.  
It should be

```auto
ps axx | grep grafana

```

---

<div class="post-metadata">

**Author:** ![c\_PROG](https://community.openhab.org/letter_avatar_proxy/v4/letter/c/f9ae1b/32.png) [@c\_PROG](https://community.openhab.org/u/c_PROG)\
**Post date:** [March 29, 2020, 9:49am UTC](https://community.openhab.org/t/update-upgrade-grafana/95299/27 "2020-03-29T09:49:05Z")

</div>

> [@robb01](#):
>
> Sorry my bad.  
> It should be
> 
> ```auto
> ps axx | grep grafana
> 
> ```

No problem.  
I get this message:

> [11:42:58] openhabian@openhab:~$ ps axx | grep grafana  
> 427 ? Ssl 7:23 /usr/sbin/grafana-server --config=/etc/grafana/grafana.ini --pidfile=/var/run/grafana/grafana-server.pid --packaging=deb cfg:default.paths.logs=/var/log/grafana cfg:default.paths.data=/var/lib/grafana cfg:default.paths.plugins=/var/lib/grafana/plugins cfg:default.paths.provisioning=/etc/grafana/provisioning  
> 16050 pts/0 S+ 0:00 grep --color=auto grafana

---

<div class="post-metadata">

**Author:** ![robb01](https://community.openhab.org/letter_avatar_proxy/v4/letter/r/838e76/32.png) [@robb01](https://community.openhab.org/u/robb01)\
**Post date:** [March 29, 2020, 10:21am UTC](https://community.openhab.org/t/update-upgrade-grafana/95299/28 "2020-03-29T10:21:04Z")

</div>

That suggests that you only have the one installation of grafana which is good.  
If you are getting  
Grafana cli version 6.6.1

then maybe uninstall grafana and try a re-install:

```auto
sudo apt-get purge grafana

```

and then re-install with

```auto
sudo apt-get update
sudo apt-get install grafana

```

---

<div class="post-metadata">

**Author:** ![c\_PROG](https://community.openhab.org/letter_avatar_proxy/v4/letter/c/f9ae1b/32.png) [@c\_PROG](https://community.openhab.org/u/c_PROG)\
**Post date:** [March 29, 2020, 11:17am UTC](https://community.openhab.org/t/update-upgrade-grafana/95299/29 "2020-03-29T11:17:46Z")

</div>

Thank you for your helpfulness!

> [@robb01](#):
>
> That suggests that you only have the one installation of grafana which is good.  
> If you are getting  
> Grafana cli version 6.6.1

Yes, I think the same.  
It’s only strange that I get this answer when I enter this command:

> [@c\_PROG](#):
>
> [10:56:28] openhabian@openhab:~$ sudo apt-get --only-upgrade install grafana  
> Reading package lists… Done  
> Building dependency tree  
> Reading state information… Done  
> grafana is already the newest version (6.7.1).  
> 0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.

Somewhere are files from the new version of grafana on my system…

---

<div class="post-metadata">

**Author:** ![robb01](https://community.openhab.org/letter_avatar_proxy/v4/letter/r/838e76/32.png) [@robb01](https://community.openhab.org/u/robb01)\
**Post date:** [March 29, 2020, 12:12pm UTC](https://community.openhab.org/t/update-upgrade-grafana/95299/30 "2020-03-29T12:12:30Z")

</div>

This command

> [@robb01](#):
>
> sudo apt-get purge grafana

will remove all config files and give you a clean start when you re-install.

---

<div class="post-metadata">

**Author:** ![c\_PROG](https://community.openhab.org/letter_avatar_proxy/v4/letter/c/f9ae1b/32.png) [@c\_PROG](https://community.openhab.org/u/c_PROG)\
**Post date:** [March 29, 2020, 1:16pm UTC](https://community.openhab.org/t/update-upgrade-grafana/95299/31 "2020-03-29T13:16:45Z")

</div>

@robb01:  
I’m without words.  
Now I have done:

> [11:47:31] openhabian@openhab:~$ sudo apt-get purge grafana  
> [sudo] password for openhabian:  
> Sorry, try again.  
> [sudo] password for openhabian:  
> Sorry, try again.  
> [sudo] password for openhabian:  
> Reading package lists… Done  
> Building dependency tree  
> Reading state information… Done  
> The following packages will be REMOVED:  
> grafana\*  
> 0 upgraded, 0 newly installed, 1 to remove and 5 not upgraded.  
> After this operation, 105 MB disk space will be freed.  
> Do you want to continue? [Y/n] y  
> (Reading database … 50524 files and directories currently installed.)  
> Removing grafana (6.7.1) …  
> (Reading database … 50186 files and directories currently installed.)  
> Purging configuration files for grafana (6.7.1) …  
> Updating FireMotD available updates count …  
> [14:41:52] openhabian@openhab:~$ sudo apt-get purge grafana  
> Reading package lists… Done  
> Building dependency tree  
> Reading state information… Done  
> Package ‘grafana’ is not installed, so not removed  
> 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.  
> [14:42:16] openhabian@openhab:~$ sudo apt-get update  
> Hit:1 [Index of /debian](http://archive.raspberrypi.org/debian) buster InRelease  
> Get:2 [https://packages.grafana.com/oss/deb](https://packages.grafana.com/oss/deb) stable InRelease [12.1 kB]  
> Ign:3 [https://dl.bintray.com/openhab/apt-repo2](https://dl.bintray.com/openhab/apt-repo2) stable InRelease  
> Hit:4 [InfluxData - Package Repository](https://repos.influxdata.com/debian) buster InRelease  
> Get:5 [https://dl.bintray.com/openhab/apt-repo2](https://dl.bintray.com/openhab/apt-repo2) stable Release [6,051 B]  
> Err:2 [https://packages.grafana.com/oss/deb](https://packages.grafana.com/oss/deb) stable InRelease  
> The following signatures couldn’t be verified because the public key is not available: NO\_PUBKEY 8C8C34C524098CB6  
> Err:7 [Index of /raspbian](http://raspbian.raspberrypi.org/raspbian) buster InRelease  
> Cannot initiate the connection to [raspbian.raspberrypi.org:80](http://raspbian.raspberrypi.org:80) (2a00:1098:0:80:1000:75:0:3). - connect (101: Network is unreachable) Could not connect to ra [spbian.raspberrypi.org:80](http://spbian.raspberrypi.org:80) (93.93.128.193), connection timed out  
> Reading package lists… Done  
> W: GPG error: [https://packages.grafana.com/oss/deb](https://packages.grafana.com/oss/deb) stable InRelease: The following signatures couldn’t be verified because the public key is not available: N O\_PUBKEY 8C8C34C524098CB6  
> E: The repository ‘[https://packages.grafana.com/oss/deb](https://packages.grafana.com/oss/deb) stable InRelease’ is not signed.  
> N: Updating from such a repository can’t be done securely, and is therefore disabled by default.  
> N: See apt-secure(8) manpage for repository creation and user configuration details.  
> [14:43:37] openhabian@openhab:~$ sudo apt-get install -y apt-transport-https  
> Reading package lists… Done  
> Building dependency tree  
> Reading state information… Done  
> apt-transport-https is already the newest version (1.8.2).  
> 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.  
> [14:46:54] openhabian@openhab:~$ sudo apt-get install -y software-properties-common wget  
> Reading package lists… Done  
> Building dependency tree  
> Reading state information… Done  
> software-properties-common is already the newest version (0.96.20.2-2).  
> wget is already the newest version (1.20.1-1.1).  
> 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.  
> [14:46:57] openhabian@openhab:~$ wget -q -O - [https://packages.grafana.com/gpg.key](https://packages.grafana.com/gpg.key) | sudo apt-key add -  
> OK  
> [14:47:22] openhabian@openhab:~$ sudo add-apt-repository “deb [https://packages.grafana.com/oss/deb](https://packages.grafana.com/oss/deb) stable main”  
> Traceback (most recent call last):  
> File “/usr/bin/add-apt-repository”, line 95, in   
> sp = SoftwareProperties(options=options)  
> File “/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py”, line 109, in **init**  
> self.reload\_sourceslist()  
> File “/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py”, line 599, in reload\_sourceslist  
> self.distro.get\_sources(self.sourceslist)  
> File “/usr/lib/python3/dist-packages/aptsources/distro.py”, line 93, in get\_sources  
> (self.id, self.codename))  
> aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Raspbian/buster  
> [14:47:37] openhabian@openhab:~$ sudo apt-get update  
> Get:1 [Index of /raspbian](http://raspbian.raspberrypi.org/raspbian) buster InRelease [15.0 kB]  
> Ign:2 [https://dl.bintray.com/openhab/apt-repo2](https://dl.bintray.com/openhab/apt-repo2) stable InRelease  
> Get:3 [https://dl.bintray.com/openhab/apt-repo2](https://dl.bintray.com/openhab/apt-repo2) stable Release [6,051 B]  
> Hit:4 [InfluxData - Package Repository](https://repos.influxdata.com/debian) buster InRelease  
> Hit:5 [Index of /debian](http://archive.raspberrypi.org/debian) buster InRelease  
> Get:6 [Index of /raspbian](http://raspbian.raspberrypi.org/raspbian) buster/main armhf Packages [13.0 MB]  
> Err:8 [https://packages.grafana.com/oss/deb](https://packages.grafana.com/oss/deb) stable InRelease  
> Cannot initiate the connection to [packages.grafana.com:443](http://packages.grafana.com:443) (2a04:4e42:39::729). - connect (101: Network is unreachable) Could not connect to packages.grafa [na.com:443](http://na.com:443) (151.101.242.217), connection timed out  
> Fetched 13.0 MB in 30s (429 kB/s)  
> Reading package lists… Done  
> W: Failed to fetch [https://packages.grafana.com/oss/deb/dists/stable/InRelease](https://packages.grafana.com/oss/deb/dists/stable/InRelease) Cannot initiate the connection to [packages.grafana.com:443](http://packages.grafana.com:443) (2a04:4e42:39::729 ). - connect (101: Network is unreachable) Could not connect to [packages.grafana.com:443](http://packages.grafana.com:443) (151.101.242.217), connection timed out  
> W: Some index files failed to download. They have been ignored, or old ones used instead.  
> [14:48:26] openhabian@openhab:~$ sudo apt-get update  
> Hit:1 [Index of /raspbian](http://raspbian.raspberrypi.org/raspbian) buster InRelease  
> Hit:2 [Index of /debian](http://archive.raspberrypi.org/debian) buster InRelease  
> Get:3 [https://packages.grafana.com/oss/deb](https://packages.grafana.com/oss/deb) stable InRelease [12.1 kB]  
> Hit:4 [InfluxData - Package Repository](https://repos.influxdata.com/debian) buster InRelease  
> Ign:5 [https://dl.bintray.com/openhab/apt-repo2](https://dl.bintray.com/openhab/apt-repo2) stable InRelease  
> Get:6 [https://dl.bintray.com/openhab/apt-repo2](https://dl.bintray.com/openhab/apt-repo2) stable Release [6,051 B]  
> Get:7 [https://packages.grafana.com/oss/deb](https://packages.grafana.com/oss/deb) stable/main armhf Packages [15.0 kB]  
> Fetched 21.1 kB in 2s (9,759 B/s)  
> Reading package lists… Done  
> [14:49:14] openhabian@openhab:~$ sudo apt-get install grafana  
> Reading package lists… Done  
> Building dependency tree  
> Reading state information… Done  
> The following NEW packages will be installed:  
> grafana  
> 0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.  
> Need to get 35.6 MB of archives.  
> After this operation, 105 MB of additional disk space will be used.  
> Get:1 [https://packages.grafana.com/oss/deb](https://packages.grafana.com/oss/deb) stable/main armhf grafana armhf 6.7.1 [35.6 MB]  
> Fetched 35.6 MB in 14s (2,525 kB/s)  
> Selecting previously unselected package grafana.  
> (Reading database … 50186 files and directories currently installed.)  
> Preparing to unpack …/grafana\_6.7.1\_armhf.deb …  
> Unpacking grafana (6.7.1) …  
> Replaced by files in installed package grafana-rpi (6.6.1) …  
> Setting up grafana (6.7.1) …
> 
> ### NOT starting on installation, please execute the following statements to configure grafana to start automatically using systemd
> 
> sudo /bin/systemctl daemon-reload  
> sudo /bin/systemctl enable grafana-server
> 
> ### You can start grafana-server by executing
> 
> sudo /bin/systemctl start grafana-server  
> Processing triggers for systemd (241-7~deb10u3+rpi1) …  
> Updating FireMotD available updates count …  
> [14:50:17] openhabian@openhab:~$ sudo systemctl enable grafana-server  
> Synchronizing state of grafana-server.service with SysV service script with /lib/systemd/systemd-sysv-install.  
> Executing: /lib/systemd/systemd-sysv-install enable grafana-server  
> [14:58:27] openhabian@openhab:~$ sudo systemctl start grafana-server  
> [14:59:20] openhabian@openhab:~$ /usr/sbin/grafana-server -v  
> Version 6.6.1 (commit: 21bf8b71bc, branch: HEAD)

> [15:10:15] openhabian@openhab:~$ sudo /bin/systemctl daemon-reload  
> [sudo] password for openhabian:  
> [15:11:44] openhabian@openhab:~$ sudo /bin/systemctl enable grafana-server  
> Synchronizing state of grafana-server.service with SysV service script with /lib/systemd/systemd-sysv-install.  
> Executing: /lib/systemd/systemd-sysv-install enable grafana-server  
> [15:11:59] openhabian@openhab:~$ sudo /bin/systemctl start grafana-server  
> [15:12:19] openhabian@openhab:~$ /usr/sbin/grafana-server -v  
> Version 6.6.1 (commit: 21bf8b71bc, branch: HEAD)

Even after a rebbot i get with the command

> /usr/sbin/grafana-server -v  
> allways the same answer.

> Version 6.6.1 (commit: 21bf8b71bc, branch: HEAD)

---

<div class="post-metadata">

**Author:** ![c\_PROG](https://community.openhab.org/letter_avatar_proxy/v4/letter/c/f9ae1b/32.png) [@c\_PROG](https://community.openhab.org/u/c_PROG)\
**Post date:** [March 31, 2020, 3:20pm UTC](https://community.openhab.org/t/update-upgrade-grafana/95299/32 "2020-03-31T15:20:34Z")

</div>

Hello guys,  
Does nobody have a possible solution?  
Thank you for your support!

---

<div class="post-metadata">

**Author:** ![robb01](https://community.openhab.org/letter_avatar_proxy/v4/letter/r/838e76/32.png) [@robb01](https://community.openhab.org/u/robb01)\
**Post date:** [April 2, 2020, 10:07am UTC](https://community.openhab.org/t/update-upgrade-grafana/95299/33 "2020-04-02T10:07:31Z")

</div>

> [@c\_PROG](#):
>
> Replaced by files in installed package grafana-rpi (6.6.1) …

It seems this is where your problem lies. It looks to me like the config files are being over-written by this earlier installation. I haven’t previously come across grafana-rpi.

I would do something like

```auto
sudo find / -iname \grafana-rpi

```

and see if you can find any config or cfg files.

---

<div class="post-metadata">

**Author:** ![BobMiles](https://community.openhab.org/letter_avatar_proxy/v4/letter/b/a6a055/32.png) [@BobMiles](https://community.openhab.org/u/BobMiles)\
**Post date:** [May 19, 2020, 7:02pm UTC](https://community.openhab.org/t/update-upgrade-grafana/95299/34 "2020-05-19T19:02:27Z")

</div>

Has anybody upgraded to 7.0 yet? I tried installing via dpkg but the service didn’t start. I was able to revert to 6.6.2 without issues though…  
This is what I tried:  
sudo apt-get install -y adduser libfontconfig1  
wget [https://dl.grafana.com/oss/release/grafana\_7.0.0\_armhf.deb](https://dl.grafana.com/oss/release/grafana_7.0.0_armhf.deb)  
sudo dpkg -i grafana\_7.0.0\_armhf.deb

---

<div class="post-metadata">

**Author:** ![chris4789](https://community.openhab.org/letter_avatar_proxy/v4/letter/c/e19b73/32.png) [@chris4789](https://community.openhab.org/u/chris4789)\
**Post date:** [May 20, 2020, 3:12pm UTC](https://community.openhab.org/t/update-upgrade-grafana/95299/35 "2020-05-20T15:12:20Z")

</div>

I’m on a RPi, during upgrade (via “openhabian-config”) from 2.5.4 to 2.5.5 I got grafana 7.0.0 without any problem.

---

<div class="post-metadata">

**Author:** ![stritti](https://community.openhab.org/user_avatar/community.openhab.org/stritti/32/72196_2.png) [@stritti](https://community.openhab.org/u/stritti)\
**Post date:** [May 20, 2020, 3:29pm UTC](https://community.openhab.org/t/update-upgrade-grafana/95299/36 "2020-05-20T15:29:31Z")

</div>

In my case updating openHAB from 2.5.3 to 2.5.5 my RPi via openhabian-config Grafana does not start any more (it was also updatet to v7.0).

If I call grafana-cli (or grafana-server) manually on console I get also following error:  
`/usr/share/grafana/bin/grafana-cli: /lib/arm-linux-gnueabihf/libc.so.6: version 'GLIBC_2.28' not found (required by /usr/share/grafana/bin/grafana-cli)`

I also tried to solve it by updating core libs:  
`sudo apt-get dist-upgrade`

No success.

---

<div class="post-metadata">

**Author:** ![chris4789](https://community.openhab.org/letter_avatar_proxy/v4/letter/c/e19b73/32.png) [@chris4789](https://community.openhab.org/u/chris4789)\
**Post date:** [May 20, 2020, 4:32pm UTC](https://community.openhab.org/t/update-upgrade-grafana/95299/37 "2020-05-20T16:32:05Z")

</div>

I’m on a Pi4B, updated via 02 “Upgrade all installed software packages to their newest version”  
I remember that I got a warning during update from 2.5.3 to 2.5.4 that a grafana setting file would be overwritten, I skipped that and stayed so on grafana 6.x.  
Last update on 2.5.5 was then flawless without any warning or so.

---

<div class="post-metadata">

**Author:** ![jswim788](https://community.openhab.org/user_avatar/community.openhab.org/jswim788/32/36341_2.png) [@jswim788](https://community.openhab.org/u/jswim788)\
**Post date:** [May 20, 2020, 9:35pm UTC](https://community.openhab.org/t/update-upgrade-grafana/95299/38 "2020-05-20T21:35:32Z")

</div>

> [@stritti](#):
>
> sudo apt-get dist-upgrade

are you running Stretch or Buster? Maybe you need to get to Buster if you don’t have it? That’s just a guess - I don’t have a way to test this theory.

---

<div class="post-metadata">

**Author:** ![stritti](https://community.openhab.org/user_avatar/community.openhab.org/stritti/32/72196_2.png) [@stritti](https://community.openhab.org/u/stritti)\
**Post date:** [May 21, 2020, 4:29pm UTC](https://community.openhab.org/t/update-upgrade-grafana/95299/39 "2020-05-21T16:29:40Z")

</div>

Yes, I still use Stretch. That is a good point. I will try to switch to Buster.  
But I think on the other hand Grafana then should stop update to version 7 on Stretch …

**Edit:** after upgrade to Buster (using this how-to: [Upgrade Raspbian Stretch to Buster - bad.robot](http://baddotrobot.com/blog/2019/08/29/upgrade-raspian-stretch-to-buster/)) Grafana 7.0 works again!

---

<div class="post-metadata">

**Author:** ![Mherwege](https://community.openhab.org/user_avatar/community.openhab.org/mherwege/32/19924_2.png) [@Mherwege](https://community.openhab.org/u/Mherwege)\
**Post date:** [May 22, 2020, 9:43am UTC](https://community.openhab.org/t/update-upgrade-grafana/95299/40 "2020-05-22T09:43:42Z")

</div>

As confirmed here, it is a stretch issue.  
Our friends at Domoticz were hit hard by this (Domoticz stopped working and they needed upgrading to Buster to get it working again after an automatic update of Domoticz).  
Someone over there did find a solution to still make it work on Stretch: [https://www.domoticz.com/forum/viewtopic.php?f=6&t=31157&start=180#p240741](https://www.domoticz.com/forum/viewtopic.php?f=6&t=31157&start=180#p240741).  
I followed these instructions and have Grafana 7.0.0 running again on an RPi 3B+ with Stretch.

[Previous page](https://community.openhab.org/t/update-upgrade-grafana/95299.md?page=1)

[Next page](https://community.openhab.org/t/update-upgrade-grafana/95299.md?page=3)
