Applicable to:
- Plesk for Linux
Symptoms
-
When opening Monitoring (Grafana extension) in Plesk, it either logs the user from Plesk or fails to load with one of the following error messages in Plesk:
Dashboard not found
404 Page Not Found
*If you're seeing this Grafana has failed to load its application files*
1. This could be caused by your reverse proxy settings.
2. If you host grafana under subpath make sure your grafana.ini root_url
setting includes subpath
3. If you have a local dev build make sure you build frontend using:
yarn start, yarn start:hot, or yarn build
4. Sometimes restarting grafana-server can help -
When reinstalling Monitoring extension, the operation fails with:
ERROR: Failed to install the extension 'Monitoring' (package: monitoring):
ERR [extension/monitoring] The execution of post-install.php has failed with the following message:
ERR [extension/monitoring] Execution extension has failed with exit code 3, stdout: , stderr: Failed to get the 'ms_update_is_in_progress' parameter: A table must have a primary key, but none was found for table 'params'
Cause
Problem with the Grafana installation.
Issue where only "Memory" tab is not loading will be improved in scope of EXTPLESK-5725.
Resolution
Do not reinstall extension without trying to find root cause first.
- Connect to your Plesk server via SSH.
-
Remove Grafana extension:
# plesk bin extension --uninstall grafana
-
Remove Monitoring extension:
# plesk bin extension --uninstall monitoring
-
Additional step for Debian/Ubuntu-based distributions:
# apt remove grafana
-
-
Remove Grafana leftovers:
# rm -rf /usr/share/grafana /etc/grafana /var/lib/grafana
-
Install both extensions back in this order:
# plesk bin extension --install grafana
# plesk bin extension --install monitoring
Comments
Not working. The error persists.
Not working
After reinstalling the Grafana and Monitoring extensions, you may need to go to Extensions > Grafana and click the button "Retry Integration" (or similar) in the Status column. This will load up the 6 dashboards.
Q could you confirm what OS and Plesk version were you running?
OS is Ubuntu 22.04.5 LTS (ARM) and Plesk is Plesk Obsidian 18.0.73 Update #2
Please sign in to leave a comment.