I got my Lemmy server up and running locally yesterday yay (I set up some subs and test-posted), but today I must have tinkered with something because now the server only shows "Server error" (check code block 1 below for the server log).
Checking the logs, it seems it can't "load" the site thumbnail. Curiously if I ask for it in firefox:
I don't really know, from FF it just blurts out the "Server error" (and keeps running). Is there some way I can test some API command from the commandline, or from the web maybe?
Can it be so that the lemmy docker server tries to hit up pictrs on ssl?
That's why I'm trying to get you to just fetch routine stuff that doesn't involve picts.
Is the communities fetch giving you the failure with https? Then it's likely your proxy config, nginx. Server ins't setup right. I also suggest you try the API test of communities from various points, such as your workstation machine (outside the server), just so we aren't confused on context of within the docker or something.
Is the communities fetch giving you the failure with https?
Yep everything fails with https.
I'll try to validate my nginx.conf file and the nginx_internal.conf and see if I can figure what's wrong, nginx is all new for me ...
At the moment, I'm just trying to make it run locally, but your idea is great and I sure will use it when things start to roll! I mean if I ever get it to work locally :-)
At the moment, I’m just trying to make it run locally, but your idea is great and I sure will use it when things start to roll! I mean if I ever get it to work locally :-)
Well, it may be failing ONLY locally on the server, that's why I emphasize to test remotely. As you may be bypassing nginx which does the SSL to non-SSL translation.
Seems very reasonable, I checked it out, but it's the exact same problem (after I forwarded the 443 port too. BTW I haven't tinkered with the ssl port);
ok, based on those test results (which they work for me too)... then your lemmy_server is running, the API engine is responding, giving me the list of communities.
You could, at this point, try another client - a smartphone client - and see if you can use your server?
The front-page https://lemmy.mindoki.com not working is the lemmy-ui service not talking to the backend (which is what your logs in the post show). I don't use Docker, so I'm not very good at figuring out how to get the two to talk together. But if a smartphone client works for you, then you know it's lemmy-ui that's your only real issue.
I can post, upload images, ... Only thing is I can't see my first posts image I posted yesterday locally (here from my smartphone). A bit like the server can't get the logo image (again posted yesterday).
Thank you for all these precious advices, I'm off to bed now but tomorrow is another day hopefully filled with lemmy-ui tweaking :-)
SSL works by hostname, not by IP address... so your test isn't valid to be using SSL. Nginx does the conversion (proxy) of SSL to non-SSL in Lemmy setups. EDIT: unless you are using SSL on port 1236, a setup I'm not familiar with.