Nutmeg "tutor images build openedx" fails due to django git fetch error

I was doing tutor images build openedx as specified in this thread in order to get the markdown plugin installed on a tutor Nutmeg instance that I’m trying to set up fresh to move my data over to. When I do this, I get an error where it fails the build because git fetch -q https://github.com/edx/django-require.git 0c54adb167142383b26ea6b3edecc3211822a776 cannot complete successfully. Full context below. But @regis does this mean that tutor images build openedx is now broken on Nutmeg (in the same way other stuff broke in the past?)

19.50 Obtaining xblock-google-drive from git+https://github.com/edx-solutions/xblock-google-drive.git@2d176468e33c0713c911b563f8f65f7cf232f5b6#egg=xblock-google-drive (from -r ./requirements/edx/base.txt (line 31))
19.50   Cloning https://github.com/edx-solutions/xblock-google-drive.git (to revision 2d176468e33c0713c911b563f8f65f7cf232f5b6) to /openedx/venv/src/xblock-google-drive
19.51   Running command git clone --filter=blob:none --quiet https://github.com/edx-solutions/xblock-google-drive.git /openedx/venv/src/xblock-google-drive
19.83   Running command git rev-parse -q --verify 'sha^2d176468e33c0713c911b563f8f65f7cf232f5b6'
19.84   Running command git fetch -q https://github.com/edx-solutions/xblock-google-drive.git 2d176468e33c0713c911b563f8f65f7cf232f5b6
19.95   Running command git checkout -q 2d176468e33c0713c911b563f8f65f7cf232f5b6
20.10   Resolved https://github.com/edx-solutions/xblock-google-drive.git to commit 2d176468e33c0713c911b563f8f65f7cf232f5b6
20.10   Preparing metadata (setup.py): started
21.44   Preparing metadata (setup.py): finished with status 'done'
21.44 Obtaining file:///openedx/edx-platform/common/lib/xmodule (from -r ./requirements/edx/base.txt (line 33))
21.44   Preparing metadata (setup.py): started
22.77   Preparing metadata (setup.py): finished with status 'done'
22.79 Collecting django-require@ git+https://github.com/edx/django-require.git@0c54adb167142383b26ea6b3edecc3211822a776
22.79   Cloning https://github.com/edx/django-require.git (to revision 0c54adb167142383b26ea6b3edecc3211822a776) to /tmp/pip-install-gya5nr9y/django-require_15c76e4e012b4582a1f6724244d0a3c4
22.79   Running command git clone --filter=blob:none --quiet https://github.com/edx/django-require.git /tmp/pip-install-gya5nr9y/django-require_15c76e4e012b4582a1f6724244d0a3c4
23.08   Running command git rev-parse -q --verify 'sha^0c54adb167142383b26ea6b3edecc3211822a776'
23.08   Running command git fetch -q https://github.com/edx/django-require.git 0c54adb167142383b26ea6b3edecc3211822a776
23.21   fatal: remote error: upload-pack: not our ref 0c54adb167142383b26ea6b3edecc3211822a776
23.21   fatal: the remote end hung up unexpectedly
23.21   error: subprocess-exited-with-error
23.21   
23.21   × git fetch -q https://github.com/edx/django-require.git 0c54adb167142383b26ea6b3edecc3211822a776 did not run successfully.
23.21   │ exit code: 128
23.21   ╰─> See above for output.
23.21   
23.21   note: This error originates from a subprocess, and is likely not a problem with pip.
23.22 error: subprocess-exited-with-error
23.22 
23.22 × git fetch -q https://github.com/edx/django-require.git 0c54adb167142383b26ea6b3edecc3211822a776 did not run successfully.
23.22 │ exit code: 128
23.22 ╰─> See above for output.
23.22 
23.22 note: This error originates from a subprocess, and is likely not a problem with pip.
23.22 WARNING: You are using pip version 22.0.4; however, version 24.0 is available.
23.22 You should consider upgrading via the '/openedx/venv/bin/python -m pip install --upgrade pip' command.
------
Dockerfile:100
--------------------
  98 |     
  99 |     # Install base requirements
 100 | >>> RUN pip install -r ./requirements/edx/base.txt
 101 |     
 102 |     # Install django-redis for using redis as a django cache
--------------------
ERROR: failed to solve: process "/bin/sh -c pip install -r ./requirements/edx/base.txt" did not complete successfully: exit code: 1
Error: Command failed with status 1: docker build -t docker.io/overhangio/openedx:14.2.5 /home/ubuntu/.local/share/tutor/env/build/openedx

This issue is because some repos were moved from the edX · GitHub org to Open edX · GitHub. See this topic: Please update your git URLs for edx-platform and several other repos

OK, I’m going to make this as the solution even though I can’t test it now because I upgraded from Nutmeg to Palm

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