I'm working on an idea to improve comment sorting and I need to be able to get Lemmy running from source so I can implement and test it.
Right now I'm stuck on a fairly basic (I hope) problem.
I'm mostly following https://join-lemmy.org/docs/administration/from_scratch.html
I'm running it on Debian instead of Ubuntu but I don't think that's the problem. (specifically a t2.small with the AWS Debian image).
I'm also using 0.18.4 instead of 0.18.2.
I also haven't (yet) done the possibly optional step of editing postgres config to allow password authentication instead of peer authentication.
Everything seems fine until I start Lemmy. After I run
systemctl enable lemmy; systemctl start lemmy
I try
curl -I localhost:8536/api/0.18.4/site
But I get:
HTTP/1.1 404 Not Found
content-length: 0
vary: Origin, Access-Control-Request-Method, Access-Control-Request-Headers
date: Wed, 27 Sep 2023 17:51:51 GMT
When I check
journalctl -u lemmy
It does contain:
Starting http server at 127.0.0.1:8536
There are still a bunch of things I'll be trying but I wanted to check if this is a well known problem with a simple solution.
Well hot damn. It worked!
Thanks.
Now I'm off to follow the rest of the steps. Wish me luck.