Grafana 8 on Raspberry Pi4 don't start

I’m trying to start grafana-server v8 on a raspberry pi 4 ubuntu, and in /var/log/syslog i have:
“grafana.service: Failed to execute /home/supervision/grafana/bin/grafana-server: No such file or directory”
uname -a
Linux SUPERVISION 5.11.0-1017-raspi #18-Ubuntu SMP PREEMPT Mon Aug 23 07:34:31 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux
docker -v
Docker version 20.10.8, build 3967b7d
Do you have an idea ?
Thanks in advanced

Grafana is trying to execute the home/supervision/grafana/bin/grafana-server file

Either this file does not exist, or grafana does not have the permissons to execute it.

How did you install grafana?

Hi earthwalker31, thank you for the answer.
I use this commands:
tar xfz grafana
sudo nano /etc/systemd/system/grafana.service

Description=Grafana Server



sudo systemctl daemon-reload
sudo systemctl start grafana
sudo systemctl status grafana - and the result is

● grafana.service - Grafana Server
Loaded: loaded (/etc/systemd/system/grafana.service; disabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Thu 2021-09-09 14:33:55 CEST; 9s ago
Process: 53011 ExecStart=/home/supervision/grafana/bin/grafana-server (code=exited, status=203/EXEC)
Main PID: 53011 (code=exited, status=203/EXEC)

everything looks good but I have this result

Please execute:
ls -l /home/pi/grafana/bin

Do the permissions (inside the squared brackets) for the grafna-server file contain an x ?

supervision@SUPERVISION:~$ ls -l /home/supervision/grafana/bin
total 91268
-rwxr-xr-x 1 supervision supervision 26954856 août 19 20:45 grafana-cli
-rw-r–r-- 1 supervision supervision 33 août 19 20:45 grafana-cli.md5
-rwxr-xr-x 1 supervision supervision 66493580 août 19 20:45 grafana-server
-rw-r–r-- 1 supervision supervision 33 août 19 20:45 grafana-server.md5

Weird :thinking:
It looks like the permissions should be fine.

Here you set the path to /home/pi/grafana/bin/grafana-server

But everyone else it’s using the path /home/supervision/grafana/bin/grafana-server
Is this intentional?

Other than that there aren’t a lot of things I can think of that could cause this problem…

Are you using a custom shell (zsh, fish, etc.)?

Sorry, yes a send to you with “pi”, but in my installation the user is “supervision”

This is my version off phyton
supervision@SUPERVISION:~$ python3 --version
Python 3.9.5

do you think this could be the problem ?

yes the supervision it’s the user

Have you changed anything in the service file?
If you did, dont forget to:
sudo systemctl daemon-reload
sudo systemctl start grafana

unfortunately it is the same thing…

supervision@SUPERVISION:~$ sudo systemctl daemon-reload
supervision@SUPERVISION:~$ sudo systemctl start grafana
supervision@SUPERVISION:~$ sudo systemctl status grafana
● grafana.service - Grafana Server
Loaded: loaded (/etc/systemd/system/grafana.service; disabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Thu 2021-09-09 16:27:29 CEST; 9s ago
Process: 54657 ExecStart=/home/supervision/grafana/bin/grafana-server (code=exited, status=203/EXEC)
Main PID: 54657 (code=exited, status=203/EXEC)

Hello, no one has any idea ?