LemmyNet/lemmyBB

[Bug]: Reply to comment leads to 500: Internal Server Error

Closed this issue · 0 comments

Steps to reproduce

I installed lemmyBB alongside my lemmy running in a container to /opt/lemmyBB and compiled as it is described in the README of this repo.

It runs on the same machine as lemmy itself, so i let Environment="LEMMYBB_BACKEND=http://127.0.0.1:8536" in systemd-unit. (Changing it to https://lemmy.schuerz.at gives Error 500 almost every first call to a link)

And i had to change Environment="LEMMYBB_LISTEN_ADDRESS=127.0.0.1:8701" from the template to port 8703.

  1. Log in to lemmyBB
  2. Find a posting with more than 1 answers
  3. Klick on the reply-Button (arrow to left)
    grafik
  4. 500: Internal Server Error
    grafik

On which operating systems are you seeing the problem on?

  • Windows
  • Linux
  • macOS
  • Android
  • iOS/iPadOS

On which browsers are you seeing the problem on?

  • Firefox
  • Chrome
  • Safari
  • Microsoft Edge
  • Other (please describe in more detail under Additional context)

Version

0.1.3-23-g4e99193

LemmyBB Logs

Feb 11 04:05:10 sc-chat-01 lemmy_bb[153272]: [2023-02-11T03:05:10Z INFO  rocket::server] GET /comment_editor?t=132386&reply=59842 text/html:
Feb 11 04:05:10 sc-chat-01 lemmy_bb[153272]: [2023-02-11T03:05:10Z INFO  handlebars::helpers::helper_log] post: [object], post.post_view.post.id:
Feb 11 04:05:10 sc-chat-01 lemmy_bb[153272]: [2023-02-11T03:05:10Z ERROR _] Handlebars: Error rendering "components/comment" line 14, col 40: Variable "post.post_view.post.id" not found in strict mode.
Feb 11 04:05:10 sc-chat-01 lemmy_bb[153272]: [2023-02-11T03:05:10Z ERROR _] Template 'comment_editor' failed to render.
Feb 11 04:05:10 sc-chat-01 lemmy_bb[153272]: [2023-02-11T03:05:10Z WARN  _] No 500 catcher registered. Using Rocket default.

Additional context

No response