hello,

i tried to start a lemmy docker but have an error on Lemmy-ui

There was an error on the server. Try refreshing your browser. If that doesn't work, come back at a later time.

I have checked log in Lemmy-ui, there are

Lemmy-ui v0.19.2 started listening on http://0.0.0.0:1234 API error: FetchError: request to http://0.0.0.0:8536/api/v3/site? failed, reason: connect ECONNREFUSED 0.0.0.0:8536

what is the problem here?

  • Die4Ever@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    6 months ago

    What about the logs for lemmy? Also can you share your docker-compose.yml and lemmy.hjson? Make sure to redact the password from pictrs and postgres

    • Tony Trần@lemmy.worldOP
      link
      fedilink
      Tiếng Việt
      arrow-up
      1
      ·
      6 months ago

      I fixed it and it runs well by now. It weird when the lemmy-ui listen on 1234 but nginx proxy open port on 1236 and not listen on lemmy-ui on 1234