• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Issues with Grafana / Advanced monitoring

Pim Uijttewaal

New Pleskian
Hi, when installing the Grafana extension I get the following error:

Could not install Grafana
Failed
  • The execution of post-install.php has failed with the following message:
  • [2019-10-04 06:00:10.971] ERR [extension/grafana] Execution repository has failed with exit code 1, stdout: , stderr: ERROR:root:<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>

After closing the error message I can in fact see the extension. But when I open it and click Open Application it opens mydomain/8443/modules/grafana/service/ and gives SERVER 403 forbidden.

Furthermore opening the Advanced Monitoring tab in Plesk shows: Could not check if Advanced Monitoring was installed correctly: Execution extension has failed with exit code 1, stdout: , stderr: /opt/psa/admin/sbin/modules//grafana/grafana-cli: line 2: /usr/sbin/grafana-cli: No such file or directory

The Fix Installation button cannot repair it.

I've also tried
plesk repair
plesk installer --select-release-current --reinstall-patch --upgrade-installed-components

No joy :-( Any suggestions? thanks, Pim
 
Do you have any additional related details from /var/log/plesk/panel.log ?
 
2019-10-04 05:54:54.474] ERR [panel] The execution of post-install.php has failed with the following message:
[2019-10-04 05:54:54.213] ERR [extension/grafana] Execution repository has failed with exit code 1, stdout: , stderr: ERROR:root:<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>
[2019-10-04 06:00:10.971] ERR [extension/grafana] Execution repository has failed with exit code 1, stdout: , stderr: ERROR:root:<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>
[2019-10-04 06:00:10.978] ERR [extension/grafana] The execution of post-install.php has failed with the following message:
[2019-10-04 06:00:10.971] ERR [extension/grafana] Execution repository has failed with exit code 1, stdout: , stderr: ERROR:root:<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>
[2019-10-04 06:00:11.269] ERR [panel] Task failed: id=1363, pid=27927, type=ext-catalog-install, error=The execution of post-install.php has failed with the following message:
[2019-10-04 06:00:10.971] ERR [extension/grafana] Execution repository has failed with exit code 1, stdout: , stderr: ERROR:root:<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>
[2019-10-04 06:00:11.269] ERR [panel] The execution of post-install.php has failed with the following message:
[2019-10-04 06:00:10.971] ERR [extension/grafana] Execution repository has failed with exit code 1, stdout: , stderr: ERROR:root:<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>
[2019-10-04 06:09:02.791] ERR [extension/wp-toolkit] Unable to retrieve data by "https://api.wordpress.org/core/version-check/1.7/"
[2019-10-04 06:09:03.037] ERR [extension/wp-toolkit] Unable to retrieve data by "https://api.wordpress.org/core/version-check/1.7/"
[2019-10-04 06:11:28.325] ERR [panel] ranktracker.exception.used_count_failed
[2019-10-04 06:11:29.280] ERR [extension/xovi] Sorry, currently not able to connect to API.
root@h2781590:~#
root@h2781590:~#
root@h2781590:~# tail /var/log/plesk/panel.log
[2019-10-04 06:00:10.978] ERR [extension/grafana] The execution of post-install.php has failed with the following message:
[2019-10-04 06:00:10.971] ERR [extension/grafana] Execution repository has failed with exit code 1, stdout: , stderr: ERROR:root:<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>
[2019-10-04 06:00:11.269] ERR [panel] Task failed: id=1363, pid=27927, type=ext-catalog-install, error=The execution of post-install.php has failed with the following message:
[2019-10-04 06:00:10.971] ERR [extension/grafana] Execution repository has failed with exit code 1, stdout: , stderr: ERROR:root:<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>
[2019-10-04 06:00:11.269] ERR [panel] The execution of post-install.php has failed with the following message:
[2019-10-04 06:00:10.971] ERR [extension/grafana] Execution repository has failed with exit code 1, stdout: , stderr: ERROR:root:<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>
[2019-10-04 06:09:02.791] ERR [extension/wp-toolkit] Unable to retrieve data by "https://api.wordpress.org/core/version-check/1.7/"
[2019-10-04 06:09:03.037] ERR [extension/wp-toolkit] Unable to retrieve data by "https://api.wordpress.org/core/version-check/1.7/"
[2019-10-04 06:11:28.325] ERR [panel] ranktracker.exception.used_count_failed
[2019-10-04 06:11:29.280] ERR [extension/xovi] Sorry, currently not able to connect to API.
 
