I updated my forum today, and now it’s broken and cannot be used. What should I do? Is something missing?
סיכום מבוסס בינה מלאכותית
The user wenqin encountered issues with their Discourse forum after an update, resulting in a failed database migration. Despite following upgrade instructions, the ./launcher rebuild app command failed due to errors during the migration process. The user initially suspected missing files and attempted various troubleshooting steps, including commenting out plugins. Moin suggested removing plugins like discourse-post-voting and discourse-solved that are now bundled with Discourse. merefield identified that the discourse-spoiler-alert plugin, which was still present in the configuration, was causing the issue. After removing this plugin, the forum returned to normal operation. wenqin confirmed the solution and marked merefield’s post as the solution.
או שאולי, כל עוד הפורום פועל כשורה, עדיף לא לשדרג כלל?
או שאתה מבצע בנייה מחדש דרך הטרמינל, כפי שהוצע?
כדי שתפעיל ./launcher rebuild app לשדרוג
Did you remove the plugins from app.yml as suggested and tried again?
HINT: The plugin 'discourse-post-voting' is now bundled with Discourse and should not be included in your container configuration. Remove the line 'git clone https://github.com/discourse/discourse-post-voting' from your containers/app.yml file, then try again. For more information, see https://meta.discourse.org/t/373574
HINT: The plugin 'discourse-solved' is now bundled with Discourse and should not be included in your container configuration. Remove the line 'git clone https://github.com/discourse/discourse-solved' from your containers/app.yml file, then try again. For more information, see https://meta.discourse.org/t/373574
לפני העדכון, צור תמונת מצב במנהל ה-vps, וכן עדכן רק אם הגרסה שלך ישנה מדי.
נהדר, כמעט סיימנו — התמונה הזו אומרת לנו שההגירה נכשלה, אך השגיאה בפועל נמצאת הרבה יותר למעלה.
דבר נוסף כשמשתפים שגיאות, אם אתם יכולים להשתמש בבלוקי קוד כמו אלה המוקפים בגרשיים, זה יהיה טוב גם כן, אחרת לא נורא, התמונה בסדר.
FAILED ------ Pups::ExecError
Since I don’t know how to code myself, I usually ask my friend to help and I’m just relaying the message here, so my description might not be very clear. Please look at this screenshot: the first command says it can’t find the file, and then when we rebuilt again, it reported a database migration failure.
לאחר בנייה מחדש, איזו שגיאה אתה מקבל?
אם השגיאה אומרת “please scroll up and look for earlier error messages” (גלול למעלה וחפש הודעות שגיאה קודמות), עשה זאת, וצלם מסך של אלו במקום של ההודעה הזו.
אז אם תנסו לבנות מחדש שוב, תקבלו את ההודעה הזו (לא משנה כמה פעמים תבנו מחדש)?
בשלב זה הייתי שוקל להקים שרת חדש מאפס ולשחזר את הגיבוי האחרון ולעבור פשוט.
After trying again, this is the situation now.
Started the installation, then followed the instructions to run the first command, but it showed that the “pg“” command file could not be found.
Then, after skipping those steps and directly running rebuild again, the error shown in this picture occurred.
Currently, the forum has started but cannot be accessed.
תחתית הלוגים מצביעה על כך
כדי להשלים את השדרוג, בנה מחדש שוב באמצעות:
./launcher rebuild app
האם תוכל להריץ זאת בבקשה.
זו הפעם השנייה שאני מריץ את זה, ואז הופיעה השגיאה בצילום המסך השני.






