Hiya,

I’ve mostly successfully installed lemmy from source, but I’ve got one problem. When going to my lemmy instance /setup to create an admin account, when pressing the button, I get a message saying unexpect doctype html invalid json. I don’t know what I’m doing wrong, I followed the installing from source guide, replacing the ui checkout from git with 0.18.0 rather than 0.16.7 as mentioned in the guide. It seems to me that something is pointing to the ui, rather than the backend, but I cannot see where that might be. Anyone experienced this before? Any help?

Thanks!

-Michael.

  • MWTabOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Where can I find a (hopefully) working nginx config? I got mine from wherever the doc told me to, which considering it was recommending 0.16.7 for the ui might be out of date.

    • MWTabOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Looks like the latest from the ansible repo is basically the same as the one I have, minus replacing the {{variable name}} things. So perhaps I have the environment variables wrong somehow? Here are the relevant environment variables:

      Environment=LEMMY_UI_LEMMY_INTERNAL_HOST=127.0.0.1:8536

      Environment=LEMMY_UI_HOST=127.0.0.1:1234

      -Michael.