全部文章
Getting Started
What is CICDoo "Getting started: the onboarding wizard" The Dashboard and Infrastructure MapConcepts
Production, staging and development stages Domains, subdomains and SSL Odoo versions and editions (Community vs Enterprise) Workspaces and team collaborationServers
Adding a server Server domains and DNS Using a load balancer "Server actions: deploy, logs and charts"Projects & Git
Creating a project Connecting GitHub Connecting GitLab Branches and instancesInstances & Console
Creating an instance Restarting, stopping and removing an instance Merging branches between stages Web IDE and remote access Instance settings explained Deployments and the job queueMonitoring & Backups
Monitoring your instance Backups and restore Alert notifications (email and SMS)Workspaces & Permissions
Inviting workspace members Member permissions and resource access A member cannot see or use a resourceAccount & Security
Two-factor authentication (2FA) Profile and integrations settings Passwords and account recoveryBilling & Plans
"Plans: Free, Pro and Enterprise" Upgrading and managing your subscription What happens when you hit a plan limitSupport & Tickets
Opening a support ticket Getting help from the CICDoo teamTroubleshooting
"Troubleshooting: cannot connect a server" "Troubleshooting: a deployment failed" "Troubleshooting: git push fails with 403 after moving a repository" "Troubleshooting: my instance is down or slow" "Troubleshooting: domain or SSL problems"故障排查
"Troubleshooting: git push fails with 403 after moving a repository"
Why push returns 403 after you transfer or rename a GitHub repository, and how to repoint it with Re-sync from GitHub so pushes work again.
Why fetch works but push fails
When you transfer a repository to an organization (or rename it) on GitHub, the old owner/repo path still exists as a redirect. GitHub quietly forwards fetch and clone to the new location, so pulls keep working and everything looks fine, until you push.
Push is not redirected. GitHub rejects a push to the old path with a 403 (permission denied), because CICDoo and your instance still have the old owner stored as the remote. The fix is to point CICDoo at the new owner and let your instances pick up the change.
Fix the main repository
- Open the project and go to Settings, then the GitHub tab.
- The Repository field is read-only on purpose. Click Re-sync from GitHub: CICDoo asks GitHub for the repository's current name and updates the owner automatically. The field refreshes to the new
owner/repo. - Restart each instance of the project. On restart, the instance repoints its checkout to the new owner. Your files and uncommitted changes in the editor are left untouched, only the remote URL changes. See Restarting, stopping and removing an instance.
After the restart, run your push again from the editor terminal. It should succeed instead of returning 403.
Submodules and Extra Repositories
If it was a submodule (an entry in Extra Repositories) that moved, you usually do not have to do anything: a running instance detects the move and repoints that submodule on its own within about ten seconds, so the next push works.
If the submodule lives on a non-GitHub host, or you would rather be explicit, edit its URL in the instance Settings, on the Odoo sub-tab under Extra Repositories, and restart the instance. Submodules are re-cloned from that list on every restart, so the new URL takes effect immediately. See Instance settings explained.
If Re-sync cannot find the repository
Re-sync uses the GitHub token connected for the repository owner. If the token no longer has access to the moved repository (for example it was transferred to an organization the token cannot see), Re-sync reports that it could not find the repository. Reconnect GitHub or grant the token access to the new owner, then try again. See Connecting GitHub.
If you get stuck, open a support ticket from the Tickets page or the chat widget.
仍未解决?在应用中提交工单,或与工程师沟通。