From 22c3d26604c9842f9bf93b201daa756f858ff4cf Mon Sep 17 00:00:00 2001 From: aviv926 <51673860+aviv926@users.noreply.github.com> Date: Fri, 5 Apr 2024 17:59:03 +0300 Subject: [PATCH] feat(docs): Add information about breaking changes (#8524) * Added information about breaking updates * PR feedback --- docs/docs/install/docker-compose.mdx | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/docs/install/docker-compose.mdx b/docs/docs/install/docker-compose.mdx index 3a270c21b3..60fcbbe8b8 100644 --- a/docs/docs/install/docker-compose.mdx +++ b/docs/docs/install/docker-compose.mdx @@ -65,7 +65,7 @@ From the directory you created in Step 1, (which should now contain your customi docker compose up -d ``` -:::tip +:::info Docker version If you get an error `unknown shorthand flag: 'd' in -d`, you are probably running the wrong Docker version. (This happens, for example, with the docker.io package in Ubuntu 22.04.3 LTS.) You can correct the problem by `apt remove`ing Ubuntu's docker.io package and installing docker and docker-compose via [Docker's official repository](https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository). Note that the correct command really is `docker compose`, not `docker-compose`. If you try the latter on vanilla Ubuntu 22.04 it will fail in a different way: @@ -82,12 +82,16 @@ See the previous paragraph about installing from the official docker repository. For more information on how to use the application, please refer to the [Post Installation](/docs/install/post-install.mdx) guide. ::: -:::tip -Note that downloading container images might require you to authenticate to the GitHub Container Registry ([steps here](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry#authenticating-to-the-container-registry)). +:::note GitHub Authentication +Downloading container images might require you to authenticate to the GitHub Container Registry ([steps here](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry#authenticating-to-the-container-registry)). ::: ### Step 4 - Upgrading +:::danger Breaking Changes +It is important to follow breaking updates to avoid problems. You can see versions that had breaking changes [here](https://github.com/immich-app/immich/discussions?discussions_q=label%3Abreaking-change+sort%3Adate_created). +::: + If `IMMICH_VERSION` is set, it will need to be updated to the latest or desired version. When a new version of Immich is [released](https://github.com/immich-app/immich/releases), the application can be upgraded with the following commands, run in the directory with the `docker-compose.yml` file: @@ -97,7 +101,7 @@ docker compose pull && docker compose up -d ``` :::caution Automatic Updates -Immich is currently under heavy development, which means you can expect breaking changes and bugs. Therefore, we recommend reading the release notes prior to updating and to take special care when using automated tools like [Watchtower][watchtower]. +Immich is currently under heavy development, which means you can expect [breaking changes](https://github.com/immich-app/immich/discussions?discussions_q=label%3Abreaking-change+sort%3Adate_created) and bugs. Therefore, we recommend reading the release notes prior to updating and to take special care when using automated tools like [Watchtower][watchtower]. ::: [compose-file]: https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml