# After upgrade 2.27.0 PMM not working, all dashboards have no data

**URL:** <https://forums.percona.com/t/after-upgrade-2-27-0-pmm-not-working-all-dashboards-have-no-data/15376>\
**Category:** Percona Monitoring and Management (PMM)\
**Tags:** pmm\
**Created:** [April 25, 2022, 3:05am UTC](https://forums.percona.com/t/after-upgrade-2-27-0-pmm-not-working-all-dashboards-have-no-data/15376 "2022-04-25T03:05:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luke03011](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/luke03011/32/16409_2.png) [@Luke03011](https://forums.percona.com/u/Luke03011)\
**Post date:** [April 25, 2022, 3:05am UTC](https://forums.percona.com/t/after-upgrade-2-27-0-pmm-not-working-all-dashboards-have-no-data/15376/1 "2022-04-25T03:05:58Z")

</div>

Hi, Team  
After upgrading from 2.26.0 to 2.27.0, the Grafana is upgraded to 8.3.5, all dashboards refuse to work.  
It complains:

```auto
origin not allowed

```

On almost every page.

Could someone help to figure out this? Thanks

I searched google and find something maybe help: [Unable to Create/Save Dashboard after v8.3.5 Update · Issue #45117 · grafana/grafana · GitHub](https://github.com/grafana/grafana/issues/45117)

But when I checked the Nginx config, I find the mentioned workaround is already there.

```auto
 # Grafana
    rewrite ^/$ $scheme://$http_host/graph/;
    rewrite ^/graph$ /graph/;
    location /graph {
      proxy_cookie_path / "/;";
      proxy_pass http://127.0.0.1:3000;
      rewrite ^/graph/(.*) /$1 break;
      proxy_read_timeout 600;
      proxy_http_version 1.1;
      proxy_set_header Connection $connection_upgrade;
      proxy_set_header Upgrade $http_upgrade;
      proxy_set_header Host $http_host;
    }

```

 ![image (1)](https://us1.discourse-cdn.com/flex019/uploads/percona1/original/2X/c/c7d45b806e89f6adba5567212404f9da2bbd7f5d.png)

---

<div class="post-metadata">

**Author:** ![Luke03011](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/luke03011/32/16409_2.png) [@Luke03011](https://forums.percona.com/u/Luke03011)\
**Post date:** [April 26, 2022, 8:15am UTC](https://forums.percona.com/t/after-upgrade-2-27-0-pmm-not-working-all-dashboards-have-no-data/15376/2 "2022-04-26T08:15:13Z")

</div>

I found a way workaround for myself and you can try this:  
in your Nginx configuration file using the real domain name replace the $http\_host and restart Nginx

```auto
# proxy_set_header Host $http_host;
proxy_set_header Host example.com;

```

It worked for me, hope it can help you also.

---

<div class="post-metadata">

**Author:** ![nikita.beletskii](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/nikita.beletskii/32/3784_2.png) [@nikita.beletskii](https://forums.percona.com/u/nikita.beletskii)\
**Post date:** [April 27, 2022, 5:15am UTC](https://forums.percona.com/t/after-upgrade-2-27-0-pmm-not-working-all-dashboards-have-no-data/15376/3 "2022-04-27T05:15:54Z")

</div>

@Luke03011 I have a small question, do you have a proxy in front of PMM? nginx or something like this?

---

<div class="post-metadata">

**Author:** ![Luke03011](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/luke03011/32/16409_2.png) [@Luke03011](https://forums.percona.com/u/Luke03011)\
**Post date:** [April 27, 2022, 5:45am UTC](https://forums.percona.com/t/after-upgrade-2-27-0-pmm-not-working-all-dashboards-have-no-data/15376/4 "2022-04-27T05:45:45Z")

</div>

Hi, @nikita.beletskii I Think I got you. I thought you mean the Nginx in PMM docker, but soon I realize you mean Nginx on the host running the docker. Yes, I just find there is an Nginx in front of PMM docker.

and after I add

```auto
proxy_set_header Host $http_host;

```

to the Nginx config(the host Nginx not the Nginx in the PMM docker) and reload it, It works fine. Thanks.

---

<div class="post-metadata">

**Author:** ![Shaheer\_Khan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/shaheer_khan/32/7123_2.png) [@Shaheer\_Khan](https://forums.percona.com/u/Shaheer_Khan)\
**Post date:** [August 1, 2022, 3:28pm UTC](https://forums.percona.com/t/after-upgrade-2-27-0-pmm-not-working-all-dashboards-have-no-data/15376/5 "2022-08-01T15:28:54Z")

</div>

Thank you it’s works for me
