2023-02-07 06:01:30 +08:00
---
Explicitly set all front matter labels in the source files (#71548)
* Set every page to have defaults of 'Enterprise' and 'Open source' labels
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set administration pages to have of 'Cloud', 'Enterprise', and 'Open source' labels
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set administration/enterprise-licensing pages to have 'Enterprise' labels
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set administration/organization-management pages to have 'Enterprise' and 'Open source' labels
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set administration/provisioning pages to have 'Enterprise' and 'Open source' labels
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set administration/recorded-queries pages to have labels cloud,enterprise
* Set administration/roles-and-permissions/access-control pages to have labels cloud,enterprise
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set administration/stats-and-license pages to have labels cloud,enterprise
* Set alerting pages to have labels cloud,enterprise,oss
* Set breaking-changes pages to have labels cloud,enterprise,oss
* Set dashboards pages to have labels cloud,enterprise,oss
* Set datasources pages to have labels cloud,enterprise,oss
* Set explore pages to have labels cloud,enterprise,oss
* Set fundamentals pages to have labels cloud,enterprise,oss
* Set introduction/grafana-cloud pages to have labels cloud
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Fix introduction pages products
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set panels-visualizations pages to have labels cloud,enterprise,oss
* Set release-notes pages to have labels cloud,enterprise,oss
* Set search pages to have labels cloud,enterprise,oss
* Set setup-grafana/configure-security/audit-grafana pages to have labels cloud,enterprise
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set setup-grafana/configure-security/configure-authentication pages to have labels cloud,enterprise,oss
* Set setup-grafana/configure-security/configure-authentication/enhanced-ldap pages to have labels cloud,enterprise
* Set setup-grafana/configure-security/configure-authentication/saml pages to have labels cloud,enterprise
* Set setup-grafana/configure-security/configure-database-encryption/encrypt-secrets-using-hashicorp-key-vault pages to have labels cloud,enterprise
* Set setup-grafana/configure-security/configure-request-security pages to have labels cloud,enterprise,oss
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set setup-grafana/configure-security/configure-team-sync pages to have labels cloud,enterprise
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set setup-grafana/configure-security/export-logs pages to have labels cloud,enterprise
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Set troubleshooting pages to have labels cloud,enterprise,oss
* Set whatsnew pages to have labels cloud,enterprise,oss
* Apply updated labels from review
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
---------
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-07-18 16:10:12 +08:00
labels:
products:
- enterprise
- oss
2023-02-07 06:01:30 +08:00
title: Upgrade guide common tasks
---
## Upgrade Grafana
2024-02-29 22:39:25 +08:00
The following sections provide instructions for how to upgrade Grafana based on your installation method. For more information on where to find configuration files, refer to [Configuration file location ](https://grafana.com/docs/grafana/<GRAFANA_VERSION>/setup-grafana/configure-grafana/#configuration-file-location ).
2023-02-07 06:01:30 +08:00
### Debian
To upgrade Grafana installed from a Debian package (`.deb`), complete the following steps:
2024-02-29 22:39:25 +08:00
1. In your current installation of Grafana, save your custom configuration changes to a file named `<grafana_install_dir>/grafana.ini` .
2023-02-07 06:01:30 +08:00
This enables you to upgrade Grafana without the risk of losing your configuration changes.
1. [Download ](https://grafana.com/grafana/download?platform=linux ) the latest version of Grafana.
1. Run the following `dpkg -i` command.
```bash
wget < debian package url >
sudo apt-get install -y adduser
sudo dpkg -i grafana_< version > _amd64.deb
```
### APT repository
To upgrade Grafana installed from the Grafana Labs APT repository, complete the following steps:
2024-02-29 22:39:25 +08:00
1. In your current installation of Grafana, save your custom configuration changes to a file named `<grafana_install_dir>/grafana.ini` .
2023-02-07 06:01:30 +08:00
This enables you to upgrade Grafana without the risk of losing your configuration changes.
2023-02-08 22:23:32 +08:00
1. Run the following commands:
2023-02-07 06:01:30 +08:00
```bash
sudo apt-get update
sudo apt-get upgrade
```
Grafana automatically updates when you run `apt-get upgrade` .
### Binary .tar file
To upgrade Grafana installed from the binary `.tar.gz` package, complete the following steps:
2024-02-29 22:39:25 +08:00
1. In your current installation of Grafana, save your custom configuration changes to the custom configuration file, `custom.ini` or `grafana.ini` .
2023-02-07 06:01:30 +08:00
This enables you to upgrade Grafana without the risk of losing your configuration changes.
1. [Download ](https://grafana.com/grafana/download ) the binary `.tar.gz` package.
1. Extract the downloaded package and overwrite the existing files.
2023-04-07 21:44:01 +08:00
### RPM or YUM
2023-02-07 06:01:30 +08:00
2023-04-07 21:44:01 +08:00
To upgrade Grafana installed using RPM or YUM complete the following steps:
2023-02-07 06:01:30 +08:00
2024-02-29 22:39:25 +08:00
1. In your current installation of Grafana, save your custom configuration changes to a file named `<grafana_install_dir>/grafana.ini` .
2023-02-07 06:01:30 +08:00
This enables you to upgrade Grafana without the risk of losing your configuration changes.
1. Perform one of the following steps based on your installation.
2023-10-25 00:56:09 +08:00
- If you [downloaded an RPM package ](https://grafana.com/grafana/download ) to install Grafana, then complete the steps documented in [Install Grafana on Red Hat, RHEL, or Fedora ](https://grafana.com/docs/grafana/<GRAFANA_VERSION>/setup-grafana/installation/redhat-rhel-fedora/ ) or [Install Grafana on SUSE or openSUSE ](https://grafana.com/docs/grafana/<GRAFANA_VERSION>//setup-grafana/installation/suse-opensuse/ ) to upgrade Grafana.
2023-02-07 06:01:30 +08:00
- If you used the Grafana YUM repository, run the following command:
```bash
sudo yum update grafana
```
2023-05-12 04:17:01 +08:00
- If you installed Grafana on openSUSE or SUSE, run the following command:
2023-04-07 21:44:01 +08:00
```bash
sudo zypper update
```
2023-02-07 06:01:30 +08:00
### Docker
To upgrade Grafana running in a Docker container, complete the following steps:
2024-02-29 22:39:25 +08:00
1. Use Grafana [environment variables ](https://grafana.com/docs/grafana/<GRAFANA_VERSION>/setup-grafana/configure-grafana/#override-configuration-with-environment-variables ) to save your custom configurations; this is the recommended method. Alternatively, you can view your configuration files manually by accessing the deployed container.
2023-02-07 06:01:30 +08:00
This enables you to upgrade Grafana without the risk of losing your configuration changes.
2023-02-08 22:23:32 +08:00
1. Run a commands similar to the following commands.
2023-02-07 06:01:30 +08:00
docs: What's New & Upgrade Guide 10.0 (#64927)
* updated what's new index and added v10.0 what's new and upgrade guide
* Update _index.md
* Added nested folders
* Nested folders screenshot
* Add draft of Correlations what's new content
* Correlations minor edit
* add dashboards whats new
* What's new: Query multiple data sources in Explore
* Update docs/sources/whatsnew/whats-new-in-v10-0.md
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
* AuthNZ: What's new in Grafana 10.0 (#66362)
* AuthNZ: What's new in Grafana 10.0
* Add upgrade guides
* Apply suggestions from code review
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
* Apply suggestions from code review
Co-authored-by: Jo <joao.guerreiro@grafana.com>
* Apply suggestions from code review
Co-authored-by: Jo <joao.guerreiro@grafana.com>
---------
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
Co-authored-by: Jo <joao.guerreiro@grafana.com>
* Added span filters section
* add info about dashboard previews removal
* Update docs/sources/whatsnew/whats-new-in-v10-0.md
Co-authored-by: Ivan Ortega Alba <ivanortegaalba@gmail.com>
* add datagrid and drag and drop
* combine new ds picker and panel onboarding content
* Logs: Add LogContext to What's New v10 (#66575)
* add log context description
* change `eyeball button` to `eye icon`
* Adds Alerting entries for 10
* Add Azure Monitor entry for v10
* add public dashboards features
* small tweaks to public dashboards content
* Add Security: Trusted types section
* Add DataViz: initial placeholder sections with some content
* Adds alerting entry for templates
* Adds an and
* update headings
* fix link format and update wording
* nesting topics under dashboards and visualizations, updated headers
* Adds oncall contact point entry
* Copyedits for oncall alerting entry
* add incremental querying blurb to whats-new
* Renaming nested folders to subfolders
* Update what's new to indicate availability of features and improve messaging (#66755)
* Added image for time regions
* update wording for feature release stage
* Add section about Phlare data source rename
* restructuring and styling fixes
* add datasource picker recording
* Log Context: Improved "Whats New" text (#67285)
* improve "Log context" whats new
* change screenshot
* Update docs/sources/whatsnew/whats-new-in-v10-0.md
Co-authored-by: Matias Chomicki <matyax@gmail.com>
* fix spelling
* Update docs/sources/whatsnew/whats-new-in-v10-0.md
Co-authored-by: J Stickler <julie.stickler@grafana.com>
* Update docs/sources/whatsnew/whats-new-in-v10-0.md
Co-authored-by: J Stickler <julie.stickler@grafana.com>
* Update docs/sources/whatsnew/whats-new-in-v10-0.md
Co-authored-by: J Stickler <julie.stickler@grafana.com>
* Update docs/sources/whatsnew/whats-new-in-v10-0.md
Co-authored-by: J Stickler <julie.stickler@grafana.com>
* change image
---------
Co-authored-by: Matias Chomicki <matyax@gmail.com>
Co-authored-by: J Stickler <julie.stickler@grafana.com>
* wording and style edits
* Update how to use Trusted Types
* Adding opentracing deprecation notes
* Adding opentracing deprecation notes
* added breaking changes with raw markdown
* updated page weight
* state location of public dashboards list more explicitly
* added email sharing user admin info
* clarified what was fixed
* Deletes oncall entry
* added heading markdown
* replaced absolute links with relrefs
* fixed relrefs
* Update canvas GA section to include connection properties
* canvas: slight grammar update
* updated template and name of contributor field for each item
* adding contributor name
* added contributor names to what's new
* added contributor names to what's new and upgrade guide
* fixed typo
* Docs: What is new 10 - add Data plane (#68125)
* Remove drag & drop to dashboard
* Add PDC to 10.0 what's new
* reorder sections, edit copy
* update order, format and copy
* grammar fix
add "and"
* add intro text to breaking changes pages
* fix Explore mixed DS what's new doc (#68303)
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Remove datagrid from what's new, drag and drop to experimental
* Update docs/sources/whatsnew/whats-new-in-v10-0.md
* updates to data source picker availability
* Update what's new for canvas / trend panel (finalized)
* Update ds picker recording
* Add deprecation notice for changing folder UID
* docs: update with angular plugin list
* Update with documentations links for annotation filtering and time regions
* Update annotation filtering section in docs/sources/whatsnew/whats-new-in-v10-0.md
* add datagrid as experimental
* modify datagrid doc accordingly
* Update docs/sources/whatsnew/whats-new-in-v10-0.md
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>
* adds alerting screenshot
* deletes sentence
* adds state history pic
* resolving outstanding suggestions
Co-authored-by: David Harris <david.harris@grafana.com>
Co-authored-by: Nathan Marrs <nathanielmarrs@gmail.com>
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>
* changed order of sections
* updated text about breaking changes in whats new and upgrade guide
* fixed links
* copy edits
* general copy edits
* removed TO DOs from whats new, copy edited upgrade guide, some copy edits of breaking changes
* fix doc validator errors
* added availability information, updated preview notes, replaced screenshot
* copy edit, added links, added breaking changes content
* general copy edit of breaking changes; small update to common tasks
* replaced notes with admonitions
* link fixes
* reverted blog links to full addresses
* fixed heading inconsisency
* fix doc validator error
* added availability note
* added missing availability notes
* replaced screenshot and fixed wording
* replaced screenshot and fixed wording
* Updated subfolders description
To call out missing features and stress that it can only be used in dev/test environments
* added availability note
---------
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
Co-authored-by: Zsofia <zsofia.komaromi@gmail.com>
Co-authored-by: Josiah (Jay) Goodson <josiah.goodson@gmail.com>
Co-authored-by: natellium <natalia.bernarte@grafana.com>
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
Co-authored-by: Natalia Bernarte Oses <74534993+natellium@users.noreply.github.com>
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
Co-authored-by: Vardan Torosyan <vardants@gmail.com>
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
Co-authored-by: Jo <joao.guerreiro@grafana.com>
Co-authored-by: Joey Tawadrous <joey.tawadrous@grafana.com>
Co-authored-by: Artur Wierzbicki <artur.wierzbicki@grafana.com>
Co-authored-by: Ivan Ortega Alba <ivanortegaalba@gmail.com>
Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com>
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com>
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
Co-authored-by: Galen <galen.kistler@grafana.com>
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com>
Co-authored-by: Matias Chomicki <matyax@gmail.com>
Co-authored-by: J Stickler <julie.stickler@grafana.com>
Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com>
Co-authored-by: Kyle Brandt <kyle@grafana.com>
Co-authored-by: Mitchel Seaman <mitchel.seaman@gmail.com>
Co-authored-by: Giordano Ricci <me@giordanoricci.com>
Co-authored-by: Ezequiel Victorero <ezequiel.victorero@grafana.com>
Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>
Co-authored-by: David Harris <david.harris@grafana.com>
Co-authored-by: Victor Marin <victor.marin@grafana.com>
Co-authored-by: Joey <90795735+joey-grafana@users.noreply.github.com>
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>
2023-05-31 21:00:05 +08:00
{{% admonition type="note" %}}
This is an example. The parameters you enter depend on how you configured your Grafana container.
{{% /admonition %}}
2023-02-07 06:01:30 +08:00
```bash
docker pull grafana/grafana
docker stop my-grafana-container
docker rm my-grafana-container
docker run -d --name=my-grafana-container --restart=always -v /var/lib/grafana:/var/lib/grafana grafana/grafana
```
### Windows
To upgrade Grafana installed on Windows, complete the following steps:
1. In your current installation of Grafana, save your custom configuration changes to a file named `<grafana_install_dir>/conf/custom.ini` .
This enables you to upgrade Grafana without the risk of losing your configuration changes.
1. [Download ](https://grafana.com/grafana/download ) the Windows binary package.
1. Extract the contents of the package to the location in which you installed Grafana.
You can overwrite existing files and folders, when prompted.
### Mac
To upgrade Grafana installed on Mac, complete the following steps:
2024-02-29 22:39:25 +08:00
1. In your current installation of Grafana, save your custom configuration changes to the custom configuration file, `custom.ini` .
2023-02-07 06:01:30 +08:00
This enables you to upgrade Grafana without the risk of losing your configuration changes.
1. [Download ](https://grafana.com/grafana/download ) the Mac binary package.
1. Extract the contents of the package to the location in which you installed Grafana.
You can overwrite existing files and folders, when prompted.
## Update Grafana plugins
After you upgrade Grafana, we recommend that you update all plugins because a new version of Grafana
can make older plugins stop working properly.
Run the following command to update plugins:
```bash
2023-04-27 02:18:03 +08:00
grafana cli plugins update-all
2023-02-07 06:01:30 +08:00
```