From 1205b864d2ddb68f82507ac3ea8d74eecaea1fff Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Sat, 6 Apr 2024 20:48:22 +0530 Subject: [PATCH] [docs] Add a troubleshooting guide for failing uploads --- docs/docs/.vitepress/sidebar.ts | 81 +------------------ .../self-hosting/troubleshooting/uploads.md | 13 +++ 2 files changed, 17 insertions(+), 77 deletions(-) create mode 100644 docs/docs/self-hosting/troubleshooting/uploads.md diff --git a/docs/docs/.vitepress/sidebar.ts b/docs/docs/.vitepress/sidebar.ts index b7c3946a2..927f12b9d 100644 --- a/docs/docs/.vitepress/sidebar.ts +++ b/docs/docs/.vitepress/sidebar.ts @@ -202,6 +202,10 @@ export const sidebar = [ { text: "Troubleshooting", items: [ + { + text: "Uploads", + link: "/self-hosting/troubleshooting/uploads", + }, { text: "Yarn", link: "/self-hosting/troubleshooting/yarn", @@ -219,80 +223,3 @@ export const sidebar = [ link: "/about/contribute", }, ]; - -function sidebarOld() { - return [ - { - text: "Welcome", - items: [ - { - text: "Features", - collapsed: true, - items: [ - { - text: "Family Plan", - link: "/photos/features/family-plan", - }, - { text: "Albums", link: "/photos/features/albums" }, - { text: "Archive", link: "/photos/features/archive" }, - { text: "Hidden", link: "/photos/features/hidden" }, - { text: "Map", link: "/photos/features/map" }, - { - text: "Location Tags", - link: "/photos/features/location", - }, - { - text: "Collect Photos", - link: "/photos/features/collect", - }, - { - text: "Public links", - link: "/photos/features/public-links", - }, - { - text: "Quick link", - link: "/photos/features/quick-link", - }, - { - text: "Watch folder", - link: "/photos/features/watch-folders", - }, - { text: "Trash", link: "/photos/features/trash" }, - { - text: "Uncategorized", - link: "/photos/features/uncategorized", - }, - { - text: "Referral Plan", - link: "/photos/features/referral", - }, - { - text: "Live & Motion Photos", - link: "/photos/features/live-photos", - }, - { text: "Cast", link: "/photos/features/cast" }, - ], - }, - { - text: "Troubleshoot", - collapsed: true, - link: "/photos/troubleshooting/files-not-uploading", - items: [ - { - text: "Files not uploading", - link: "/photos/troubleshooting/files-not-uploading", - }, - { - text: "Failed to play video", - link: "/photos/troubleshooting/video-not-playing", - }, - { - text: "Report bug", - link: "/photos/troubleshooting/report-bug", - }, - ], - }, - ], - }, - ]; -} diff --git a/docs/docs/self-hosting/troubleshooting/uploads.md b/docs/docs/self-hosting/troubleshooting/uploads.md new file mode 100644 index 000000000..4f7273e94 --- /dev/null +++ b/docs/docs/self-hosting/troubleshooting/uploads.md @@ -0,0 +1,13 @@ +--- +title: Uploads failing +description: Fixing upload errors when trying to self host Ente +--- + +# Uploads failing + +If uploads to your self-hosted server are failing, make sure that +`credentials.yaml` has `yourserverip:3200` for all three minio locations. + +By default it is `localhost:3200`, and it needs to be changed to an IP that is +accessible from both where you are running the Ente clients (e.g. the mobile +app) and also from within the Docker compose cluster.