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?
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.