this post was submitted on 06 Jul 2023
3 points (80.0% liked)

Lemmy Support

4654 readers
21 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

Hi, I'm following the Ansible setup instructions located here: https://github.com/LemmyNet/lemmy-ansible

When I run the ansible-playbook command, I get this error. It's very long and hard to read, but I think the error is related to nginx:

https://pastebin.com/VKvzHYad

Also, here's the output on my target machine when I check nginx status:

https://pastebin.com/JfkCA5kL

Any ideas on what I should do? After doing some Googling and asking ChatGPT, it looks like my issue might have something to do with IPv6 compatibility or something like that. Unfortunately I'm not very knowledgeable about networking stuff, so I'm not sure how to identify or fix the issue.

SOLUTION:

I solved the problem by commenting out the line listen [::]:80 in templates/nginx.conf, and also commenting out the same line on the target server in /etc/nginx/sites-available/default.

top 4 comments
sorted by: hot top controversial new old
[–] saint@group.lt 1 points 1 year ago (1 children)
[–] BurningnnTree@lemmy.one 1 points 1 year ago (1 children)

It's not working, I'm still getting the same error. I don't know why it's still complaining about [::]:80 even though I commented that part out. Do I need to perform some kind of cleanup on the target server?

[–] saint@group.lt 1 points 1 year ago (1 children)

you should run ansible playbooks again. also you could just try to remove the line from nginx config on the server.

[–] BurningnnTree@lemmy.one 2 points 1 year ago* (last edited 1 year ago)

I got it. In addition to commenting out the listen [::]:80 line in templates/nginx.conf, I also had to comment out the corresponding line on the server at /etc/nginx/sites-available/default. Thank you!!!

load more comments
view more: next ›