Streamlit not updating automatically from Github anymore

As title, since yesterday I noticed that my app is not updating automatically after I push it to Github anymore.

I have to reboot the app on share.streamlit.io

Am I missing something?

Thanks,
Joao

Hey @joaocassis,

From my understanding that shouldn’t happen, and I don’t believe any recent updates were made that would have stopped this functionality.

Can you send me:

  • Your operating system and version
  • Your pip/conda version
  • Streamlit version
  • Link to your github repo you deployed from
  • Link to your deployed app
  • The email associated with your sharing account

I will send this on to the team and see what’s happening here.

Happy Streamlit-ing!
Marisa

Hello,

  • Your operating system and version
  • macOS 11.4
  • Your pip/conda version
  • pip: 21.1.2
  • Streamlit version
  • 0.83.0
  • Link to your github repo you deployed from
  • Link to your deployed app
  • The email associated with your sharing account

It happened three times yesterday.
Haven’t checked again today.
Thank you for your help.
Joao

2 Likes

Hey @joaocassis,

Thanks for the info I just passed this along and we will get back to you as soon as possible!

Happy Streamlit-ing!
Marisa

Thank you.

I just tried again today, and still with same behaviour.
I will wait for your feedback.
Joao

Hey @joaocassis,

what time did you try again this morning, the team is hoping to get a time for the last commit you made to Github and the commit label (the alphanumeric name of the commit like cbba90 etc…)

And, this morning did you reboot the app to see the commits you made, approximately how long after you made the commit did you wait to reboot the app?

Happy Streamlit-ing!
Marisa

About 3h ago.

I waited between a few minutes and a few hours (I knew because someone else noticed me it was not updated, I just assumed it was).
Joao

2 Likes

@joaocassis,

Could you send “webhook” delivery log?
On their github repository, they should be able to navigate to their Settings → Webhooks → clock on https://share.streamlit.io/hook and open the Deliveries tab. There should be something like this:

I have 4 web hooks.
Should I post them all here? Is there any sensitive information?
Thanks

Hey @joaocassis,

Sorry for my delay I was off for a long weekend!

I don’t think they have any sensitive info, but you can always email them to me if you wish: marisa@streamlit.io

Happy Streamlit-ing!
Marisa

Hey @joaocassis,

Can you try one thing for me? Would you be able to make a copy of your project and create a new Github repo with that to test if you still have the same problem?

We have an idea of what this might be and this would help answer that question! Deploy your app from the new repo and then make a commit but don’t reboot the app.

Once you have done that if you can send me the same info before (link to the new test repo and the webhooks) that would be greatly appreciated!

Happy Streamlit-ing!
Marisa

Hello Marisa,

Thank you for getting back to me.

Indeed, I created a test repository and it was syncing normally and a relinked to the original one and sure enough now it is now syncing normally too.

I will send the info to your mail.

Thanks again :slightly_smiling_face:

1 Like

I have the same problem since this day at https://share.streamlit.io/rcsmit/covidcases/main/covid_menu_streamlit.py (GitHub - rcsmit/COVIDcases: 10+ scripts about the COVID-statistics in the Netherlands, accessibile at https://share.streamlit.io/rcsmit/covidcases/main/covid_menu_streamlit.py)

I have been having the same issue and have just found the solution for any who has this in the future. Streamlit updates from the repo path you gave it when you deployed the app. If you change the repo name it will not update. Change the repo name back to what it was during deploy and problem should be solved.

1 Like

This is a good point. Given that the URL you are cloning from is set once at the beginning, if you change your username or the repo, you might need to delete and re-deploy as these types of changes are hard to defend against on our side.