A user is experiencing an error during a Discourse upgrade, with a bootstrap failure related to asset precompilation. The error message indicates a failure in the themes:update rake task, but the user cannot see earlier logs. Other users suggest checking for memory issues and note that the extension update message is likely harmless. The user acknowledges the advice and plans to monitor RAM usage in future updates. cmdntd initially reports the error, merefield points out the upgrade steps, pfaffman suggests memory issues, and Jonathan5 confirms the extension message is not critical.
בודק עדכוני הרחבה הודעה
ההתקנה שלך מכילה הרחבות שיש לעדכן
עם הפקודה ALTER EXTENSION. הקובץ
update_extensions.sql
כאשר ירוצא על ידי psql על ידי מנהל על מסד הנתונים, יעדכן
את ההרחבות האלה.
שדרוג הושלם
----------------
סטטיסטיקות האופטימיזציה לא מועברות על ידי pg_upgrade.
לאחר שתפעיל את השרת החדש, שקול להריץ:
/usr/lib/postgresql/15/bin/vacuumdb --all --analyze-in-stages
הרצת סקריפט זה תמחוק את קבצי הנתונים של הקלאסיקה הישנה:
./delete_old_cluster.sh
-------------------------------------------------------------------------------------
שדרוג POSTGRES הושלם
מסד הנתונים הישן 13 מאוחסן ב- /shared/postgres_data_old
להשלים את השדרוג, שחזר שוב באמצעות:
./launcher rebuild app
2025-02-13 16:30:53.012 UTC [43] LOG: מערכת הבסיס נתונים סגורה
110:M 13 בפברואר 2025 16:30:53.028 * הבסיס נשמר Disk
110:M 13 בפברואר 2025 16:30:53.029 # Redis מוכן לסיום, להתראות...
נכשל
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'SKIP_EMBER_CLI_COMPILE=1 bundle exec rake themes:update assets:precompile' נכשל עם קוד יציאה #;Process::Status: pid 1157 exit 1
מיקום הכשל: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:ב`spawn`
הפעלת הפקודה נכשלה עם הפרמטרים {"cd"=>"$home", "tag"=>"precompile", "hook"=>"assets_precompile", "cmd"=>["su discourse -c 'SKIP_EMBER_CLI_COMPILE=1 bundle exec rake themes:update assets:precompile'"]}
האתחול נכשל עם קוד יציאה 1
** הכניסה לשרת נכשלה ** בבקשה עיין באייטמים הקודמים שהופיעו כדי לאבחן את הבעיה, ייתכן שיש עוד.
./discourse-doctor יכול לעזור באבחון הבעיה.