> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://helpdesk.ggcircuit.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Grafana Stops Working After Debian Updates

This article explains steps necessary to work around an issue that presents after installing a new version of Grafana through Debian OS Updates.

### **Problem**

Grafana Statistics displays N/A or "Error updating options: origin not allowed" after Debian OS updates are applied.

![](https://ggcircuit.atlassian.net/wiki/download/attachments/15861211/image-png-Apr-22-2022-04-36-53-41-PM.png?version=1&modificationDate=1743386360706&cacheVersion=1&api=v2)

### Solution 1

1. Access the server console via a direct connection to the server, SSH, or via Debian Control Panel.

![](https://ggcircuit.atlassian.net/wiki/download/attachments/15861211/undefined-Apr-22-2022-04-42-59-87-PM.png?version=2&modificationDate=1743386358003&cacheVersion=1&api=v2)

2. Log in with the root user, or another admin user on the system.

![](https://ggcircuit.atlassian.net/wiki/download/attachments/15861211/undefined-Apr-22-2022-04-43-00-06-PM.png?version=2&modificationDate=1743386360718&cacheVersion=1&api=v2)

3. Back up the ggRock nginx configuration file:

```
cp /etc/nginx/conf.d/ggrock.conf /etc/nginx/conf.d/ggrock.conf.bak
```

4. Open the ggRock nginx configuration file in a text editor:

```
nano /etc/nginx/conf.d/ggrock.conf
```

5. Using the arrow keys on the keyboard, navigate down to the grafana configuration section
6. Add a new line with the following content:

```
proxy_set_header Host $http_host;
```

After the file has been modified, the requisite section should appear as in the below screenshot:

7. Press <CTRL> + 'X' on the keyboard to save and write the file, pressing the 'Y' key to confirm and save changes.

![](https://ggcircuit.atlassian.net/wiki/download/attachments/15861211/sjPM6JP.png?version=1&modificationDate=1743386358011&cacheVersion=1&api=v2)

8. Restart the nginx proxy service using the following command:

```
systemctl restart nginx.service
```

9. Wait 10-20 seconds for service restart to occur, then refresh the Grafana web interface to display statistics.

****** Thanks to our friends at Fortress Melbourne for this solution!

### **Solution 2**

1. Access the server console via a direct connection to the server, SSH, or via Debian Control Panel.

![](https://ggcircuit.atlassian.net/wiki/download/attachments/15861211/undefined-Apr-22-2022-04-42-59-87-PM.png?version=2&modificationDate=1743386358003&cacheVersion=1&api=v2)

2. Log in with the root user, or another admin user on the system.

![](https://ggcircuit.atlassian.net/wiki/download/attachments/15861211/undefined-Apr-22-2022-04-43-00-06-PM.png?version=2&modificationDate=1743386360718&cacheVersion=1&api=v2)

3. Issue the following two commands to install an older known-good version of grafana:

```
wget [https://dl.grafana.com/enterprise/release/grafana-enterprise_8.3.3_amd64.deb](https://dl.grafana.com/enterprise/release/grafana-enterprise_8.3.3_amd64.deb)
dpkg -i grafana-enterprise_8.3.3_amd64.deb
```

4. Reboot the server and access the Grafana web interface to display statistics.