Symptoms
-
Monitoring > Graphs are shown empty.
-
Grafana custom repository is present on the server:
# grep -r grafana /etc/apt/
/etc/apt/sources.list:#deb https://packages.grafana.com/oss/deb stable main -
A different grafana package version than the provided by Plesk is installed due to custom repository:
# dpkg -l | grep graf
ii grafana 9.2.6
Cause
Grafana version was not installed from Plesk repositories but from the custom one.
Resolution
-
Connect to the server via SSH
-
Remove the Grafana extension:
# plesk bin extension --uninstall grafana
-
Remove the Advanced Monitoring extension:
# plesk bin extension --uninstall monitoring
-
Remove Grafana from the server:
-
For Debian or Ubuntu operating systems:
# apt purge grafana && rm -rf /usr/share/grafana /etc/grafana /var/lib/grafana
-
For RHEL, CentOS or CloudLinux operating systems:
# yum remove grafana && rm -rf /usr/share/grafana /etc/grafana /var/lib/grafana
-
-
Disable the custom repository by adding a preceding "#" or removing the line entirely. Vi editor can be used for this.
-
Reinstall the Grafana extension:
# plesk bin extension --install grafana
# plesk bin extension --install monitoring