最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

deployment - Deploy logs "--error-logfile--log-file" railway with django - Stack Overflow

programmeradmin2浏览0评论

I'm deploying my django app for the very first time on railway. On railways in the project deployment details I see: enter image description here However when I go in the deploy logs I see this error "gunicorn: error: argument --error-logfile/--log-file: expected one argument usage: gunicorn [OPTIONS] [APP_MODULE]" : enter image description here

It seems that the issue comes from the Procfile: My ProcFile contains: web: gunicorn telecom_tracker.telco_tracker.wsgi I tried several alternative but still get the same issue.

My project follows the following structure: enter image description here

Any idea what could be the bug root ? thanks in advance !!

I'm deploying my django app for the very first time on railway. On railways in the project deployment details I see: enter image description here However when I go in the deploy logs I see this error "gunicorn: error: argument --error-logfile/--log-file: expected one argument usage: gunicorn [OPTIONS] [APP_MODULE]" : enter image description here

It seems that the issue comes from the Procfile: My ProcFile contains: web: gunicorn telecom_tracker.telco_tracker.wsgi I tried several alternative but still get the same issue.

My project follows the following structure: enter image description here

Any idea what could be the bug root ? thanks in advance !!

Share Improve this question asked Mar 19 at 12:54 LéoLéo 1 1
  • Please provide enough code so others can better understand or reproduce the problem. – Community Bot Commented Apr 1 at 8:09
Add a comment  | 

1 Answer 1

Reset to default 0

Can you remove the Procfile and redeploy? Railway will automatically build it and run it with gunicorn.

发布评论

评论列表(0)

  1. 暂无评论