שגיאה בפלאגינים להצבעה לנושא ופוסט

סיכום מבוסס בינה מלאכותית

Users are reporting errors after installing the latest versions of the Topic Voting and Post Voting plugins on Discourse 3.4.6, resulting in a blank page and a crashed Discourse instance HandSpy_v3. The issue appears to stem from plugin compatibility, potentially due to differences between the stable and tests-passed branches of Discourse JammyDodger. While philh suggests updating Discourse, HandSpy_v3 confirms their installation is up-to-date. The plugins were installed via Git cloning as detailed in HandSpy_v3. Switching to the tests-passed branch in app.yml is recommended philh, and the plugins work on the beta version HandSpy_v3. The Discourse team has been alerted and suggests checking out an earlier plugin version as a workaround sam.

Hi all,

Just installed the latest versions of each of these plugins on Discourse 3.4.6 and got these errors

These errors completely crash Discourse and can only see a blank page.

באסה!
אולי כדאי לעדכן את Discourse ואז לנסות שוב?

Discourse נמצא בגרסה 3.5.0.beta8-dev

It says up-to-date :thinking:

For the tests-passed branch, but if you’re tracking stable then I think 3.4.6 is right (3.4.6: Security fix release)

There should be a compatibility file that ensures it doesn’t pull in anything from the plugin the main site isn’t ready for, but maybe that’s gone a little awry for this last one. Hopefully someone can identify what the issue is and smooth it out. :crossed_fingers:

לייק 1

True enough but Discourse dev approach is so rock solid I stay with tests-passed and have nearly zero issues. :slight_smile:

Any chance @HandSpy_v3 is not using the official plugin? His OP references two plugins, like we used to have.

I’m using the Official plugins, just added in my .yml under

hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          ...
          - git clone https://github.com/discourse/discourse-topic-voting.git
          - git clone https://github.com/discourse/discourse-post-voting.git

Brain dead, sorry. Two plugins, not one. :upside_down_face:

@HandSpy_v3 ייתכן שתשנה ל-tests-passed בקובץ app.yml לפי המלצת Discourse.

params:
  db_default_text_search_config: "pg_catalog.english"

  ## הגדר את db_shared_buffers למקסימום של 25% מהזיכרון הכולל.
  ## יוגדר אוטומטית על ידי bootstrap בהתבסס על ה-RAM שזוהה, או שתוכל לדרוס
  db_shared_buffers: "256MB"

  ## יכול לשפר את ביצועי המיון, אך מוסיף שימוש בזיכרון לכל חיבור
  #db_work_mem: "40MB"

  ## באיזו גרסת Git המיכל הזה צריך להשתמש? (ברירת מחדל: tests-passed)
  **#version: tests-passed**

לייק 1

כן, עובד בבטא.

לייק 1

בדרך כלל אנו מנסים להוסיף קובץ תאימות לפלאגינים כדי למנוע מצבים כאלה, נודיע לצוות.

פתרון עוקף הוא להשתמש בגרסה קודמת של הפלאגין בגרסה היציבה.