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.
Can you provide more details? With this specific error I really have no idea what is wrong, my best guess is that the nginx config is incomplete, since it sends everything to the ui and maybe there’s a path, like /api or something that should go to the backend instead? I just don’t know what on earth that path would be. If you’re using nginx mind sending me a redacted copy of your config for nginx? That might allow me to determine if something is wrong with mine… Thanks!
-Michael.
going to redo it with some different settings and see if it makes any difference, I’ll share once I’ve completed.
ugh, this is getting frustrating. I ran through the installation again just to end up where I ended up in the first place. Here’s my nginx configuration as lemmy.conf … maybe you can see something I don’t…
upstream lemmy { server lemmydocker.genesis-radio.net:8536; }
upstream lemmy-ui { server lemmydocker.genesis-radio.net:1234; }
server { listen 1236; listen 8536; server_name lemmydocker.genesis-radio.net; server_tokens off;
} _`
I don’t care if people see urls and crap as its a test server and im gonna break it down once I get it fully working anyway. Just doing this to clear up documentation issues. lol