From 484e66eb464f026586ccb5814ca81007bdc8b252 Mon Sep 17 00:00:00 2001 From: jo Date: Tue, 12 Jul 2022 13:17:40 +0200 Subject: [PATCH] docs: reorder upgrade steps --- docs/admin-manual/setup/upgrade.md | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/docs/admin-manual/setup/upgrade.md b/docs/admin-manual/setup/upgrade.md index 4f49db8db..059632329 100644 --- a/docs/admin-manual/setup/upgrade.md +++ b/docs/admin-manual/setup/upgrade.md @@ -13,24 +13,36 @@ You should always have proper backups and a rollback scenario in place before up ## Stop the services -Run the following commands to apply the database migrations: +Run the following commands to stop the services: ```bash sudo systemctl stop libretime.target +# Or +sudo systemctl stop libretime-analyzer.service +sudo systemctl stop libretime-api.service +sudo systemctl stop libretime-celery.service +sudo systemctl stop libretime-liquidsoap.service +sudo systemctl stop libretime-playout.service ``` ## Make a backup Follow [the backup guide](../backup.md) to make an extra backup of your installation and prepare a rollback scenario in case of accidental data loss during the upgrade process. -## Install the new version - -Follow [the install guide](./install.md#download) to download and install the new version, and re-run the `./install` script with the same arguments you used during the initial install. - ## Apply upgrade instructions Be sure to carefully read **all** the [releases notes](../../releases/README.md), from your current version to the targeted version, to apply upgrade or breaking changes instructions to your installation. +:::caution + +You might need to run steps before and after the install procedure. Be sure to follow these steps thoroughly. + +::: + +## Install the new version + +Follow [the install guide](./install.md#download) to download and install the new version, and re-run the `./install` script with the same arguments you used during the initial install. + ## Apply migrations Run the following command to apply the database migrations: