Recently we removed an organization member from our Github account and they had done the initial github integration. After the removal of the organization member, we can not deploy anymore as we are receiving the following error:
🚩 surein-live: Cannot find a folder in / in https://github.com/xxx/xxx.git at commit 13a7ff8c742183297a5afca7157017e7e56f2aa4.Either folder does exist at specified commit or user 'xxx' does not have access to this repository anymore. You can change owner of the repository in the application settings
We then tried to update the Git repository settings in the Application Settings. We can “CHANGE” the github repo to someone else from the organzation but when we reload the page, the git repository is still connected to the removed member, thus we can not deploy.
HOW TO REPRODUCE
- Create an application
- Connect via Github
- Remove the user from the Github Organization
- Go to Qovery Web Console | Deploy and Manage On-demand Environments on AWS, Remarkably Fast, click on Settings and Connect the git repository to the new person
- Refresh the page
- Once you open Settings again, you will see that it is not updated and trying to redeploy throws the same Deployment Error.
The actual application id we are having this problem is: