What Grafana version and what operating system are you using?
Grafana 10.0.1 Unbuntu 22.04.2
Installed with commands on grafana. com/docs/grafana/latest/setup-grafana/installation/debian/ (stable version)
Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
grafana-server.service - Grafana instance
Loaded: loaded (/lib/systemd/system/grafana-server. service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code)
…
systemd[1]: grafana-server. service: Start request repeated too quickly.
systemd[1]: grafana-server. service: Failed with result ‘exit-code’.
systemd[1]: Failed to start Grafana instance.
Did you follow any online instructions? If so, what is the URL?
these two solutions included reinstalling grafana and rolling back to a previous version. Neither of these solutions worked
opened 03:24PM - 22 Apr 22 UTC
closed 07:10AM - 29 Apr 22 UTC
type/bug
**What happened**:
Did an upgrade to 8.5.0 on openhabian and now grafana-serv… er can't start.
> ● grafana-server.service - Grafana instance
> Loaded: loaded (/usr/lib/systemd/system/grafana-server.service; enabled; vendor preset: enabled)
> Active: failed (Result: exit-code) since Fri 2022-04-22 17:18:48 CEST; 1s ago
> Docs: http://docs.grafana.org
> Process: 7063 ExecStart=/usr/sbin/grafana-server --config=${CONF_FILE} --pidfile=${PID_FILE_DIR}/grafana->server.pid --packaging=deb cfg:default.paths.logs=${LOG_DIR} cfg:default.paths.data=${DATA_DIR} cfg:default.paths.plugins=${PLUGINS_DIR} cfg:default.paths.provisioning=${PROVISIONING_CFG_DIR} (code=exited, stat
> Main PID: 7063 (code=exited, status=2)
>
>Apr 22 17:18:48 openhabian systemd[1]: grafana-server.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
>Apr 22 17:18:48 openhabian systemd[1]: grafana-server.service: Failed with result 'exit-code'.
>Apr 22 17:18:48 openhabian systemd[1]: grafana-server.service: Service RestartSec=100ms expired, scheduling restart.
>Apr 22 17:18:48 openhabian systemd[1]: grafana-server.service: Scheduled restart job, restart counter is at 5.
>Apr 22 17:18:48 openhabian systemd[1]: Stopped Grafana instance.
>Apr 22 17:18:48 openhabian systemd[1]: grafana-server.service: Start request repeated too quickly.
>Apr 22 17:18:48 openhabian systemd[1]: grafana-server.service: Failed with result 'exit-code'.
>Apr 22 17:18:48 openhabian systemd[1]: Failed to start Grafana instance.
**What you expected to happen**:
A smooth upgrade ;).
**How to reproduce it (as minimally and precisely as possible)**:
If I try to restart via `sudo service grafana-server start`, this doesn't work.
**Anything else we need to know?**:
Was working fine with the latest 8.4.X version before the upgrade.
**Environment**:
- Grafana version: 8.5.0
- OS Grafana is installed on: openhabian
Hello,
I have problems to start grafana-server.service.
Up until 02/20/22 everything ran without problems.
Now the service doesn’t start anymore.
Information:
Ubuntu 20.04 LTS
Zabbix Server 5.4
Grafana Server 8.3.4
● grafana-server.service - Grafana instance
Loaded: loaded (/lib/systemd/system/grafana-server.service; enabled; vendor preset: enabled)
Active: failed (Result: core-dump) since Tue 2022-01-25 11:09:08 UTC; 3s ago
Docs: http://docs.grafana.org
Process: 685…
Hi @irischen999 ,
Thanks for opening this post.
Could you please provide us with the backend logs (the default location in Linux is /var/log/grafana/grafana.log
) so that we can have more information about the error message?
1 Like
I was actually able to fix the problem by deleting files and directories that had the word ‘grafana’ in them manually. sudo apt-get remove --auto-remove grafana and sudo apt-get purge grafana did not remove all of them. After doing that and following the installation as normal, it was working again.
however, I don’t know how to make this thread as resolved
Glad to hear that you found the solution.
That I just did now
1 Like