this post was submitted on 06 Jul 2023
2 points (75.0% liked)

Lemmy Support

4654 readers
16 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.

you are viewing a single comment's thread
view the rest of the comments
[–] 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!!!