EDIT: Streamlit cloud is still refreshing and not deploying despite having selected the correct file.
Hi everyone! I’m having an issue deploying my multipage app on the streamlit cloud.
I have the main page (Welcome.py) in my root folder and the other pages in the pages folder.
When prompted to select the main file path, I am unable to select Welcome.py.
From the gif you’ve shared, and the URL in it, it looks like you’ve deployed the pages/2_Overview.py file instead of Welcome.py Regardless, the page refreshes shouldn’t be happening. I’ll relay this issue to the team.
In the interim, I would suggest creating another repo with the same content and deploying from the new repo. I was able to deploy Welcome.py from a fork of yours.
Thanks for your patience. The redirect loop can happen due to mismatched sessions / cookies. Could you try signing out from share.streamlit.io and sign in again and see if that helps?
The main issue i am facing is while deploying the multi-page application i have uploaded all the necessary stuff needed on github and linked the repository. Now when the application is deployed i am unable to see any of the pages on the side bar. Please help me in getting this. I am using share.streamlit.io for deploying it
Welcome to the Streamlit forum! Please take a moment to read through our guidelines on how to post an effective question on the forum and, in particular, please share the link to your public Streamlit Cloud app, GitHub repo, and the specific error message you’re seeing.
I am not experiencing any of the message but the main issues is that i have made a streamlit multi-page app by creating folder within another folder as specified in this streamlit docs: - Create a multipage app - Streamlit Docs
But after deployment there is no content on the sidebar where as if i run the application on the local host in streamlit there is showing a sidebar with multiple pages option
@ritik27-santosh11 Your app’s pages should live in a pages directory or folder. It looks like you’ve capitalized it to Pages instead.
Once you rename the Pages folder in GitHub to pages and either reboot your app or delete the app on Cloud and redeploy it, the pages should show up in the MPA sidebar
I am encountering the same issue. When I run the app locally I see other pages on the sidebar but after deploying the app, I only see the Home page which is Home.py root file. The ‘P’ in pages is also in lower case. Can you please help me solve the issue?