• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Forwarded to devs Advanced monitoring stopped working after Grafana 7.0.0 update. Ubuntu/Centos

IronDonDon

New Pleskian
User name: IronDonDon

TITLE

Advanced monitoring stopped working after Grafana 7.0.0 update. Ubuntu/Centos

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Ubuntu 18.04.4, Centos 7.8.2003

PROBLEM DESCRIPTION

Plesk updated system packages, which included grafana server 7.0.0, after which Advanced monitoring stopped working. Downgrading grafana server to version 6.7.3 solves the issue.

STEPS TO REPRODUCE

Update/upgrade grafana to 7.0.0

ACTUAL RESULT

Advanced monitoring not working.

EXPECTED RESULT

Monitoring should work. No error must be produced.

ANY ADDITIONAL INFORMATION

t=2020-05-19T02:16:04+0200 lvl=eror msg="Alert Rule Result Error" logger=alerting.evalContext ruleId=3 name="Mail server memory usage" error="tsdb.HandleRequest() error Could not find executor for data source type: grafana-simple-json-backend-datasource" changing state to=keep_state
t=2020-05-19T02:16:09+0200 lvl=eror msg="Alert Rule Result Error" logger=alerting.evalContext ruleId=4 name="MySQL memory usage" error="tsdb.HandleRequest() error Could not find executor for data source type: grafana-simple-json-backend-datasource" changing state to=keep_state
t=2020-05-19T02:16:12+0200 lvl=eror msg="Alert Rule Result Error" logger=alerting.evalContext ruleId=6 name="Partition \"/\" utilization" error="tsdb.HandleRequest() error Could not find executor for data source type: grafana-simple-json-backend-datasource" changing state to=keep_state
t=2020-05-19T02:16:15+0200 lvl=eror msg="Alert Rule Result Error" logger=alerting.evalContext ruleId=5 name="Plesk memory usage" error="tsdb.HandleRequest() error Could not find executor for data source type: grafana-simple-json-backend-datasource" changing state to=keep_state
t=2020-05-19T02:16:16+0200 lvl=eror msg="Alert Rule Result Error" logger=alerting.evalContext ruleId=8 name="Swap usage" error="tsdb.HandleRequest() error Could not find executor for data source type: grafana-simple-json-backend-datasource" changing state to=keep_state
t=2020-05-19T02:16:20+0200 lvl=eror msg="Alert Rule Result Error" logger=alerting.evalContext ruleId=7 name="Real memory usage" error="tsdb.HandleRequest() error Could not find executor for data source type: grafana-simple-json-backend-datasource" changing state to=keep_state
t=2020-05-19T02:16:31+0200 lvl=eror msg="Alert Rule Result Error" logger=alerting.evalContext ruleId=1 name="Apache & PHP-FPM memory usage" error="tsdb.HandleRequest() error Could not find executor for data source type: grafana-simple-json-backend-datasource" changing state to=keep_state
t=2020-05-19T02:16:31+0200 lvl=eror msg="Alert Rule Result Error" logger=alerting.evalContext ruleId=4 name="MySQL memory usage" error="tsdb.HandleRequest() error Could not find executor for data source type: grafana-simple-json-backend-datasource" changing state to=keep_state
t=2020-05-19T02:16:32+0200 lvl=eror msg="Alert Rule Result Error" logger=alerting.evalContext ruleId=3 name="Mail server memory usage" error="tsdb.HandleRequest() error Could not find executor for data source type: grafana-simple-json-backend-datasource" changing state to=keep_state
t=2020-05-19T02:16:33+0200 lvl=eror msg="Alert Rule Result Error" logger=alerting.evalContext ruleId=2 name="nginx memory usage" error="tsdb.HandleRequest() error Could not find executor for data source type: grafana-simple-json-backend-datasource" changing state to=keep_state

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
Thank you for report. Bug EXTPLESK-1867 has been already created.

As a possible workaround you can add a new section to the grafana configuration file /etc/grafana/grafana.ini

[plugins]
allow_loading_unsigned_plugins = grafana-simple-json-backend-datasource

and restart grafana server

# service grafana-server restart

On Windows the configuration file is here: C:\Program Files (x86)\Plesk\var\modules\grafana\grafana\conf\custom.ini
Grafana server on Windows/Unix also can be restarted via the command:

plesk ext grafana --grafana-restart
 
Hello

since the update of grafana yesterday the graphic remains empty.

OS debian 9.12
plesk obsidian 18.0.27
 
Same behaviour on CloudLinux 7.8 and Plesk 18.0.27.
Fortunately I see that the issue is also present on other operating systems (CloudLinux receives from Plesk non-priority support over Ubuntu/CentOS) so I assume that there's some chance to see it fixed soon, at least I hope.
 
Just seen the issue this morning but before I'd seen this thread. Had tried logging out of Grafana but now unable to log back in - just get the login.OAuthLogin(missing saved state) alert and Advanced monitoring shows the attached error. Can anybody tell me how to at least get back into Grafana? Advice appreciated.

I'm on Centos 7.8.2003 & Obsidian 18.0.27
 

Attachments

  • Screenshot 2020-05-19 at 10.09.00.png
    Screenshot 2020-05-19 at 10.09.00.png
    87.9 KB · Views: 20
  • Screenshot 2020-05-19 at 10.09.24.png
    Screenshot 2020-05-19 at 10.09.24.png
    151.4 KB · Views: 28
The issue was fixed with the last update released a few minutes ago (at least on my Plesk installation).
 
Hello

I cannot confirm. Still the same bug
OS: Debian 9.12
possibly an uninstallation and following reinstallation helps ---> no, didnt work

the same issue as before
 
Thanks Igor - I can't see an update to the Extension yet but I assume it will be available in the next hour or so. I'll check back then and update.
 
Update from me - I can see I have the most recent version of Grafana installed (1.1.5-163) but still have the bug here

CentOS Linux 7.8.2003
 
Plesk updated today to Version 18.0.27
Grafana Extension to 1.1.5-163
CentOS Linux 7.8.2003 (Core)


Did grafana server restart (service grafana-server restart), still having this problem
 
Code:
t=2020-05-19T19:19:07+0200 lvl=eror msg="Failed to look up user based on
cookie" logger=context error="user token not found"
t=2020-05-19T19:19:07+0200 lvl=eror msg="Failed to look up user based on
cookie" logger=context error="user token not found"

Hm... this error could be caused if an old cookie with session id is used. Could you please check how Advanced Monitoring/Grafana works in an incognito mode in a browser? If it works, I suggest deleting browser cookies; to be more precision, you need to delete "grafana_session" cookie:
grafana_session cookie.png
 
Hello

that was it !! Its working now.

grafana.jpg


edit:

unfortunately only helped for a short time. Just logged in again and same error as before.
Deleting the cookie grafana session helps, but if you have to do that every time, it's annoying.
 
Last edited:
It is good to know that it resolved most of the issues. Thank you for the feedback.

@UHolthausen, I suggest contacting our Plesk Support team because it is a little bit strange and maybe we need to investigate the issue on your server environment.
 
Hello

thanks for the help.
Again deleted the cookies of the Grafana session and restarted the server completely.
So far it works and the graphic is displayed.
Sometimes the devil is in the details.
 
Back
Top