Skip to content

Commit c67a5b2

Browse files
authored
Revise upgrade instructions for OpenCloud
Updated commands and instructions for pulling OpenCloud images and running containers.
1 parent 2ab5140 commit c67a5b2

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

docs/admin/maintenance/upgrade/upgrade.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,19 +37,19 @@ It is recommended to create a [backup](../backup) before proceeding with the upg
3737

3838
## Pull the latest OpenCloud Compose
3939

40-
If you are using Docker Compose with the `opencloud-compose` repository, update your local checkout before pulling the new container image:
40+
If you are using Docker Compose with the `opencloud-compose` repository, update your local checkout before pulling the new container image.
41+
42+
Skip this step if you run OpenCloud with plain Docker (`docker run`):
4143

4244
```bash
4345
cd /opencloud-compose
4446
git pull
4547
```
4648

47-
Skip this step if you run OpenCloud with plain Docker (`docker run`).
48-
4949
## Pull the new Opencloud version
5050

5151
```bash
52-
docker pull opencloudeu/opencloud:{tag}
52+
docker pull opencloudeu/opencloud-rolling:{tag} # or opencloudeu/opencloud:{tag} depending on the version you're using
5353
```
5454

5555
## Verify Configuration Changes
@@ -59,7 +59,8 @@ If upgrading from an older release, check for required configuration changes:
5959
Go inside the container:
6060

6161
```bash
62-
docker run --rm -it --entrypoint /bin/sh -v $HOME/opencloud/opencloud-config:/etc/opencloud opencloudeu/opencloud:{tag}
62+
docker run --rm -it --entrypoint /bin/sh -v /YOUR/OC_CONFIG/PATH:/etc/opencloud opencloudeu/opencloud-rolling:{tag}
63+
# or opencloudeu/opencloud:{tag} depending on the version you're using
6364
```
6465

6566
```bash
@@ -85,12 +86,12 @@ If you see `no changes, your config is up to date`, no further action is needed.
8586
-e OC_INSECURE=true \
8687
-e PROXY_HTTP_ADDR=0.0.0.0:9200 \
8788
-e OC_URL=https://localhost:9200 \
88-
opencloudeu/opencloud:{tag}
89+
opencloudeu/opencloud-rolling:{tag}
8990
```
9091
</TabItem>
9192
<TabItem value="docker-compose" label="docker compose">
9293
```Shell
93-
OC_DOCKER_IMAGE=opencloudeu/opencloud OC_DOCKER_TAG=tag docker compose up -d
94+
docker compose up -d
9495
```
9596
</TabItem>
9697
</Tabs>

0 commit comments

Comments
 (0)