[09:39:47] 🚀 Starting up repository: 'adityamovierecco', branch: 'master', main module: 'app.py'
[09:39:47] 🐙 Cloning repository...
[09:39:49] 🐙 failed
[09:40:02] 🐙 failed
[09:40:14] 🐙 failed
[09:40:27] 🐙 failed
[09:40:39] 🐙 failed
[09:40:49] 🐙 Failed to download the sources for repository: 'adityamovierecco', branch: 'master', main module: 'app.py'
[09:40:49] 🐙 Make sure the repository and the branch exist and you have write access to it, and then reboot the app.
[09:42:27] ❗️ Streamlit server consistently failed status checks
[09:42:27] ❗️ Please fix the errors, push an update to the git repo, or reboot the app.
This is the issue that I am facing. I double checked my repository, and my app is working fine locally. In fact, my app was working fine on Streamlit Cloud before, but it went to sleep after 7 days. I tried deleting and re-running the app 2-3 times. That didn’t work either. How do I fix this?
Github repo link: adityank11/adityamovierecco (github.com) (app.py file is in the master branch)
Streamlit app link: Streamlit
Three times indeed, but I completely overlooked it. I forked and had the exact same issue when deploying. Then I made some changes in order to narrow down the issue, deleting and creating the application each time.
Made master the default branch, didn’t work.
Deleted the main branch, renamed master to main, didn’t work.
Deleted the .idea directory, didn’t work.
Deleted .gitattributes, the app was sucessfully deployed. I got an error unpickling movie_dict.pkl, but that is a different matter.
So apparently there is something about your .gitattributes that Streamlit Cloud doesn’t like.
The pickle files *.pkl are stored with Git LFS large file storage. AFAIK if you use Git LFS, the .gitattributes file is mandatory to track the files that are under Git LFS control. If you remove the .gitattributes file, this may lead to the unpickling error.
You need a .gitattributes file with at least this content:
Thanks for pointing that out! I finally found the source of my problem. My free tier usage of Git LFS has expired, due to which I am unable to host my app on Streamlit Cloud. (One of my pickle files is larger than 100 MB)
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.