On October 19, 2021, we have enabled single-sign-on for our Plesk Support Center to provide a seamless login/account experience. This implies that you’ll be able to use a single account across any of our web-facing properties.
If you had already registered your account at Plesk 360 (formerly known as My Plesk) please use one for login. Otherwise please re-register it using the same email address as your existing Zendesk login (support account). It’s essential that you use the same email address on our support center to ensure that your tickets stay attached to the same account.

Advanced Monitoring can not be opened in Plesk GUI: Grafana service is stopped

Follow

Comments

11 comments

  • Avatar
    Scott Boulanger

    I performed the resolution for Linux and received the following errors:

    rpm -e --nodeps grafana-enterprise-7.0.0-1.x86_64
    error: package grafana-enterprise-7.0.0-1.x86_64 is not installed

    plesk bin extension -u grafana
    The extension was successfully removed.

    plesk bin extension -i grafana
    [2021-04-21 23:21:15.417] ERR [extension/grafana] The execution of post-install.php has failed with the following message:
    [2021-04-21 23:21:15.405] ERR [extension/grafana] Execution filemng has failed with exit code 1, stdout: filemng: Unable to find uid for user grafana: Success
    filemng: Unable to getpwnam for user grafana
    filemng: User grafana not found
    , stderr: filemng: Unable to find uid for user grafana: Success
    filemng: Unable to getpwnam for user grafana
    filemng: User grafana not found
    The execution of post-install.php has failed with the following message:
    [2021-04-21 23:21:15.405] ERR [extension/grafana] Execution filemng has failed with exit code 1, stdout: filemng: Unable to find uid for user grafana: Success
    filemng: Unable to getpwnam for user grafana
    filemng: User grafana not found
    , stderr: filemng: Unable to find uid for user grafana: Success
    filemng: Unable to getpwnam for user grafana
    filemng: User grafana not found

    exit status 1

    0
    Comment actions Permalink
  • Avatar
    Yulia Plokhotnikova

    Hello @Scott Boulanger,

    The first step did not complete as the package must be named differently on your server. Please send the output of this command:

    # rpm -qa | grep grafana

    0
    Comment actions Permalink
  • Avatar
    Scott Boulanger

    grafana-7.5.4-1.x86_64

    0
    Comment actions Permalink
  • Avatar
    Yulia Plokhotnikova

    @Scott Boulanger,

    In that case, the package name has to be replaced in the 2nd step of this article:

    rpm -e --nodeps grafana-7.5.4-1.x86_64

    If it does not help to solve the issue, please submit a support request to Plesk directly or to a reseller, depending on where the license was purchased.

    0
    Comment actions Permalink
  • Avatar
    Scott Boulanger

    After executing:   rpm -e --nodeps grafana-7.5.4-1.x86_64

    I was able to re-execute: plesk bin extension -i grafana

    Which installed the extension successfully!

    0
    Comment actions Permalink
  • Avatar
    Sylvio

    Hi, I m an Ubuntu user, should I install RPM to fix this issue ?

    0
    Comment actions Permalink
  • Avatar
    Sylvio

    I tried to do it using the "update and upgrade" "Install or upgrade Plesk" web tool on port 8447, here is the result when I re-installed the monitoring component : 

    Installation started in background
    Checking whether the package dependencies are resolved.
    Installing packages
    Installing the package Monitoring
    Launching component and product checkers...
    Downloading file report-update: 0%
    Downloading file report-update: 100% was finished.
    Downloading file pool/PSA_18.0.38_7167/examiners/py_launcher.sh: 0%
    Downloading file pool/PSA_18.0.38_7167/examiners/py_launcher.sh: 100% was finished.
    Error: Failed to install the extension 'Monitoring' (package: monitoring):
    [2021-10-10 17:41:07.067] 21957:6163093d9be25 ERR [extension/monitoring] The execution of post-install.php has failed with the following message:
    [2021-10-10 17:41:07.034] 23220:6163094295dcb ERR [extension/monitoring] Execution extension has failed with exit code 3, stdout: , stderr: Grafana service failed to start

    The execution of post-install.php has failed with the following message:
    [2021-10-10 17:41:07.034] 23220:6163094295dcb ERR [extension/monitoring] Execution extension has failed with exit code 3, stdout: , stderr: Grafana service failed to start

    Warning! Not all packages were installed.
    Please check if your system services are operable.
    Please resolve this issue and try to install the packages again.
    Visit https://support.plesk.com/ to search for a solution.

    0
    Comment actions Permalink
  • Avatar
    Yulia Plokhotnikova (Edited )

    Hello @Sylvio,

    On Ubuntu server, use the following command to locate the grafana package:

    dpkg -l | grep grafana

    By default, the correct package should be:
    ii grafana 8.2.0 amd64 Grafana

    Please send me the command execution results on your side.

    0
    Comment actions Permalink
  • Avatar
    extro-media GbR

    Hi,

    we have the same issue on all our servers running Ubuntu 18.04 and Plesk (Obsidian 18.0.38 Update #3, latest version as of now).

    The installed version of grafana is 8.2.0.
    On 18.04, i also get the error regarding post-install.php when installing the package.

    I did a downgrade to grafana 8.1.7 , which installed without error and grafana-server starts, but in Plesk, the graphs are not displayed in the Monitoring extension.

    On all our servers running Ubuntu 20.04 , the package installs without error, and grafana-server is running correctly (same version of Plesk as above). Also, the Advanced Monitoring extension displays the server graphs as intended.

     

    0
    Comment actions Permalink
  • Avatar
    Sylvio

    Hi 
    I noticed this morning that an update 8.2.1 is now available, I first just executed apt-get update then apt-get upgrade but then in plesk interface the graphs were displayed as "no data" - access denied... so I de-installed and re-installed the plesk monitoring option and now it seems to work correctly !

    0
    Comment actions Permalink
  • Avatar
    Yulia Plokhotnikova

    @extro-media GbR

    This installation error is not reproduced on our test servers: the extension can be re-installed without issues, so there must be the technical issue specific to your environment that is causing the issue. Try updating the extension to 8.2.1 as @Sylvio informed it fixed the issue.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request