It was an ansible install, but you are right, I modified the config a ton (tryin to make it work).
I’ll wipe the VM, reinstall with an unedited config, and go from there. Thank you
It was an ansible install, but you are right, I modified the config a ton (tryin to make it work).
I’ll wipe the VM, reinstall with an unedited config, and go from there. Thank you
Thank you for the reply. I updated the 3 docs to paste bin.
You’re right because if I curl localhost (while SSHed into the server), it shows the NGINX setup page.
“If you see this page, the nginx web server is successfully installed and
working. Further configuration is required.”
Could be an issue with the NGINX config (I’m not sure which port mappings to change)
For example, this section:
# frontend
location / {
# The default ports:
# lemmy_ui_port: 1235
# lemmy_port: 8536
set $proxpass "http://0.0.0.0:29201";
if ($http_accept ~ "^application/.*$") {
set $proxpass "http://0.0.0.0:17161";
}
if ($request_method = POST) {
set $proxpass "http://0.0.0.0:17161";
}
Am I meant to change those ports?
And is # lemmy_ui_port: 1235
and # lemmy_port: 8536
just listed for reference (or am I meant to add those elements)?
Thank you again.
Here are the new pastebin links:
Nginx config (/etc/nginx/sites-enabled/ggg.com.conf)
I would still create an issue if you like.
Dessa the rev,
I did a FRESH lemmy-ansible install on a new VPS.
Homepage shows the same UI and error message:
Clicking “Login” or “Sign Up” gives the same error:
And the same docker error:
I haven’t modified anything - it is still a fresh ansible-install.
Here are the configs/logs for this NEW lemmy instance (pretty-fied).
DOCKER ERROR LOG
DOCKER-COMPOSE.YML
LEMMY CONFIG
NGINX CONFIG (/etc/nginx/sites-enabled/ggg.com.conf)
iptables
I haven’t changed anything (database / ports / config) beyond what ansible did.
If you have a chance to consider this, I am very grateful.
I've read all the docs and I don't know what else to try.
NOTE: The GOOD news is - I’m making a “Lemmy Install for Noobs” guide as I go (detailing every small step)....
When I finally get Lemmy running, I’ll share the guide for community review/benefit.