---
title: Charmhub | Deploy HTTPRequest Lego provider using Charmhub - The Open Operator
  Collection
description: Deploy the latest version of HTTPRequest Lego provider as a Kubernetes
  Operator on any cloud.
url: https://charmhub.io/httprequest-lego-provider/docs/upgrade
---

# HTTPRequest Lego provider

[Canonical IS DevOps](https://charmhub.io/publisher/canonical-is-devops "View all packages from Canonical IS DevOps")

* [Canonical IS DevOps](https://charmhub.io/publisher/canonical-is-devops "View all packages from Canonical IS DevOps")

Platform:

stable 51

```
juju deploy httprequest-lego-provider
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

---

#### Relevant links

* [Homepage](https://charmhub.io/httprequest-lego-provider)

---

#### Contacts

* [Submit a bug](https://github.com/canonical/httprequest-lego-provider/issues)

---

Share your thoughts on this charm with the community on discourse.

[Join the discussion](https://discourse.charmhub.io/)

# How to upgrade

Since the upgrade to the latest version involves running migration scripts in the database, it is essential to backup the PostgreSQL database before upgrading to the latest version.

## [Back up](https://charmhub.io/httprequest-lego-provider/docs/upgrade#p-39093-back-up)

Follow the [PostgreSQL charm documentation](https://charmhub.io/postgresql/docs/h-configure-s3-aws) to back up the database.

## [Upgrade to the latest version](https://charmhub.io/httprequest-lego-provider/docs/upgrade#p-39093-upgrade-to-the-latest-version)

Upgrade the charm to the latest version:
`juju refresh httprequest-lego-provider --revision=<revision number>`

You should see the `httprequest-lego-provider` charm go to `Active` and `Idle` state after upgrading.

---
