Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backend not running (exit with 2) #83

Open
Oracleman200 opened this issue Mar 10, 2022 · 6 comments
Open

Backend not running (exit with 2) #83

Oracleman200 opened this issue Mar 10, 2022 · 6 comments

Comments

@Oracleman200
Copy link

I got the following error in the log

usage: gunicorn [OPTIONS] [APP_MODULE]

gunicorn: error: unrecognized arguments: --capture-output

@oraclegb
Copy link

I got the following error in the log

usage: gunicorn [OPTIONS] [APP_MODULE]

gunicorn: error: unrecognized arguments: --capture-output

@TheBestJohn
Copy link

TheBestJohn commented Mar 29, 2022

open the backend start_prod.sh and remove the --capture-output flag. It was only intended to "capture gunicorn stdout/stderr to the log file" as per benoitc/gunicorn#1271. Does not seem to be a process critical functionality for this application

@Gabi-Alex
Copy link

open the backend start_prod.sh and remove the --capture-output flag.

I did that, but the error message now is mrs-backend | gunicorn: error: unrecognized arguments:. It's the same, but without --capture-output after it.

@krisgesling
Copy link
Collaborator

I'm assuming there was a breaking change in the gunicorn package at some point. Have you tried rolling back a version?
eg

pip install gunicorn==20.0.4

@mgochmuradov
Copy link

I had the same problem on Windows, I guess this is because of the line ending on windows.
Workaround:
Recreate this file with the same content with Linux (WSL)

@RobinE89
Copy link

RobinE89 commented Oct 11, 2022

same problem under windows. actually docker should be the workaround for #87 .... now we are already at the workaround of the workaround
edit: thx @mgochmuradov -> this was working for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants