# Tutor v17.0.0 error: no python application found, check your startup logs for errors

**URL:** <https://discuss.openedx.org/t/tutor-v17-0-0-error-no-python-application-found-check-your-startup-logs-for-errors/12098>\
**Category:** Site Operations Help\
**Tags:** tutor, k8s\
**Created:** [January 16, 2024, 7:18am UTC](https://discuss.openedx.org/t/tutor-v17-0-0-error-no-python-application-found-check-your-startup-logs-for-errors/12098 "2024-01-16T07:18:34Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anh\_Vu\_Nguy\_n](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/anh_vu_nguy_n/32/1740_2.png) [@Anh\_Vu\_Nguy\_n](https://discuss.openedx.org/u/Anh_Vu_Nguy_n)\
**Post date:** [January 16, 2024, 7:18am UTC](https://discuss.openedx.org/t/tutor-v17-0-0-error-no-python-application-found-check-your-startup-logs-for-errors/12098/1 "2024-01-16T07:18:34Z")

</div>

I’m using tutor v17 and [tutor-contrib-pod-autoscaling](https://github.com/eduNEXT/tutor-contrib-pod-autoscaling).  
I kept getting error status with code 500.  
Sometimes I could load LMS pages, sometimes I could not, 9 of 10 times I couldn’t.  
I tried to check everything.  
mongodb and mysql was running fine.  
worker node storage had alot of free space.  
worker nodes usage was low (\<50% CPU and Memory).

All pods were running, one or two of them have status CrashLoopBackup, but there was more than one pod running.  
I tried tutor k8s logs and the only error that I saw was:  
**“no python application found, check your startup logs for errors”**  
The number of users was low at that time, around 40 users/min.  
Honestly, I have no idea what happened and what next to do.

I reverted to tutor v16.1.7 and it kind of running fine

---

<div class="post-metadata">

**Author:** ![Syed\_Muhammad\_Dawoud](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/syed_muhammad_dawoud/32/6313_2.png) [@Syed\_Muhammad\_Dawoud](https://discuss.openedx.org/u/Syed_Muhammad_Dawoud)\
**Post date:** [January 16, 2024, 7:26am UTC](https://discuss.openedx.org/t/tutor-v17-0-0-error-no-python-application-found-check-your-startup-logs-for-errors/12098/2 "2024-01-16T07:26:36Z")

</div>

Are you running this locally via minikube or on a deployment? If local, how much CPU and memory were assigned to the cluster?

---

<div class="post-metadata">

**Author:** ![Anh\_Vu\_Nguy\_n](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/anh_vu_nguy_n/32/1740_2.png) [@Anh\_Vu\_Nguy\_n](https://discuss.openedx.org/u/Anh_Vu_Nguy_n)\
**Post date:** [January 16, 2024, 7:38am UTC](https://discuss.openedx.org/t/tutor-v17-0-0-error-no-python-application-found-check-your-startup-logs-for-errors/12098/3 "2024-01-16T07:38:26Z")

</div>

@Syed_Muhammad_Dawoud  
I’m using aws EKS, running on production, I have 2 worker nodes, each with 4CPU and 16GB RAM

---

<div class="post-metadata">

**Author:** ![Anh\_Vu\_Nguy\_n](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/anh_vu_nguy_n/32/1740_2.png) [@Anh\_Vu\_Nguy\_n](https://discuss.openedx.org/u/Anh_Vu_Nguy_n)\
**Post date:** [January 17, 2024, 7:32am UTC](https://discuss.openedx.org/t/tutor-v17-0-0-error-no-python-application-found-check-your-startup-logs-for-errors/12098/4 "2024-01-17T07:32:55Z")

</div>

Searching a bit on Google and found it might relate to uWSGI, still checking changes between 16.17 and 17.0.0

---

<div class="post-metadata">

**Author:** ![Syed\_Muhammad\_Dawoud](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/syed_muhammad_dawoud/32/6313_2.png) [@Syed\_Muhammad\_Dawoud](https://discuss.openedx.org/u/Syed_Muhammad_Dawoud)\
**Post date:** [January 17, 2024, 10:36am UTC](https://discuss.openedx.org/t/tutor-v17-0-0-error-no-python-application-found-check-your-startup-logs-for-errors/12098/5 "2024-01-17T10:36:23Z")

</div>

Ah, interesting. Can you share the references/links?

---

<div class="post-metadata">

**Author:** ![Anh\_Vu\_Nguy\_n](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/anh_vu_nguy_n/32/1740_2.png) [@Anh\_Vu\_Nguy\_n](https://discuss.openedx.org/u/Anh_Vu_Nguy_n)\
**Post date:** [January 18, 2024, 7:11am UTC](https://discuss.openedx.org/t/tutor-v17-0-0-error-no-python-application-found-check-your-startup-logs-for-errors/12098/6 "2024-01-18T07:11:58Z")

</div>

I just copy the error **“no python application found, check your startup logs for errors”** and paste it to google, most of the top results relate to uWSGI. Here is one: [nginx - uWSGI / Flask: "no python application found, check your startup logs for errors" - Stack Overflow](https://stackoverflow.com/questions/50305654/uwsgi-flask-no-python-application-found-check-your-startup-logs-for-errors)

---

<div class="post-metadata">

**Author:** ![Anh\_Vu\_Nguy\_n](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/anh_vu_nguy_n/32/1740_2.png) [@Anh\_Vu\_Nguy\_n](https://discuss.openedx.org/u/Anh_Vu_Nguy_n)\
**Post date:** [January 22, 2024, 9:06pm UTC](https://discuss.openedx.org/t/tutor-v17-0-0-error-no-python-application-found-check-your-startup-logs-for-errors/12098/7 "2024-01-22T21:06:37Z")

</div>

Still not sure what was the root cause, but killing worker nodes and replacing them with new ones did fix everything.  
The old worker nodes were in Ready state and healthy though.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/openedx/original/2X/e/e0015f89e879bc75925b71fd11133ab15fe98297.png) [@system](https://discuss.openedx.org/u/system)\
**Post date:** [April 21, 2024, 9:07pm UTC](https://discuss.openedx.org/t/tutor-v17-0-0-error-no-python-application-found-check-your-startup-logs-for-errors/12098/8 "2024-04-21T21:07:24Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
