# שחזור עובד, האתר טוען את כל הפוסטים ואז נכשל

**URL:** https://meta.discourse.org/t/restore-works-site-loads-with-all-post-then-fails/351799
**Category:** Support
**Created:** [12 בפברואר,‏ 2025,‏ 2:41am UTC](https://meta.discourse.org/t/restore-works-site-loads-with-all-post-then-fails/351799 "2025-02-12T02:41:49Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![garret1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/garret1/32/122543_2.png) [@garret1](https://meta.discourse.org/u/garret1)
#### Post date: [12 בפברואר,‏ 2025,‏ 2:41am UTC](https://meta.discourse.org/t/restore-works-site-loads-with-all-post-then-fails/351799/1 "2025-02-12T02:41:49Z")

</div>

הייתה כשל בעדכון Discourse על ה-Digital Ocean droplet שלי. ניסיתי לשחזר גיבוי של ה-droplet וזה לא נראה כמו ש-Discourse נמצא ב-droplet החדש מתוך הגיבוי. יצרתי droplet חדש, התקנתי Discourse נקי והוא מזהה את גיבויי ה-Amazon S3 שלי. לחצתי על שחזור והאתר מכיל את כל הפוסטים וכו’, אבל פתאום השחזור נכשל ומחזיר אחורה. אני לא בטוח למה זה קורה ומה לעשות הלאה כדי להריץ את ה-Discourse שלי. צרפתי את קובץ הלוג כמדריך.  
[log 3.txt|קובץ מצורף](https://meta.discourse.org/uploads/short-url/oMonx6Ct98ijfUxXA2kRgMTVZL3.txt) (93.8 KB)

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [12 בפברואר,‏ 2025,‏ 3:53am UTC](https://meta.discourse.org/t/restore-works-site-loads-with-all-post-then-fails/351799/2 "2025-02-12T03:53:06Z")

</div>

> 569 פוסטים אינם מוגדרים מחדש לכתובת ה-URL החדשה של ההעלאה ב-S3. ההעברה של S3 נכשלה עבור מסד הנתונים ‘ברירת מחדל’.

העובדה שהודיע שיש כתובת URL חדשה להעלאת קבצים ב-S3 מצביעה שסידרת את זה בצורה שונה מהמצב הקודם. העובדה שזה נכשל מצביעה שגם ההגדרה החדשה אינה נכונה.  
פתרון: ודא שהמשתנים שהוגדרו ב-`app.yml` שלך זהים לאלה שהיו בהתקנה הקודמת.

---

<div class="post-metadata">

### Author: ![garret1](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/garret1/32/122543_2.png) [@garret1](https://meta.discourse.org/u/garret1)
#### Post date: [12 בפברואר,‏ 2025,‏ 11:30am UTC](https://meta.discourse.org/t/restore-works-site-loads-with-all-post-then-fails/351799/3 "2025-02-12T11:30:58Z")

</div>

I grabbed the app.yml file from the failed discourse update droplet and moved to the new droplet I’m trying to restore the backup to. Still fails the 569 posts. Is there a way to skip those or another way to get past that? I’d rather have the whole forum back up vs 569 posts.

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [12 בפברואר,‏ 2025,‏ 12:14pm UTC](https://meta.discourse.org/t/restore-works-site-loads-with-all-post-then-fails/351799/4 "2025-02-12T12:14:54Z")

</div>

הטריק הרגיל שלי הוא להשבית את ההעלאות S3 לפני ביצוע ההעברה, אבל אני מניח שאין לך את הבחירה הזאת מכיוון שזהו הפורום המקורי שלך למטה.

אני לא בטוח ב-100% אם זה יעבוד - אתה יכול לנסות את זה

- הגדר `DISCOURSE_ENABLE_S3_UPLOADS: false` ב-app.yml שלך
- שחזר
- הסר את השורה הזו
- בניטוב מחדש

אם זה לא עובד, תוכל לנסות לערוך את הקובץ `dump.sql` בגיבוי ולהגדיר את ההגדרה ל-false שם.
