Coder Social home page Coder Social logo

Comments (11)

dessalines avatar dessalines commented on June 18, 2024

@Nutomic have you ever run into this before?

from lemmy-ansible.

pixlguru avatar pixlguru commented on June 18, 2024

problem solved, seems the old
/etc/nginx/sites-enabled/lemmy.conf
was conflicting with a new
/etc/nginx/sites-enabled/<your-domain>.conf

from lemmy-ansible.

Nutomic avatar Nutomic commented on June 18, 2024

You're right, and everyone that switches from the previous playbook to this one will run into the same problem. Maybe we should add an ansible task which removes that file (or moves it to sites-available).

from lemmy-ansible.

spa086 avatar spa086 commented on June 18, 2024

In new install have a some problem.

fatal: [[email protected]]: FAILED! => {"changed": true, "cmd": "nginx -s reload", "delta": "0:00:00.072777", "end": "2021-11-04 19:07:41.321895", "msg": "non-zero return code", "rc": 1, "start": "2021-11-04 19:07:41.249118", "stderr": "nginx: [emerg] unknown log format "main" in /etc/nginx/sites-enabled/fwz.ru.conf:117", "stderr_lines": ["nginx: [emerg] unknown log format "main" in /etc/nginx/sites-enabled/loc.org.conf:117"], "stdout": "", "stdout_lines": []}

What should i do?

from lemmy-ansible.

Nutomic avatar Nutomic commented on June 18, 2024

@spa086 Your errors look different, it seems like there is something wrong in the two files it mentions (fwz.ru.conf and loc.org.conf). Either delete them, or move them somewhere else (eg sites-available, then they will be ignored).

from lemmy-ansible.

pixlguru avatar pixlguru commented on June 18, 2024

@spa086 @Nutomic
["nginx: [emerg] unknown log format "main"
check
/templates/nginx.conf
lines 115 & 117
lemmy_main vs. main

from lemmy-ansible.

spa086 avatar spa086 commented on June 18, 2024

@Nutomic
fatal: [[email protected]]: FAILED! => {"changed": true, "cmd": "nginx -s reload", "delta": "0:00:00.069230", "end": "2021-11-05 06:22:19.782802", "msg": "non-zero return code", "rc": 1, "start": "2021-11-05 06:22:19.713572", "stderr": "nginx: [emerg] unknown log format "main" in /etc/nginx/sites-enabled/fwz.ru.conf:117", "stderr_lines": ["nginx: [emerg] unknown log format "main" in /etc/nginx/sites-enabled/fwz.ru.conf:117"], "stdout": "", "stdout_lines": []}

Was try to install in new vps, but the same problem.

@pixlguru
thx, will check.

from lemmy-ansible.

spa086 avatar spa086 commented on June 18, 2024

@pixlguru you was right, installation finished ok. But now, when accessing the server, a 502 bad gateway error

from lemmy-ansible.

pixlguru avatar pixlguru commented on June 18, 2024

@spa086
if i remember correctly, there were some other tweaks necessary,
like docker volumes paths changed and old containers had to be removed,
good luck!

from lemmy-ansible.

dessalines avatar dessalines commented on June 18, 2024

Please let me know if there's anything missing, so I can document them on the migration section of this readme.

from lemmy-ansible.

applelhf avatar applelhf commented on June 18, 2024

@spa086
if i remember correctly, there were some other tweaks necessary,
like docker volumes paths changed and old containers had to be removed,
good luck!

Hello, my error is also 502 bad gateway error, but I did not find a solution. Can you tell me which need to be changed please? my email is [email protected]

from lemmy-ansible.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.