Grafana on raspberry pi zero: Start request repeated too quickly. Failed with result 'signal'

I’m trying to start grafana-server on a raspberry pi zero

sudo /bin/systemctl status grafana-server
● grafana-server.service - Grafana instance
   Loaded: loaded (/lib/systemd/system/grafana-server.service; enabled; vendor preset: enabled)
   Active: failed (Result: signal) since Fri 2021-02-26 18:36:29 GMT; 3s ago
     Docs: http://docs.grafana.org
  Process: 2866 ExecStart=/usr/sbin/grafana-server --config=${CONF_FILE} --pidfile=${PID_FILE_DIR}/grafana-server.pid --packaging=deb cfg:default.paths.logs=${LOG_DIR} c
 Main PID: 2866 (code=killed, signal=ILL)

Feb 26 18:36:29 raspberry systemd[1]: grafana-server.service: Service RestartSec=100ms expired, scheduling restart.
Feb 26 18:36:29 raspberry systemd[1]: grafana-server.service: Scheduled restart job, restart counter is at 5.
Feb 26 18:36:29 raspberry systemd[1]: Stopped Grafana instance.
Feb 26 18:36:29 raspberry systemd[1]: grafana-server.service: Start request repeated too quickly.
Feb 26 18:36:29 raspberry systemd[1]: grafana-server.service: Failed with result 'signal'.
Feb 26 18:36:29 raspberry systemd[1]: Failed to start Grafana instance.
lines 1-13/13 (END)

The folder /var/log/grafana is empty.

[quote=“thalasso, post:1, topic:43736”]
grafana-server.service: Start request
[/quote

hello thalasso, welcome to the forums, and a lot of fun with your grafana. best wishes

Hello melrose, thank you!
Do you have any idea what to do about the issue?

I have uninstalled grafana from the apt repository and reinstalled it via .deb package:

sudo apt-get install -y adduser libfontconfig1
wget https://dl.grafana.com/oss/release/grafana-rpi_7.4.3_armhf.deb
sudo dpkg -i grafana-rpi_7.4.3_armhf.deb

Now it’s working. But I’d prefer to install it from repository to get automated updates.

yes try again it shall work

No, it doesn’t. Same error as before.

and what did you do different

I didn’t do anything different.

1 Like

Hello Thalasso

I’ve the same issue, did you find a solution ?

Thanks

what is in
/var/log/syslog
after a grafana restart ?
what exact hardware is your rasbety?

Hello Thalasso

Where did you set the log to go?
E.g. in defaults.ini or custom.ini or grafana.ini

Directory where grafana can store logs
logs = data/log

That means under your grafana folder.
I do not think for raspberry this is any different.

For /var/log there are usually special rights required, e.g. in my installation only root can write there. Does the grafan user have rights to write there?
BR, Daniel

Hi,
I have installed grafana with apt command but it doesn’t works … So I tried with dpkg and now it work. But if someone know how it can run with apt command, I would prefer :smiley:

BR, Cédric

Go to:
/usr/share/grafana
and run from that folder, first time
sudo grafana-server

1 Like