Articles in this section

Monitoring page (Grafana extension) logs Plesk Administrator out from Plesk interface or does not load: Dashboard not found

Plesk for Linux kb: technical

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.

  1. Connect to your Plesk server via SSH.
  2. Remove Grafana extension:

    # plesk bin extension --uninstall grafana

  3. Remove Monitoring extension:

    # plesk bin extension --uninstall monitoring

    • Additional step for Debian/Ubuntu-based distributions:

      # apt remove grafana

  4. Remove Grafana leftovers:

    # rm -rf /usr/share/grafana /etc/grafana /var/lib/grafana

  5. Install both extensions back in this order:

    # plesk bin extension --install grafana
    # plesk bin extension --install monitoring

Was this article helpful?

Comments

5 comments
Date Votes
  • Not working. The error persists.

    0
  • Not working

    0
  • 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.

    0
  • Q could you confirm what OS and Plesk version were you running?

    0
  • OS is Ubuntu 22.04.5 LTS (ARM) and Plesk is Plesk Obsidian 18.0.73 Update #2

    0

Please sign in to leave a comment.