# Upgrade syncserver proxy

## Step-by-step

To upgrade the version of the on-premise syncserver proxy, follow these steps:

1\. Stop the syncserver container:

```
docker stop syncserver
```

2\. Remove the container:

```
docker rm syncserver
```

3\. Create a volume for the syncserver configuration:

```
docker volume create sync-conf
```

4\. Create a file 'iam-sync-redeploy.sh' to hold the update script:

```
nano iam-sync-redeploy.sh
```

<p class="callout info">Use your preferred text editor; `nano` is used here.</p>

5\. Copy the following script:

```
docker run -d \
  --name syncserver \
  -v sync-conf:/opt/soffid/iam-sync/conf \
  --restart always \
  --network=host \
  soffid/iam-sync:4.0.44
```

<p class="callout info">Replace '4.0.44' with the desired version.</p>

6\. Save and exit the editor.

7\. Run the script:

```
bash iam-sync-redeploy.sh
```

You should see a response like this:

[![2026-09-11_15-39.png](https://bookstack.soffid.com/uploads/images/gallery/2026-09/scaled-1680-/gZk1FziQNFRVfRAN-2026-09-11-15-39.png)](https://bookstack.soffid.com/uploads/images/gallery/2026-09/gZk1FziQNFRVfRAN-2026-09-11-15-39.png)