# Upgrade instructions

{% hint style="info" %}
We update all the time, often multiple times per day.
{% endhint %}

Make sure you're following our canny:

{% embed url="<https://emaildelivery.canny.io/>" %}

{% hint style="warning" %}
It's not necessarily a great idea to force updates on everyone (think about Windows 10 here), but you should periodically do manual updates to the latest version, or you'll be missing lots of stuff.
{% endhint %}

I just updated a customer today who was so out of date they didn't even have themes 🤯 😱&#x20;

{% hint style="success" %}
**Upgrading to the latest version of the ESP platform has now been automated**

Just log into your server and use the new ./upgrade.sh tool
{% endhint %}

Here's how to get started:&#x20;

`cd edcom-install`

To see the command line options for the upgrade tool, run this command:

.`/upgrade.sh -h`

```
Usage: ./upgrade.sh [--check-only] | [--no-prompt]
   
--check-only: Check for latest version and exit 

--no-prompt: Do not prompt for confirmation before upgrading
```

You can see if your version is out of date by just running a version check:

`./upgrade.sh --check-only`

```
Your platform version is NOT the latest version

Your platform version: 1.20231023.0211 Latest version: 1.20231024.0316
```

To upgrade, run the tool by itself without any extra options:

`./upgrade.sh`

```
Your platform version is NOT the latest version

Your platform version: 1.20231023.0211 Latest version: 1.20231024.0316

Do you want to proceed with upgrading your platform? [y/n]: y
```

If there's a newer version out, you'll be prompted to upgrade now, or you can wait until a better time.&#x20;

If you choose to be upgraded, you'll see output similar to the following:

{% code overflow="wrap" %}

```
Downloading upgrade script...

Running upgrade script...

Downloading upgrade package...

% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1493 0 1493 0 0 3164 0 --:--:-- --:--:-- --:--:-- 3163 100 907M 100 907M 0 0 80.2M 0 

Extracting...
```

{% endcode %}

{% hint style="info" %}
The new version will be downloaded and installed while preserving your data and settings, and then your platform will be automatically restarted.
{% endhint %}

{% hint style="success" %}
When you see this, it means you're done and ready to log back in on your web browser:&#x20;
{% endhint %}

<figure><img src="/files/gUdunLtUJbWrwqzG8qEz" alt="" width="563"><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.emaildelivery.com/docs/post-installation/upgrade-instructions-1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
