0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

uwsgi.iniでno python application found, check your startup logs for errors エラー

Last updated at Posted at 2024-06-27

経緯

前はそのままでも起動できていたのに、logにno python application found, check your startup logs for errorsと表示される。

解決策 1

chdirで、作業するディレクトリを指定
moduleを下記に設定applicationは、自分のアプリケーションファイルを指定。

[uwsgi]
chdir = /var/www/path/to/dir
module = application.uwsgi:application

解決策 2

上記の設定で直しても同じエラーが出る場合は、アプリケーションファイル自体にエラーが出ていることが多いので、
ファイルのエラーを治すとうまくいく。

参考文献

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?