Skip to content

Commit 27f4f7a

Browse files
author
Donna-Marie Smith
committed
fixed additional Program Data ProgramData issues
1 parent 374919b commit 27f4f7a

4 files changed

Lines changed: 17 additions & 17 deletions

File tree

content/en/docs/2025.7/Guides/upgrade-guides/upgrade-observability/cloud/grafana/upgrade-promtail.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ These steps will need to be performed on all application servers that host a Pro
1717

1818
1. Log in to the application server.
1919
1. Run Windows PowerShell as Administrator.
20-
1. Change the directory to the folder where Promtail is running from, e.g. `cd C:\Program Data\Cortex\Observability\Promtail`.
20+
1. Change the directory to the folder where Promtail is running from, e.g. `cd C:\ProgramData\Cortex\Observability\Promtail`.
2121
1. Remove the current Promtail installation by executing the following command:
2222

2323
``` powershell
@@ -26,7 +26,7 @@ These steps will need to be performed on all application servers that host a Pro
2626
2727
1. Click *Yes* when prompted for confirmation that you wish to remove the service.
2828
1. Click *OK* when the successful removal of the Promtail service is confirmed.
29-
1. Open a File Explorer and navigate to the folder where Promtail was running from, e.g. `C:\Program Data\Cortex\Observability\Promtail`
29+
1. Open a File Explorer and navigate to the folder where Promtail was running from, e.g. `C:\ProgramData\Cortex\Observability\Promtail`
3030
1. Delete the following files from the directory:
3131
3232
* Install-Promtail.ps1
@@ -38,17 +38,17 @@ These steps will need to be performed on all application servers that host a Pro
3838
* Stop-Promtail.ps1
3939
4040
1. In File Explorer, navigate to the extracted `promtail-windows-amd64.exe` folder created as part of [Make Artefacts Available][].
41-
1. Copy the `promtail-windows-amd64.exe` file into the folder that Promtail was previously running from, e.g. `C:\Program Data\Cortex\Observability\Promtail`.
41+
1. Copy the `promtail-windows-amd64.exe` file into the folder that Promtail was previously running from, e.g. `C:\ProgramData\Cortex\Observability\Promtail`.
4242
1. In File Explorer, navigate to the extracted `Promtail.Install` folder created as part of [Make Artefacts Available][].
43-
1. Copy the contents of this location into the folder that Promtail was previously running from, e.g. `C:\Program Data\Cortex\Observability\Promtail`.
43+
1. Copy the contents of this location into the folder that Promtail was previously running from, e.g. `C:\ProgramData\Cortex\Observability\Promtail`.
4444
1. Open `promtail-local-config.yaml` in a text editor:
4545
4646
* Update the *filename* property under *positions* to be the value found in the [backed up][] version.
4747
* Update the *url* property under *clients* to be the value found in the [backed up][] version.
4848
* Save the new `promtail-local-config.yaml` file.
4949
5050
1. Run Windows PowerShell as Administrator.
51-
1. Change the directory to the folder where the Promtail files have been copied to, e.g. `cd C:\Program Data\Cortex\Observability\Promtail`.
51+
1. Change the directory to the folder where the Promtail files have been copied to, e.g. `cd C:\ProgramData\Cortex\Observability\Promtail`.
5252
1. Install Promtail by executing the following command:
5353
5454
``` powershell

content/en/docs/2025.7/Guides/upgrade-guides/upgrade-observability/on-premise/grafana/upgrade-loki.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This guide describes how to upgrade the Loki installation. Please ensure that th
1313

1414
1. Log in to the server hosting your Loki service.
1515
1. Run Windows PowerShell as Administrator.
16-
1. Change the directory to the folder where Loki is running from, e.g. `cd C:\Program Data\Cortex\Observability\Loki`.
16+
1. Change the directory to the folder where Loki is running from, e.g. `cd C:\ProgramData\Cortex\Observability\Loki`.
1717
1. Remove the current Loki installation by executing the following command:
1818

1919
``` powershell
@@ -22,7 +22,7 @@ This guide describes how to upgrade the Loki installation. Please ensure that th
2222
2323
1. Click *Yes* when prompted for confirmation that you wish to remove the service.
2424
1. Click *OK* when the successful removal of the Loki service is confirmed.
25-
1. Open a File Explorer and navigate to the folder where Loki was running from, e.g. `C:\Program Data\Cortex\Observability\Loki`.
25+
1. Open a File Explorer and navigate to the folder where Loki was running from, e.g. `C:\ProgramData\Cortex\Observability\Loki`.
2626
1. Delete the following files from the directory:
2727
2828
* Install-Loki.ps1
@@ -34,9 +34,9 @@ This guide describes how to upgrade the Loki installation. Please ensure that th
3434
* Stop-Loki.ps1
3535
3636
1. In File Explorer, navigate to the extracted `loki-windows-amd64.exe` folder created as part of [Make Artefacts Available][].
37-
1. Copy the `loki-windows-amd64.exe` file into the folder that Loki was previously running from, e.g. `C:\Program Data\Cortex\Observability\Loki`.
37+
1. Copy the `loki-windows-amd64.exe` file into the folder that Loki was previously running from, e.g. `C:\ProgramData\Cortex\Observability\Loki`.
3838
1. In File Explorer, navigate to the extracted `Grafana.Loki.Install` folder created as part of [Make Artefacts Available][].
39-
1. Copy the contents of this location into the folder that Loki was previously running from, e.g. `C:\Program Data\Cortex\Observability\Loki`.
39+
1. Copy the contents of this location into the folder that Loki was previously running from, e.g. `C:\ProgramData\Cortex\Observability\Loki`.
4040
1. Open the new `loki-local-config.yaml` file in a text editor and compare against the [backed up][] version. If there are differences between the two files in the *schema_config* > *configs* section:
4141
4242
1. In the new file, change the date next to `- from` to be today's date.
@@ -66,7 +66,7 @@ This guide describes how to upgrade the Loki installation. Please ensure that th
6666
1. Save the new `loki-local-config.yaml` file.
6767
6868
1. Run Windows PowerShell as Administrator.
69-
1. Change the directory to the folder where the Loki files have been copied to, e.g. `cd C:\Program Data\Cortex\Observability\Loki`.
69+
1. Change the directory to the folder where the Loki files have been copied to, e.g. `cd C:\ProgramData\Cortex\Observability\Loki`.
7070
1. Install Loki by executing the following command:
7171
7272
``` powershell

content/en/docs/2025.7/Guides/upgrade-guides/upgrade-observability/on-premise/grafana/upgrade-promtail.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ These steps will need to be performed on all application servers that host a Pro
1717

1818
1. Log in to the application server.
1919
1. Run Windows PowerShell as Administrator.
20-
1. Change the directory to the folder where Promtail is running from, e.g. `cd C:\Program Data\Cortex\Observability\Promtail`.
20+
1. Change the directory to the folder where Promtail is running from, e.g. `cd C:\ProgramData\Cortex\Observability\Promtail`.
2121
1. Remove the current Promtail installation by executing the following command:
2222

2323
``` powershell
@@ -26,7 +26,7 @@ These steps will need to be performed on all application servers that host a Pro
2626
2727
1. Click *Yes* when prompted for confirmation that you wish to remove the service.
2828
1. Click *OK* when the successful removal of the Promtail service is confirmed.
29-
1. Open a File Explorer and navigate to the folder where Promtail was running from, e.g. `C:\Program Data\Cortex\Observability\Promtail`
29+
1. Open a File Explorer and navigate to the folder where Promtail was running from, e.g. `C:\ProgramData\Cortex\Observability\Promtail`
3030
1. Delete the following files from the directory:
3131
3232
* Install-Promtail.ps1
@@ -38,17 +38,17 @@ These steps will need to be performed on all application servers that host a Pro
3838
* Stop-Promtail.ps1
3939
4040
1. In File Explorer, navigate to the extracted `promtail-windows-amd64.exe` folder created as part of [Make Artefacts Available][].
41-
1. Copy the `promtail-windows-amd64.exe` file into the folder that Promtail was previously running from, e.g. `C:\Program Data\Cortex\Observability\Promtail`.
41+
1. Copy the `promtail-windows-amd64.exe` file into the folder that Promtail was previously running from, e.g. `C:\ProgramData\Cortex\Observability\Promtail`.
4242
1. In File Explorer, navigate to the extracted `Promtail.Install` folder created as part of [Make Artefacts Available][].
43-
1. Copy the contents of this location into the folder that Promtail was previously running from, e.g. `C:\Program Data\Cortex\Observability\Promtail`.
43+
1. Copy the contents of this location into the folder that Promtail was previously running from, e.g. `C:\ProgramData\Cortex\Observability\Promtail`.
4444
1. Open the new `promtail-local-config.yaml` in a text editor:
4545
4646
* Update the *filename* property under *positions* to be the value found in the [backed up][] version.
4747
* Update the *url* property under *clients* to be the value found in the [backed up][] version.
4848
* Save the new `promtail-local-config.yaml` file.
4949
5050
1. Run Windows PowerShell as Administrator.
51-
1. Change the directory to the folder where the Promtail files have been copied to, e.g. `cd C:\Program Data\Cortex\Observability\Promtail`.
51+
1. Change the directory to the folder where the Promtail files have been copied to, e.g. `cd C:\ProgramData\Cortex\Observability\Promtail`.
5252
1. Install Promtail by executing the following command:
5353
5454
``` powershell

content/en/docs/2025.7/getting-started/cloud/add-observability-to-innovation/Grafana/install-alloy/install-alloy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ This guide describes how to install Grafana Alloy on the Application Server(s).
1212
## Install Grafana Alloy
1313

1414
1. Download the [Grafana Alloy 1.10.0][] archive.
15-
1. Extract content of the downloaded archive to a suitable location, e.g. `C:\Program Data\Cortex\Observability\Grafana Alloy`.
15+
1. Extract content of the downloaded archive to a suitable location, e.g. `C:\ProgramData\Cortex\Observability\Grafana Alloy`.
1616
1. Download the [Grafana Alloy.zip][] archive and extract its contents alongside the previously extracted Grafana Alloy `alloy-installer-windows-amd64.exe`.
1717
This archive contains the `config.alloy` configuration file and PowerShell scripts to install Grafana Alloy as a Windows service.
1818
1. Run Windows PowerShell as Administrator
19-
1. Change the location to where all the files were extracted to in step 2, e.g. `cd "C:\Program Data\Cortex\Observability\Grafana Alloy"`.
19+
1. Change the location to where all the files were extracted to in step 2, e.g. `cd "C:\ProgramData\Cortex\Observability\Grafana Alloy"`.
2020
1. Execute the `.\Install-Alloy.ps1` command to install the downloaded `alloy-installer-windows-amd64.exe` as a service.
2121
1. When prompted, enter the credentials that the Grafana Alloy Service should run as.
2222
1. When prompted to enter the bearer token, leave it blank and press Enter.

0 commit comments

Comments
 (0)