From c0669a138a9d4d20f41ae9fb32f5b7e0bf23f6a9 Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Thu, 10 Apr 2025 08:22:56 +0530 Subject: [PATCH] [docs] Self hosting updates Updates for https://github.com/ente-io/ente/pull/5574 --- docs/docs/.vitepress/sidebar.ts | 6 +++++- docs/docs/self-hosting/troubleshooting/docker.md | 16 ++++++++-------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/docs/docs/.vitepress/sidebar.ts b/docs/docs/.vitepress/sidebar.ts index 5999d84b77..6f0a47b3e1 100644 --- a/docs/docs/.vitepress/sidebar.ts +++ b/docs/docs/.vitepress/sidebar.ts @@ -309,12 +309,16 @@ export const sidebar = [ { text: "Troubleshooting", items: [ + { + text: "General", + link: "/self-hosting/troubleshooting/misc", + }, { text: "Uploads", link: "/self-hosting/troubleshooting/uploads", }, { - text: "Docker", + text: "Docker / quickstart", link: "/self-hosting/troubleshooting/docker", }, { diff --git a/docs/docs/self-hosting/troubleshooting/docker.md b/docs/docs/self-hosting/troubleshooting/docker.md index 49e616da56..6c80070b34 100644 --- a/docs/docs/self-hosting/troubleshooting/docker.md +++ b/docs/docs/self-hosting/troubleshooting/docker.md @@ -103,9 +103,9 @@ like this: 3. However, you would already have a docker volume from the first run of `quickstart.sh`. Since the folder name is the same in both cases `my-ente`, - Docker will reuse the existing volumes. So your postgres is running off the - old credentials, and you're trying to connect to it using the new ones, and - the error arises. + Docker will reuse the existing volumes (`my-ente_postgres-data`, + `my-ente_minio-data`). So your postgres is running off the old credentials, + and you're trying to connect to it using the new ones, and the error arises. The solution is to delete the stale docker volume. **Be careful**, this will delete all data in those volumes (any thing you uploaded etc), so first @@ -118,11 +118,11 @@ If you're sure of what you're doing, the volumes can be deleted by docker volume ls ``` -to list them, and then delete the ones that begin with `my-ente` using `docker -volume rm`. You can delete all stale volumes by using `docker system prune` with -the `--volumes` flag, but be _really_ careful, that'll delete all volumes (Ente -or otherwise) on your machine that are not currently in use by a running docker -container. +to list them, and then delete the ones that begin with `my-ente` using +`docker volume rm`. You can delete all stale volumes by using +`docker system prune` with the `--volumes` flag, but be _really_ careful, +that'll delete all volumes (Ente or otherwise) on your machine that are not +currently in use by a running docker container. If you're unsure about removing volumes, another alternative is to rename your `my-ente` folder. Docker uses the folder name to determine the volume name