Symptoms
Advanced Monitoring on Plesk server does not show any data after update:
PLESK_ERROR: Metric request error
Cause
Product issue:
-
#EXTPLESK-2710 "Updating Grafana to version 8.0 and later no longer breaks the extension. Note: To use Advanced Monitoring 1.4.3 with Grafana 8.0, you need to have the Grafana extension version 1.2.3."
Fixed in:- Advanced Monitoring 1.4.3 19 June 2021
- Grafana 1.2.3 18 June 2021
Resolution
Please consider updating your server:
Workaround
Update Advanced Monitoring and Grafana to the latest version.
If update is not possible for some reason, as a workaround:Â
Click on a section to expand
For Linux:
- Connect to the server via SSH
- Run the following command to downgrade grafana package:
RPM-based systems (CentOS, RHEL):# yum downgrade grafana-7.5.7-1.x86_64
APT-based systems (Ubuntu, Debian):
# apt-get install grafana=7.5.5
- Log in to Plesk
- Go to Tools and Settings > System Updates > All Packages tab, find grafana using the search bar, select it and click Lock to prevent automatic update of the package:
Note: When bug is fixed revert this change
For Windows:
- Connect to the server via RDP
-
Download the file grafana-1.2.2-228.zip.Â
Login: plesk
Password: VB3QnSjtZO5rtv1E - Log in to Plesk
- Go to Extensions and install Panel.ini Editor extension
-
Go to Extensions > My Extensions > Panel.ini editor > Edit and add the following lines to allow installing extensions from zip archives:
[ext-catalog]
extensionUpload = true - Go to Extensions > My Extensions and click Upload ExtensionÂ
-
Select grafana-1.2.2-228.zip to upload
- Once the installation is complete, go to Advanced Monitoring, and click Fix installation, in case such a button appears
Note: There is a User Voice request regarding such operations through Plesk utilities via CLI. The request can be found here:Â Lock system package updates via CLI