slashzero

joined 1 year ago
[–] slashzero@hakbox.social 2 points 1 year ago* (last edited 1 year ago)

Easy one to miss! The documentation isn’t very detailed. 🙂

[–] slashzero@hakbox.social 3 points 1 year ago (2 children)

What is your domain set to?

Also I think the !selfhosted@lemmy.world community might be a better place to ask for help.

[–] slashzero@hakbox.social 5 points 1 year ago

That’s most definitely a bug, in my opinion. Might want to file an issue on GitHub.

[–] slashzero@hakbox.social 1 points 1 year ago

Neat! I’ll definitely check this out.

[–] slashzero@hakbox.social 3 points 1 year ago* (last edited 1 year ago) (2 children)

Hi there!

TL;DR: probably have an nginx misconfiguration. Check the nginx logs for errors.


You don’t need to install and run nginx on the host. It has its own container in the docker-compose.yml which gets started up on docker-compose up -d

If both instances of nginx are trying to bind to the same port, one will start and one will fail.

Is the lemmy proxy nginx docker container running? Check with: docker ps or docker container ls. If the lemmy nginx proxy container isn’t running, try stopping the host instance of nginx (systemctl nginx stop) and restart docker lemmy (docker-compose down, docker-compose up -d), the try to access your site again.

[–] slashzero@hakbox.social 3 points 1 year ago* (last edited 1 year ago)

Oh, good idea! Whatever works for you. I spent several hours yesterday trying all sorts of networking hacks to resolve the issue on my instance. I eventually found a combination that worked for me.

The concern here is we are all solving this issue in slightly different ways on our self hosted instances. Eventually, I hope the lemmy dev team releases 0.18.1 fixing all these issues for good.

[–] slashzero@hakbox.social 3 points 1 year ago* (last edited 1 year ago) (2 children)

One other thing I did was update my resolve.conf so that valid DNS IPs were making it to the containers. Otherwise the containers might not have valid DNS. Also try rebooting your host.

Here is what I did to fix the container DNS lookups failing:

https://stackoverflow.com/questions/20430371/my-docker-container-has-no-internet

[–] slashzero@hakbox.social 3 points 1 year ago* (last edited 1 year ago)

Oh, this span builder error. Yeah I’ve been seeing that error since I upgraded to 0.18.0. Sorry, I don’t have a solution for this one.

Glad you figured out your pictrs error though! One other thing I did was update my resolve.conf so that valid DNS hosts were making it to the containers. Also try rebooting your host.

Feel free to add to this discussion. https://github.com/LemmyNet/lemmy/issues/3314

[–] slashzero@hakbox.social 2 points 1 year ago

Yay! Thank you for confirming

[–] slashzero@hakbox.social 3 points 1 year ago

Yay! Small victories

[–] slashzero@hakbox.social 1 points 1 year ago

Great write up!

[–] slashzero@hakbox.social 3 points 1 year ago* (last edited 1 year ago) (9 children)

Are you running lemmy 0.18.0? It breaks a bunch of internal network connectivity. The short term solution is to add an external network to both the lemmy-ui and pictrs containers, then you can change http://pictrs:8080 to http://your_domain.


Note: there are also some issues in 0.18.0 with comment federation at the moment. Please reply to confirm this comment was seen, thanks!

 

Hi,

My instance has been running for a day or so. In that time, three users have randomly shown up on my admin panel as Banned. There are no pending applications. What exactly are those users doing?

My first instinct was it was an issue with emails and signup as I didn't have email working properly at first, so I unbanned all three users. 🤷‍♂️

Was that a mistake? What does it mean? What could be causing it?

view more: next ›