"tutor images build all" fails on "Step 20/101 : RUN git fetch --depth=2 https://github.com/ghassanmas/edx-platform/ ..."

I created a clone of my Lilac server to test upgrading it to Palm. I have done the following so far:

pip install --upgrade "tutor[full]"
tutor local stop
tutor config save
tutor images build all

The build all is failing with

Step 20/101 : RUN git fetch --depth=2 https://github.com/ghassanmas/edx-platform/ 91e7a0eb729f3e66587b154f5e4444dbe2414422 && git cherry-pick 91e7a0eb729f3e66587b154f5e4444dbe2414422
 ---> Running in 042063d5fa94
fatal: remote error: upload-pack: not our ref 91e7a0eb729f3e66587b154f5e4444dbe2414422
fatal: the remote end hung up unexpectedly
The command '/bin/sh -c git fetch --depth=2 https://github.com/ghassanmas/edx-platform/ 91e7a0eb729f3e66587b154f5e4444dbe2414422 && git cherry-pick 91e7a0eb729f3e66587b154f5e4444dbe2414422' returned a non-zero code: 128
Error: Command failed with status 128: docker build -t docker.io/overhangio/openedx:15.3.6 /home/ubuntu/.local/share/tutor/env/build/openedx

@ghassan any idea why this would be? (Since it seems to be trying to fetch something from your repository)

I don’t think you need to apply my commit fix: make bulk_email send email task handles a retryable exception · ghassanmas/edx-platform@91e7a0e · GitHub which aimed at resolving a bug before it release to Maple or Netumg. So if you were using this patch Bulk emails sending too fast causing gmail to block account. Is there a way to rate limit? - #8 by ghassan you shal disbale it in palm.

Secondaly, it has been recommended to upgrade one named release at time, it might work, but from my own expirence, I only succeded while upgrading one at a time.

Thank you. I had picked up stuff from that thread at some point, but I also thought I disabled that plugin before I started my upgrade process, but I must not have. Also thank you about the tip for upgrading only one named release at a time. That does seem like it’s probably more reliable, so I’ll try that too.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.