Dokku:setuidgid:fatal:无法运行gunicorn:文件不存在

2024-05-23 22:50:29 发布

您现在位置:Python中文网/ 问答频道 /正文

我正试图在Dokku中运行我的应用程序

我得到这个错误:

5b188e740fcae5a5080e2ac498e6b93a593ae107e656c53e5df1d8c8e13948c8
remote:  !     App container failed to start!!
=====> lala web container output:
       setuidgid: fatal: unable to run gunicorn: file does not exist
       setuidgid: fatal: unable to run gunicorn: file does not exist
       setuidgid: fatal: unable to run gunicorn: file does not exist
       setuidgid: fatal: unable to run gunicorn: file does not exist
       setuidgid: fatal: unable to run gunicorn: file does not exist
       setuidgid: fatal: unable to run gunicorn: file does not exist
       setuidgid: fatal: unable to run gunicorn: file does not exist
=====> end lala web container output
remote: 2020/12/17 23:22:13 exit status 1
remote: 2020/12/17 23:22:13 exit status 1
remote: 2020/12/17 23:22:13 exit status 1
To coffee-and-sugar.club:lala
 ! [remote rejected] main -> master (pre-receive hook declined)

Tags: torunremotecontainerstatusexitnotfile
1条回答
网友
1楼 · 发布于 2024-05-23 22:50:29

我猜你有这样一个Procfile

web: gunicorn mysite.wsgi:application

我需要先安装python包

gunicorn添加到requirements.txt文件中

相关问题 更多 >