Symptoms
- Grafana graphs are not shown:
203.113.0.2 redirected you too many times
OR
login.OAuthLogin(missing saved state)
- Plesk is installed on AlmaLinux 9 server
- The following errors occur in Grafana log
/var/log/grafana/grafana.log
logger=context traceID=00000000000000000000000000000000 userId=0 orgId=0 uname= t=2023-07-13T10:38:54.40646435+02:00 level=error msg="Request Completed" method=GET path=/login/generic_oauth status=500 remote_addr=127.0.0.1 time_ms=0 duration=490.443µs size=1388 referer="https://203.113.0.2:8443/modules/monitoring/index.php/index/main?context=extNavButton_monitoring_1" traceID=00000000000000000000000000000000
logger=context traceID=00000000000000000000000000000000 userId=0 orgId=0 uname= t=2023-07-13T10:38:54.527613555+02:00 level=error msg="Request Completed" method=GET path=/login/generic_oauth status=500 remote_addr=127.0.0.1 time_ms=0 duration=743.878µs size=1388 referer="https://203.113.0.2:8443/modules/monitoring/index.php/index/main?context=extNavButton_monitoring_1" traceID=00000000000000000000000000000000
logger=context traceID=00000000000000000000000000000000 userId=0 orgId=0 uname= t=2023-07-13T10:49:29.26752975+02:00 level=error msg="user already exists"
logger=context traceID=00000000000000000000000000000000 userId=0 orgId=0 uname= t=2023-07-13T10:49:30.229244061+02:00 level=error msg="user already exists"
- The
TOO_MANY_REDIRECTS
error appears in the browser when the Grafana application is opened from Plesk > Extensions > Graphana > Open Application
Cause
Plesk bug #EXTPLESK-4838 - Unsupported version of Grafana installed on AlmaLinux 9
Resolution
As a workaround, perform the following steps:
- Log in to the server via SSH.
-
Open
/etc/yum.repos.d/almalinux-appstream.repo
with any text editor and add theexclude=grafana
line under the[appstream]
block:[appstream]
...
exclude=grafana -
Remove the Grafana Extension:
# plesk bin extension -u grafana
The extension was successfully removed. -
Remove the grafana package:
# yum remove grafana -y
Dependencies resolved.
...
Complete! -
Install the Grafana Extension:
# plesk bin extension -i grafana