My app get stuck in the oven

My app gets stuck “in the oven”

  1. Locally it runs fine, it is deployed and online it doesn’t start

  2. a community cloud
    b https://tteconsultants.streamlit.app/

  3. https://github.com/TTEgit/TTE_Webapp/tree/main

  4. There is no error message. It just doesn’t start and get stuck “in the oven” forever.

  5. Python 3.11.14
    Streamlit, version 1.29.0

Hey there, thanks for sharing your question and all the details! :blush: If your Streamlit app runs fine locally but gets stuck “in the oven” (deployment never finishes) on Community Cloud, this usually points to issues with dependencies, file paths, or resource limits. Since you see no error message and the app never loads, it’s likely a deployment or configuration issue rather than a code bug.

Here are the most common causes and steps to resolve:

  1. Double-check your requirements.txt for typos, unnecessary standard library packages, or OS-specific packages (e.g., pywin32, which won’t install on Linux). Only include packages not in the Python standard library.
  2. Make sure all file paths in your code are relative and point to files included in your GitHub repo, not to local machine paths.
  3. If your app needs extra system packages (e.g., for image/video processing), add them to a packages.txt file in your repo.
  4. If your app is resource-intensive, it may exceed Community Cloud limits (2.7GB RAM, 2 CPU cores). Try simplifying the app or using caching (st.cache_data) to reduce memory usage.
  5. Sometimes, deployment can hang due to temporary platform issues—try rebooting or redeploying the app.

For more troubleshooting tips, see the official docs on deployment issues and resource limits. If you’re still stuck, please share a minimum reproducible example and your requirements.txt so the community can help debug further!

Sources:

I had no trouble with the app until this week. I didn’t change anything, but this week it won’t start anymore.

I just clicked to wake the app and it came up fine for me.

I had found the problem. I had to upgrade Python.