# 500 Error trying to upgrade discourse

**URL:** <https://meta.discourse.org/t/500-error-trying-to-upgrade-discourse/304364>\
**Category:** Self-hosting\
**Created:** [April 17, 2024, 8:48pm UTC](https://meta.discourse.org/t/500-error-trying-to-upgrade-discourse/304364 "2024-04-17T20:48:22Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Jane\_Jojo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jane_jojo/32/119485_2.png) [@Jane\_Jojo](https://meta.discourse.org/u/Jane_Jojo)\
**Post date:** [April 17, 2024, 9:31pm UTC](https://meta.discourse.org/t/500-error-trying-to-upgrade-discourse/304364/3 "2024-04-17T21:31:52Z")

</div>

Thank you. I did

```plaintext
sudo su 
cd /var/discourse
./launcher rebuild app

```

Hit this error

 ![CleanShot 2024-04-17 at 14.30.00@2x](https://global.discourse-cdn.com/meta/original/4X/4/4/3/4439fd6ad519dd4eba4cdf5d66dd3b624f8edc30.jpeg)

```plaintext
/bin/docker: error pulling image configuration: Get https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/98/984f729957dff9b39ddce4a2a23174a21777d07a629e6f5ebef1540ef2d7b3bf/data?verify=1713392277-sO3GxYp6PxjnEeCwTBcPF%2FqE5Kw%3D: x509: certificate has expired or is not yet valid.
See '/bin/docker run --help'.
Your Docker installation is not working correctly

```

[Troubleshoot docker installation issues](https://meta.discourse.org/t/docker-error-on-bootstrap/13657/18) didn’t have a solution

---

_[View the full topic](https://meta.discourse.org/t/500-error-trying-to-upgrade-discourse/304364)._
