האתר מושבת מאז העדכון - שדרוג pg15 נכשל

שלום,

אני מריץ דיסקורס מותקן באופן עצמאי (קבלן התקין אותו) ועדכנתי לגרסה בטא האחרונה (באמצעות עדכון אוטומטי) היום, אמרו הייתה שגיאה במהלך העדכון וכל המערכת הפסיקה לעבוד. האתר לא פעיל.

מה עלי לעשות?

לייק 1

I’m tried this and does’t works

if you have an snapshot do it and wait until be fixed.

Thanks for the reply. Where do I enter “./launcher rebuild app” ?

SSH

cd ..
cd var/discourse
./launcher rebuild app
לייק 1

Thanks, but I get stuff like

UPGRADE OF POSTGRES FAILED

Please visit https://meta.discourse.org/t/postgresql-15-update/349515 for support.

You can run ./launcher start app to restart your app in the meanwhile
-------------------------------------------------------------------------------------



FAILED
--------------------
Pups::ExecError: if [ -f /root/install_postgres ]; then
  /root/install_postgres && rm -f /root/install_postgres
elif [ -e /shared/postgres_run/.s.PGSQL.5432 ]; then
  socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
fi
 failed with return #<Process::Status: pid 18 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.2.1/lib/pups/exec_command.rb:132:in `spawn'
exec failed with the params {"tag"=>"db", "cmd"=>"if [ -f /root/install_postgres ]; then\n  /root/install_postgres && rm -f /root/install_postgres\nelif [ -e /shared/postgres_run/.s.PGSQL.5432 ]; then\n  socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1\nfi\n"}
bootstrap failed with exit code 1
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.
c5b5958a65b830ae97f279c6df70e8b485b2d9d594af68767a953ff59e6ca286

מדויק למה שאמרתי, השתמש ב-snap כדי לשחזר מכולה ישנה והמתן שזה יתוקן. ניסיתי גם לעדכן ושרת האינטרנט שלי לא מתחיל מסיבה כלשהי.

Thanks for trying to help. I have no time for this. Going back to a static Hugo site. Bye Discourse.

I would advise you to post in the topic mentioned.

Discourse just needs a little patience, and it’ll work.

2 לייקים

Yup, please do follow the debugging steps in that topic, and let us know if you have any more info @eisammy @Markus_Moenig

We don’t have any fixes waiting for release. So if stuff is still not working for you, we need more information to help.

2 לייקים

What I don’t understand is why you invest a lot of work to create a noob proof easy to use UI to attract web-tech noobs like me and than put potentially hazardous updates in there without any warning.

I rage destroyed my droplet after trying to get it to work for 4 hours today. So there is no way back for me.

Absolute correct! I did this now and my instance was updated and is running normally thank you.

And @Markus_Moenig , this tutorial it’s enough to solve this trouble

2 לייקים

שמח לשמוע שזה עובד @eisammy

@Markus_Moenig אני מצטער שהדברים לא הסתדרו. אנחנו עושים כמיטב יכולתנו לשמור על עדכונים האלה ככל האפשר חלקים, אבל לפעמים דברים משתבשים. אני מסכים שזה יכול להיות מתסכל. אנו עושים כל מאמץ להיות כמה שיותר תגובתיים כאן בפורטל, אבל אני מבין שזה לא תמיד מספיק.

אני עומד לסגור נושא זה. אך אם אתה או מישהו אחר יש בעיות קשורות, אנא הרגיש חופשי לפתוח נושא חדש ב-Support.

5 לייקים