> For the complete documentation index, see [llms.txt](https://flutter-docs.taxi.ridy.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://flutter-docs.taxi.ridy.io/installation/update.md).

# Update

Depending on which path you have taken for backend installation before with the current server you can update your backend to the latest version from the same path as guided below.

### Backend

To update your server, begin by stopping the services with the following command:

```bash
docker compose down
```

By running the installation script, your setup will be updated to the latest version and configurations. Be aware that this will overwrite any existing modifications to your docker-compose.yaml or nginx configurations.

```bash
curl -sSL https://uploads.ridy.io/install.sh | sh
```

Log in to the dashboard. If configuration is needed, you'll be redirected to the configuration page. If any services malfunction after an update, restarting Nginx usually resolves it, as sometimes Nginx fails to locate the services and defaults to the nearest alternative.

```bash
docker restart root-nginx-1
```

### Client

With each new version, client codes are usually subject to updates so it would be better if you had your Version Control system in place with one branch being the files downloaded from Codecanyon and the other one your customizations. This way you could release with each new release that comes and resolve conflicts easier.
