From e229f88541b18ff77eec21db0777ae66e13ca760 Mon Sep 17 00:00:00 2001 From: M4th12 <89078127+M4th12@users.noreply.github.com> Date: Sun, 31 May 2026 21:44:38 +0200 Subject: [PATCH] Revise OpenCloud upgrade documentation Updated upgrade instructions for OpenCloud, including clarifications on Docker commands and configuration paths. --- .../admin/maintenance/upgrade/upgrade.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/versioned_docs/version-4.0/admin/maintenance/upgrade/upgrade.md b/versioned_docs/version-4.0/admin/maintenance/upgrade/upgrade.md index 41555bca..768c58c6 100644 --- a/versioned_docs/version-4.0/admin/maintenance/upgrade/upgrade.md +++ b/versioned_docs/version-4.0/admin/maintenance/upgrade/upgrade.md @@ -37,19 +37,19 @@ It is recommended to create a [backup](../backup) before proceeding with the upg ## Pull the latest OpenCloud Compose -If you are using Docker Compose with the `opencloud-compose` repository, update your local checkout before pulling the new container image: +If you are using Docker Compose with the `opencloud-compose` repository, update your local checkout before pulling the new container image. + +Skip this step if you run OpenCloud with plain Docker (`docker run`): ```bash cd /opencloud-compose git pull ``` -Skip this step if you run OpenCloud with plain Docker (`docker run`). - ## Pull the new Opencloud version ```bash -docker pull opencloudeu/opencloud:{tag} +docker pull opencloudeu/opencloud:{tag} # or opencloudeu/opencloud-rolling:{tag} depending on the version you're using ``` ## Verify Configuration Changes @@ -59,7 +59,8 @@ If upgrading from an older release, check for required configuration changes: Go inside the container: ```bash -docker run --rm -it --entrypoint /bin/sh -v $HOME/opencloud/opencloud-config:/etc/opencloud opencloudeu/opencloud:{tag} +docker run --rm -it --entrypoint /bin/sh -v /YOUR/OC_CONFIG/PATH:/etc/opencloud opencloudeu/opencloud:{tag} +# or opencloudeu/opencloud-rolling:{tag} depending on the version you're using ``` ```bash @@ -90,7 +91,7 @@ If you see `no changes, your config is up to date`, no further action is needed. ```Shell - OC_DOCKER_IMAGE=opencloudeu/opencloud OC_DOCKER_TAG=tag docker compose up -d + docker compose up -d ```