From d06faba01fefd5dfa3c5e0f03147d0cff53f420f Mon Sep 17 00:00:00 2001 From: Archos Date: Fri, 10 Oct 2025 07:12:54 +0200 Subject: [PATCH] update README --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 2f0b742..a30dd42 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,10 @@ -# Move PeerTube video storage to Hetzner S3 (Cloudron setup, CORS fix) +# Move PeerTube video storage to Hetzner S3 Hi everyone, after a few failed attempts with other S3 providers like **iDrive** and **Backblaze**, -I tried **Hetzner Object Storage (S3)** — where we also host our Cloudron servers. +I tried **Hetzner Object Storage (S3)** — where we also host our servers. Here’s my working setup and migration process — maybe it helps someone. Everything works great: I’ve successfully moved **~240 GB** of videos, all without issues. -This guide shows how to move PeerTube video storage to **Hetzner Object Storage (S3-compatible)** on a **Cloudron instance**. Tested with PeerTube 7.3.0 and Cloudron v8.3.2 (Ubuntu 24.04.1 LTS) @@ -52,7 +51,7 @@ You should see: CORS: *... ``` ## 3️⃣ Edit PeerTube configuration -Open `/app/data/production.yaml` (Cloudron path) and add or modify this block: +Open `/app/data/production.yaml` and add or modify this block: ```yaml object_storage: enabled: true @@ -87,7 +86,7 @@ object_storage: base_url: 'https://peertube-1.fsn1.your-objectstorage.com' upload_acl: 'public-read' ``` -Save and restart PeerTube from the Cloudron dashboard. +Save and restart PeerTube. ## 4️⃣ Move videos to S3 From the Cloudron Web Terminal: @@ -97,6 +96,9 @@ cd /app/code/server ``` gosu cloudron:cloudron npm run create-move-video-storage-job -- --to-object-storage ``` +``` +``` +``` This creates jobs that migrate all videos to your S3 bucket. Progress can be monitored in Cloudron → App → Logs. ## 5️⃣ Verify