MycroftAI / mimic-recording-studio

Mimic Recording Studio is a Docker-based application you can install to record voice samples, which can then be trained into a TTS voice with Mimic2
Apache License 2.0
499 stars 116 forks source link

Backend not running (exit with 2) #83

Open Oracleman200 opened 2 years ago

Oracleman200 commented 2 years ago

I got the following error in the log

usage: gunicorn [OPTIONS] [APP_MODULE]

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

oraclegb commented 2 years ago

I got the following error in the log

usage: gunicorn [OPTIONS] [APP_MODULE]

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

TheBestJohn commented 2 years ago

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

Gabi-Alex commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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