this post was submitted on 27 Jun 2023
1 points (66.7% liked)

Lemmy Support

4660 readers
24 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] MWTab@lemmy.ml 1 points 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.