Open tonypowa opened 3 days ago
This issue is a test copy of an issue in another repo. Original issue: https://github.com/grafana/grafana/issues/#88962
Summary: Issue 370 remains OPEN; Grafana server fails to restart after an upgrade from version 10 to 11 on Ubuntu 20.04.4 using systemd, despite working when started directly with a command. The author is seeking ideas for resolution.
Elaboration:
Thank you for reaching out, @tonypowa, and for providing the initial details of your issue with upgrading Grafana. To help us investigate this further, a few additional pieces of information would be useful. When you have a chance, could you provide the following details?
journalctl -u grafana-server.service
command after attempting to restart the service with systemctl
? This may contain logs that are not captured in the Grafana debug logs./var/log/syslog
) related to the service start attempt?grafana-server.service
file? Sometimes custom modifications can lead to service start issues.Once you provide the above information, we should be in a better position to understand and resolve the issue. Thanks for your cooperation!
Hello @tonypowa, it sounds like this might be an issue related to the Grafana server itself, possibly after an upgrade process. I'm going to direct this to the Backend platform project team as they are best equipped to handle server start-up issues. Before they look into this, please ensure that you've checked the permissions and ownership of the files in /etc/grafana
and /var/lib/grafana
, as incorrect permissions can sometimes cause the service to fail to start. It can also be helpful to inspect the journal logs using sudo journalctl -u grafana-server.service
to get more detailed error messages, if any.
Please add any additional logs or error messages to this issue to aid in troubleshooting.
/assign @backend-platform
What happened?
After an upgrade from Grafana 10 to 11 (on Ubuntu 20.04.4), grafana server does not start.
sudo -u grafana /usr/share/grafana/bin/grafana server --config /etc/grafana/grafana.ini
is working but
sudo systemctl restart grafana-server.service
does not complete.
I added debug logs in the ini file but nothing is showing up. I do not use SSH in this configuration, it is proxied by nginx.
It works well if started via the sudo line above.
Ideas?
What did you expect to happen?
I expect Grafana to start :)
Did this work before?
Yes
How do we reproduce it?
1.
2.
3.
Is the bug inside a dashboard panel?
No
Environment (with versions)?
Grafana: 11
OS: ubuntu 20.04.4
Browser: all
Grafana platform?
APT
Datasource(s)?
No response