Failing build: Failed to prepare repo

User: angry-gates-bead98

6:02:30 PM: Build ready to start
6:02:32 PM: build-image version: 9d79ad851d6eff3969322d6e5b1df3d597650c41
6:02:32 PM: build-image tag: v3.3.19
6:02:32 PM: buildbot version: 2cc7ea668a3e8f63326d15aab17e62cd1997fa2e
6:02:32 PM: Fetching cached dependencies
6:02:32 PM: Starting to download cache of 796.5MB
6:02:40 PM: Finished downloading cache in 8.033078805s
6:02:40 PM: Starting to extract cache
6:03:06 PM: Finished extracting cache in 26.051000196s
6:03:06 PM: Finished fetching cache in 34.274934026s
6:03:06 PM: Starting to prepare the repo for build
6:03:07 PM: Preparing Git Reference refs/heads/master
6:03:09 PM: Failing build: Failed to prepare repo
6:03:09 PM: Failed during stage 'preparing repo': exit status 1
6:03:09 PM: Finished processing build request in 36.978391295s

We have not included node_modules and have not mixed yarn and npm

It seems to happen every time we merge a PR into master and I have to login and click clear cache and redeploy every time.

hmm, preparing repo usually means that we are having trouble connecting to your git hosting for some reason, which is confusing because it does seem to work for you when you clear the cache and deploy :thinking:

Seems like you already checked this article, yes?

do you have the situation described in bullet point 6?

If not, let us know, and we’ll keep thinking.

Yes I checked the article 1st.

Not sure we are doing anything like point 6, its a regular docusaurus build, it seems to work most of the time and has only recently started failing on every merge to master.

Hi, @pross, there is a possible solution in progress for this (or at least for one root cause of this issue).

The update isn’t rolled out to all accounts yet (we’re testing) but I did enable it for this site’s account now.

Would you please test deploying again and let us know it works or not? If you do see the error again, please let us know.

Likewise, if this does fix the issue we loved to hear about that as well. If there are any questions, we’ll be happy to answer.

Hi @luke we’ve done 2 deploys today and both were successful, so whatever you did under the covers seems to have worked, thankyou! :slight_smile:

1 Like