Existing Streamlit Cloud app fails to clone private GitHub repository

Hello,

My existing Streamlit Community Cloud app stopped working after I pushed an update to GitHub.

The app had been working normally before this update.

Error message:

Failed to download the sources for repository:
doctor_relationship_system
Branch: main
Main module: app/app.py

What I have already verified:

  • The private GitHub repository exists.

  • The main branch exists.

  • The app/app.py file exists.

  • The latest commit is present on GitHub.

  • GitHub OAuth authorization for Streamlit is active.

  • Streamlit has permission to access private repositories.

  • The Streamlit deploy key exists and is read-only.

  • Rebooting the app did not resolve the issue.

Another Streamlit app under the same account is working normally.

Could you please investigate why Streamlit Community Cloud cannot clone this repository?

I would like to restore the existing app without deleting it or changing its URL.

Thank you for your help.

Thanks for the detailed checks. Since the failure occurs while cloning—before app/app.py runs—and you’ve verified the repository, branch, and access, the available information doesn’t identify a specific cause. Check Community Cloud’s current status and review the app’s Cloud logs; the docs identify logs as the primary troubleshooting place. For a private repo, Streamlit also requires the appropriate GitHub repository access and admin permissions to deploy.

Because you want to keep the existing app and URL, don’t delete or redeploy it as a troubleshooting step: changing app coordinates can affect administration access. If status is normal and the logs still show the clone failure, share the app URL (if accessible), full logs, and repo details privately with Streamlit support or in the forum; a minimum reproducible example can help community members investigate. (Manage your app, GitHub connection requirements)

Sources: