Hello,
I have grafana installed via apt in an ubuntu 18.04. For starting the server if a try to execute from init.d “grafana-server start” it returns an error “Could not find config defaults, make sure homepath command line parameter is set or working directory is homepath”.
To solve this, I started the server by writing in same dir “grafana-server --config=/etc/grafana/grafana.ini --homepath=/usr/share/grafana”
Then I can access to grafana by host:3000 . I have created a dashboard, connected it to my database, everything looks ok.
But, I have not control over the server. I’ve installed a plugin, but I can not see it, because I need to restart the server. But how? By writing grafana-server stop, or restart, or start, I get the same error as before.
If I use the command service, nothing happen. Actually, despite the server looks being working (I have access to the grafana dashboard, and so on), if I execute service --status-all, grafana-server appears `with symbol [-], this is, down.
I’m thinking in removing and install via .deb package.