When I checked on the dashboard this morning to reboot due to an existing error, after rebooting streamlit could not connect to the repo and I receive this error. (I had not made any changes to the app’s code on the main branch of my repo in a week.)
I believe it’s related to Streamlit updates because, as of this morning that I’ve seen, I now have to choose a Workspace when creating dashboards in the Streamlit app. So, all the dashboards are under my organization Workspace instead of my name. I’m not sure if that changes the app’s permissions level?
I’ll add for more context, this might all be expected, but when I first rebooted and received the error, I was able to still see Streamlit’s public deploy key for the main branch in my repo settings. After deleting and recreating the app, the public deploy key was removed and has not been re-added.
I have 3 dashboards linked to the same repo. main, develop, and a feature branch.
I rebooted main, I receive this error. I delete and recreate main, and I receive this error. Public deploy key was removed from repo.
Feature branch I left alone and it worked fine until this morning when I tested rebooting it. It now has the above error. Public deploy key is still visible in repo.
Develop I have not touched. It is still running normally.
So, this issue definitely comes up only when rebooting or restarting the app. Existing apps work fine for me.
One more bit that may be useful. I pushed changes to the main branch in my repo. Streamlit then tried to pick up these changes and provided the below error:
[manager] Git pull failed: Git pull, cmd: sudo -u appuser git fetch origin && git reset --hard origin/main: error: exit status 128: fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
I also received the following error code. This one was occurring in the feature branch I mentioned above
Please make sure you have the correct access rights
and the repository exists.
[manager] Cloning into 'modeled-survival-dashboard'...
Load key "/home/appuser/.ssh/id_github": invalid format
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
In my repository, the public key for the feature branch did exist.
I manually deleted the deploy key from my repo, rebooted the app, and it is now working!
Then, to get main back up, which did not have a public key in my repo, I deleted and recreated the app. And it now works! I am not sure why, I did not follow any steps differently than in previous days.
@Charly_Wargnier are you aware of any updates the team did over the weekend to help resolve this?
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.