mimic-recording-studio icon indicating copy to clipboard operation
mimic-recording-studio copied to clipboard

Backend not running (exit with 2)

Open Oracleman200 opened this issue 2 years ago • 6 comments

I got the following error in the log

usage: gunicorn [OPTIONS] [APP_MODULE]

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

Oracleman200 avatar Mar 10 '22 02:03 Oracleman200

I got the following error in the log

usage: gunicorn [OPTIONS] [APP_MODULE]

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

oraclegb avatar Mar 11 '22 00:03 oraclegb

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 https://github.com/benoitc/gunicorn/issues/1271. Does not seem to be a process critical functionality for this application

TheBestJohn avatar Mar 29 '22 20:03 TheBestJohn

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.

Gabi-Alex avatar Aug 07 '22 13:08 Gabi-Alex

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

krisgesling avatar Aug 08 '22 06:08 krisgesling

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)

mgochmuradov avatar Sep 08 '22 04:09 mgochmuradov

same problem under windows. actually docker should be the workaround for https://github.com/MycroftAI/mimic-recording-studio/issues/87 .... now we are already at the workaround of the workaround edit: thx @mgochmuradov -> this was working for me

RobinE89 avatar Oct 11 '22 09:10 RobinE89