Skip to content

Commit 12fc045

Browse files
committed
correct third workaround with example
1 parent 17cffd7 commit 12fc045

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

docs/release-notes/known-issues.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,15 @@ Possible workaround require access on the hosts to unlock the situation:
236236

237237
1. Define temporarily [`HTTP_PROXY`, `HTTPS_PROXY`, `NO_PROXY` env variables](https://www.elastic.co/docs/reference/fleet/host-proxy-env-vars) on the Elastic Agent service - then restart Elastic Agent. **ATTENTION:** you will need to provide a correct `NO_PROXY` value in order to force Elastic Agent to use the proxy ONLY when accessing the URL of the artifacts, otherwise it will affect ANY HTTP communication to go through the proxy. Then restart the Elastic Agent and re-attempt the upgrade.
238238

239-
Temporarily grant access to the public Artifacts repository (or the self-hosted one) without the need of the HTTP proxy. This might imply updating firewalls or host settings.
239+
2. Temporarily grant access to the public Artifacts repository (or the self-hosted one) without the need of the HTTP proxy. This might imply updating firewalls or host settings.
240240

241-
Re-install Elastic Agent downloading the file locally via other methods. Note: this implies a re-enrollment & re-installation, losing the local state and therefore triggering possible re-ingestion of data.
241+
3. Re-install Elastic Agent downloading the file locally via other methods. You can download the agent upgrade `.zip` or
242+
`.tar.gz` along with the `.sha512` and `.asc` files and use the upgrade command with a `file://` URI to upgrade from
243+
local disk.
244+
245+
```shell
246+
# --force is needed for fleet managed agents
247+
sudo elastic-agent upgrade 9.1.7 --force --source-uri file:///path/to/files
248+
```
242249

243250
:::

0 commit comments

Comments
 (0)