Do you have any firewall enabled? Do you have access to ext.plesk.com from this server?
 
Yes, the normal Plesk firewall with default rules. I disabled it for now and can reach ext.plesk.com but still the same errors

root@h2781590:~# ping ext.plesk.com
PING 1648825949.rsc.cdn77.org (195.181.172.7) 56(84) bytes of data.
64 bytes from amsterdam-1.cdn77.com (195.181.172.7): icmp_seq=1 ttl=58 time=11.1 ms
64 bytes from amsterdam-1.cdn77.com (195.181.172.7): icmp_seq=2 ttl=58 time=11.1 ms
64 bytes from amsterdam-1.cdn77.com (195.181.172.7): icmp_seq=3 ttl=58 time=11.2 ms
64 bytes from amsterdam-1.cdn77.com (195.181.172.7): icmp_seq=4 ttl=58 time=11.1 ms
64 bytes from amsterdam-1.cdn77.com (195.181.172.7): icmp_seq=5 ttl=58 time=11.1 ms
64 bytes from amsterdam-1.cdn77.com (195.181.172.7): icmp_seq=6 ttl=58 time=11.1 ms
64 bytes from amsterdam-1.cdn77.com (195.181.172.7): icmp_seq=7 ttl=58 time=11.2 ms
64 bytes from amsterdam-1.cdn77.com (195.181.172.7): icmp_seq=8 ttl=58 time=11.1 ms
64 bytes from amsterdam-1.cdn77.com (195.181.172.7): icmp_seq=9 ttl=58 time=11.1 ms
64 bytes from amsterdam-1.cdn77.com (195.181.172.7): icmp_seq=10 ttl=58 time=11.2 ms
 
My FW rules
rule-allow.png
Plesk administrative interface Allow incoming from all
rule-allow.png
WWW server Allow incoming from all
rule-allow.png
FTP server Allow incoming from all
rule-allow.png
SSH (secure shell) server Allow incoming from all
rule-allow.png
SMTP (mail sending) server Allow incoming from all
rule-allow.png
POP3 (mail retrieval) server Allow incoming from all
rule-allow.png
IMAP (mail retrieval) server Allow incoming from all
rule-allow.png
Mail password change service Allow incoming from all
rule-deny.png
MySQL server Deny incoming from all
rule-allow.png
PostgreSQL server Allow incoming from all
rule-allow.png
Samba (file sharing in Windows networks) Allow incoming from all
rule-deny.png
Domain name server Deny incoming from all
rule-allow.png
Ping service Allow incoming from all
rule-allow.png
System policy for incoming traffic Allow all other incoming traffic
rule-allow.png
System policy for outgoing traffic Allow all other outgoing traffic
rule-deny.png
System policy for forwarding of traffic Deny forwarding of all other traffic
 
By the way, I found that an upgraded package was available.. but that also doesnt work

Uitpakken van .../grafana_6.4.1_amd64.deb wordt voorbereid...
Bezig met uitpakken van grafana (6.4.1) over (2.6.0+dfsg-1) ...
dpkg: fout bij verwerken van archief /var/cache/apt/archives/grafana_6.4.1_amd64.deb (--unpack):
poging tot overschrijven van '/usr/share/grafana/public/fonts/fontawesome-webfont.woff', wat ook in pakket grafana-data 2.6.0+dfsg-1 zit
dpkg-deb: fout: subproces plakken werd gedood door signaal (Broken pipe)
Bezig met afhandelen van triggers voor systemd (229-4ubuntu21.22) ...
Fouten gevonden tijdens verwerken van:
/var/cache/apt/archives/grafana_6.4.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
Something wrong with packages apt system for your Ubuntu. Try to fix it with

# apt-get update
# apt-get install -f
 
The issue looks very strange. Detailed investigation directly on your server is required. Therefore I'd suggest you contact Plesk Support Team.
 
Sorry, one more question, can I just upgrade from Ubuntu 16.04 to 18.04 by using 'do-release-upgrade' without breaking Plesk?
 
Would like to confirm that re-installing the dedicated server with 18.04 instead of 16.04 solved the issue for me.
 
I am having the same issue, Ubuntu 16.04. Have a support ticket in and waiting on a response. Will post here once I get it.

I do not have the time to do a migrate to Ubuntu 18.04, although I do plan to in the near future...
 
Back
Top