Hi,

I’ve been trying to host my own lemmy instance for a while. i’ve almost got it working (i think). But my problem now is that whenever i try to post something with a picture i get an error SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data. In firefox i get a 502 bad gateway error pointing to https://lemmy.emphisia.nl/pictrs/image I don’t really know why because everything seems to be working

  • poVoqA
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Well, did you try changing the 8080 port to rule that out?

    • youpie_temp@reddthat.comOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 year ago

      hmm after looking i dont even see an option to change the port (in pictrs). it seems stuck at 8080, but since its running on its own network, i doubt it would matter.

      • poVoqA
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        just change the port the container exposes, like -p 8081:8080