Repository import fails #78072
Replies: 5 comments
-
|
When troubleshooting a repository import failure on GitHub, here are some steps you can take to diagnose and resolve the issue:
Remember to provide as much information as possible when seeking help, including any error messages you've received and the actions you've tried. This will help support staff or the community to assist you more effectively. |
Beta Was this translation helpful? Give feedback.
-
|
I also had the same error , what I am suggesting you is most of the times it occurs due to low speed of the network connection, best thing is try to download it as a zip version or do a ssh local setup, or find a better network |
Beta Was this translation helpful? Give feedback.
-
|
The Odoo repository is very large, with a long commit history, many branches, and thousands of files, which often causes GitHub’s Importer to fail due to timeouts or memory limits. This happens because the importer service on GitHub has resource constraints and can struggle with projects of this scale. The failure emails you receive do not contain logs because GitHub does not provide public access to its internal import logs. To work around this, you can bypass the importer entirely by manually cloning and pushing the repository. First, clone Odoo locally using the mirror option to preserve all branches, tags, and commit history. After cloning, create an empty private repository on your GitHub account and push the mirrored content to it. This process avoids GitHub’s importer timeout and gives you full control over the transfer. If you do not need the complete history, you can perform a shallow clone with a limited commit depth to reduce the size and speed up the operation, then push only the branch you need. Using SSH instead of HTTPS can provide a more stable connection, especially on slower or less reliable networks. Make sure you are using a recent version of Git, as newer versions handle large repositories more efficiently. If you encounter persistent network interruptions, try disabling any firewall or antivirus temporarily. As a last resort, you can download the repository as a ZIP file from GitHub and initialize it as a new repository, though this method will not preserve the commit history. |
Beta Was this translation helpful? Give feedback.
-
|
add conquist |
Beta Was this translation helpful? Give feedback.
-
|
@stevelhanna did anyone of the answers solve this? I also recommend for large repositories to clone and push manually. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
I'm an open source newbie and trying this for the first time. Trying to import the Odoo/odoo public repository on github into my own private repository so I can do some development. It runs for about a couple of hours then I get an email saying that it failed. The is no log referenced in the email. I have told it to try again but it failed a second time. Have no idea where to look for diagnostic information. How do I troubleshoot this?
Beta Was this translation helpful? Give feedback.
All reactions